Project Status

GET api/v2/Organisation/{Slug}/ProjectStatus

Description: Return a list of the all the available project statuses Example: https://api.totalsynergy.com/api/v2/Organisation/testOrg/ProjectStatus?ActiveId=1
Optional Parameters:
ActiveId Show active, non active or all (default) records
  • 0:Not active
  • 1:Active
  • 2:All
Search Return records that contain the search term in the name field
Response:

{
  "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"
        }
  ]
}
                        

Try it out

Loading...
200
        {Response body}
			
Method
GET
Request Headers
'Content-Type': 'application/json' token
URL
http://some url here.com

Update Project Status

POST api/v2/Organisation/{Slug}/ProjectStatus/Update

Description: Updates the status of project Example: https://api.totalsynergy.com/api/v2/Organisation/testOrg/ProjectStatus/Update
Required Parameters:
ProjectId Project Id
NewStatusId Status id of project
Optional Parameters:
StageIds Stage ids
Example Request:

    {    
    "projectId":4,
    "newStatusId":132,
    "stageIds":[]
    }
Response:
    
    {
    "success": true,
    "projectResults": null,
    "stageResults": [],
    "project": {
    "id": 48,
    "type": "PROJECT",
    "statusId": 132,
    "statusTypeId": 50,
    "statusName": "Bid unsuccessful"
    },
    "stages": []
    }