Returns a selection of valid stages for expenses based on a small list model.
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | expenselines.json | |
General | Yes | Parameters described in overview | user=user&password=user | Structure of an API call |
Company | Yes | The company number | company=1 | |
Action | Yes | The action to perform | action=stageslist | |
Jobphase | Yes | The Jobphase ID | jobphase=1/00SCP974.001 |
The action can also be called 'workflowslist'.
Example request:
http://<SERVER>/jsonAPI/expenselines.json?user=user&password=user&version=3.9&company=1&action=stageslist&jobphase=1/00SCP974.001
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 4,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"stageUuid": "D1C4A46A4ED9EF459BB15F1E8CF4B542",
"stageTimeStampModified": 1524652924,
"stageRecordVersionNumber": 1,
"stageCustomField284": "",
"stageCustomField293": false,
"stageCustomField294": "",
"stageCustomField295": "0000-00-00",
"stageCode": "1/W0000000983",
"stageDescription": "Concept Refinements",
"stageSequence": 4,
"stageJobNumber": "1/00SCP974",
"stageJobAndPhase": "1/00SCP974.001"
},
{
"stageUuid": "5FF45215CB72B141851770CCA9F95292",
"stageTimeStampModified": 1524652924,
"stageRecordVersionNumber": 1,
"stageCustomField284": "",
"stageCustomField293": false,
"stageCustomField294": "",
"stageCustomField295": "0000-00-00",
"stageCode": "1/W0000000982",
"stageDescription": "Concept production",
"stageSequence": 3,
"stageJobNumber": "1/00SCP974",
"stageJobAndPhase": "1/00SCP974.001"
},
{
"stageUuid": "1896DE9C2C223146856DB9A02390D775",
"stageTimeStampModified": 1524652923,
"stageRecordVersionNumber": 1,
"stageCustomField284": "",
"stageCustomField293": false,
"stageCustomField294": "",
"stageCustomField295": "0000-00-00",
"stageCode": "1/W0000000981",
"stageDescription": "Concept Design",
"stageSequence": 2,
"stageJobNumber": "1/00SCP974",
"stageJobAndPhase": "1/00SCP974.001"
},
{
"stageUuid": "75C825E30BD6E0469881458505E369E4",
"stageTimeStampModified": 1524653823,
"stageRecordVersionNumber": 2,
"stageCustomField284": "",
"stageCustomField293": false,
"stageCustomField294": "",
"stageCustomField295": "0000-00-00",
"stageCode": "1/W0000000980",
"stageDescription": "Concept Approval",
"stageSequence": 1,
"stageJobNumber": "1/00SCP974",
"stageJobAndPhase": "1/00SCP974.001"
}
]
}