https://api.totalsynergy.com/api/v2/Organisation/testOrg/ProjectStatus?ActiveId=1
ActiveId |
Show active, non active or all (default) records
|
Search | Return records that contain the search term in the name field |
{
"currentPage": 1,
"pageSize": 2,
"totalItems": 2,
"items": [
{
"id": 55,
"organisationId": 3,
"name": "Proposal",
"statusTypeId": 10,
"statusType": "Proposal",
"successFactor": 30,
"isActive": true,
"isDefault": true,
"groupId": 10,
"group": "Proposal"
}
]
}
https://api.totalsynergy.com/api/v2/Organisation/testOrg/ProjectStatus/Update
ProjectId | Project Id |
NewStatusId | Status id of project |
StageIds | Stage ids |
{
"projectId":4,
"newStatusId":132,
"stageIds":[]
}
Response:
{
"success": true,
"projectResults": null,
"stageResults": [],
"project": {
"id": 48,
"type": "PROJECT",
"statusId": 132,
"statusTypeId": 50,
"statusName": "Bid unsuccessful"
},
"stages": []
}