Online Docs

Update Phase

1
2
3
4
5
PATCH odata/phase({phase-id})
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]
--data {PhaseObject}

URL Endpoint

odata/phase({phase-id})

Method

PATCH.

Parameters

Do not supply OData Filter syntax.

Request Header

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

Example

1
2
3
4
curl --location --request PATCH 'https://teams.appvity.com/odata/phase(5f62da4c4d596392f54d2210)' \
--header 'x-appvity-channelId: 19:15c258785b4040699180e7a8ad6c6014@thread.tacv2' \
--header 'x-appvity-teamid: 19:15c258785b4040699180e7a8ad6c6014@thread.tacv2' \
--header 'Cookie: graphNodeCookie=s%3AZGGfQCb5SDtfLhLJQayOIVfPHBicZOOQ.viAqFkF9B%2FOUv0h7bPpnsMQnAn1YmMt4H7cZ1zflPkw'\

Body

Phase Object includes the following properties:

1
2
3
4
5
6
7
{
"name": "[PhaseName]",
"startDate": "[StartDate]",
"endDate": "[DueDate]",
"status": "",
"primary": false
}

Example

1
2
3
4
5
6
7
8
{
"name": "Phase Update",
"startDate": "2020-08-31T17:00:00Z",
"endDate": "2020-09-30T16:59:59Z",
"status": "Active",
"primary": false,
"_id": "5f62da4c4d596392f54d2210"
}

Response

Code: 204 No Content.

Comment

Was this article helpful?
Thanks For Your Feedback