Online Docs

Connect phase and story

Creates a connection between the specified phase and story in a channel.

1
2
3
4
5
POST odata/phaseStoryLink
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]
--data-raw:{ "phaseId": [PhaseID], "storyId": [StoryID], "primary": [false/true] }

URL Endpoint

odata/phaseStoryLink

Method

POST.

Parameters

Do not supply OData Filter to help customize the response.

Request

Header

1
2
3
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]

Body

In the request body, phaseId and storyId are need to required. By default, primary is false

1
2
3
4
5
{
"phaseId": "[PhaseID]",
"storyId": "[StoryID]",
"primary": false
}

Response

If successful, this method returns a 200 OK response code and the list of priorities object in the response body.

Example

Request

Response

1
2
3
4
5
6
7
8
9
10
{
"@odata.context": "https://schema.appvity.com/odata/$metadata#phaseStoryLink/$entity",
"@odata.editLink": "https://schema.appvity.com/odata/phaseStoryLink('5f6c66ae4d596392f58d596a')",
"@odata.id": "https://schema.appvity.com/odata/phaseStoryLink('5f6c66ae4d596392f58d596a')",
"phaseId": "5f6abd294d596392f577a3ef",
"storyId": "5f55aaa47d42fa0d97a2d7b0",
"createdAt": "2020-09-24T09:28:14.991Z",
"updatedAt": "2020-09-24T09:28:14.992Z",
"_id": "5f6c66ae4d596392f58d596a"
}

Comment

Was this article helpful?
Thanks For Your Feedback