Stages List
| Parameter | Mandatory | Description | Examples | More Info |
|---|---|---|---|---|
| API | Yes | The API area | stages.json | |
| General | Yes | Parameters described in overview | see overview | Structure of an API call |
| Company | Yes | The company number | company=1 |
Example request (OAuth 2.0):
Authorization: Bearer <access_token>
http://<SERVER>/jsonapi/stages.json?&version=6&company=1
Example request (legacy username/password):
http://<SERVER>/jsonapi/stages.json?&version=6&company=1&user=<username>&password=<password>
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 65,
"totalpages": 33,
"responsemessage": "",
"pagerows": 2,
"pagenumber": 2,
"success": true,
"data": [
{
"stagetypeUuid": "C4E3AAA2B3074A3A937D9142E856D769",
"stagetypeTimestampModified": 1454683125,
"stagetypeRecordVersionNumber": 2,
"stagetypeId": 2,
"stagetypeName": "Approval of Estimate"
},
{
"stagetypeUuid": "E2A1A55D12CB41AEBB3D9A41BBC9D4C1",
"stagetypeTimestampModified": 1385821672,
"stagetypeRecordVersionNumber": 0,
"stagetypeId": 18,
"stagetypeName": "Arwork of Complete Brochure"
}
]
}