Skip to main content

Get Status from Source

Retrieve the list of available statuses of a project from source.

eTask supports 4 types of sources, each of which {source} and {source-id} correspond to \_id and source properties in the Get Configured Project endpoint. However, the Bucket of eSource is using a different endpoint.

|                                                                                                                                                                                |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| GET api/fields/task/status/{source-id} or GET api/fields/bug/status/{source-id} --x-appvity-channelId: [ChannelID] --x-appvity-teamid: [TeamID] --Cookie: graphNodeCookie=[ID] |

URL Endpoint

api/fields/task/status/{source-id}

or

api/fields/bug/status/{source-id}

Method

GET.

Parameters

Do not supply OData Filter syntax.

Request Header

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

_Body_

This method does not supply the request body.

Response

If successful, this method returns a 200 OK response code and the list of statuses in source.

Error

Code: 401 UNAUTHORIZED, 500 ERROR EXCEPTION. Content: {error: "error message”}

Example

_Request_

curl --location --request GET
'https://teams.appvity.com/api/fields/task/status/5f602de74d596392f53d4568?t=1601005781556'
\

--header 'x-appvity-channelId:
19:15c258785b4040699180e7a8ad6c6014@thread.tacv2' \

--header 'x-appvity-teamid: 19:15c258785b4040699180e7a8ad6c6014@thread.tacv2' \

--header 'Cookie:
graphNodeCookie=s%3AMpKXEvYTIRehispfYing8S-UZDmeZUac.eiaEBf3drVuQEY3UqTZv7nQ8Qmz4egC2HRzPxbwwmuc'


*Respond*

| ## Planner source## |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ { "id": "PLSTT-NotStarted", "name": "Not started", "percentComplete": 0, "categoty": "" }, { "id": "PLSTT-InProgress", "name": "In progress", "percentComplete": 50, "categoty": "" }, { "id": "PLSTT-Completed", "name": "Completed", "percentComplete": 100, "categoty": "" } ] |