Return the list of workflows
Workflow List
Return the list of workflows
Parameter | Description | Examples |
---|---|---|
API | The API area | tspending.json |
Action | Workflow List | &action=workflowslist |
General | Parameters described in overview | user=user&password=user&version=3.3 |
Company | The company context | &company=1 |
<input optional>resource: | User Code | &resource=1/ME |
<input optional>page | No. of Pages | &page=1 |
<input optional>rows | No. of Records | &rows=10 |
<input optional>client | Client ID | &client=1/CL |
<input optional>job | Job Number | &job=1/00001234 |
<input optional>jobphase | Job Phase Number | &jobphase=1/00001234.001 |
<input optional>workflow | Workflow Description | &workflow=My Workflow |
<input optional>taskdesc | No. of Pages | &taskdesc=My Task |
<input optional>phasetype | Type of Phase | &phasetype=1/MAT |
<input optional>activitytype | Activity Type | &activitytype=XYZ |
<input optional>search | Search Criteria | &search=ford |
Example request:
Request workflow list
http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.3&action=workflowslist&company=1
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 571,
"totalpages": 286,
"responsemessage": "",
"pagerows": 2,
"pagenumber": 1,
"success": true,
"data": [
{
"stageUuid": "E42A04CE8DE549448ECFEAE7469EAAA5",
"stageTimeStampModified": 1474279302,
"stageRecordVersionNumber": 18,
"stageCustomField284": "",
"stageCustomField293": false,
"stageCustomField294": "",
"stageCustomField295": "0000-00-00",
"stageCode": "1/00088468.109",
"stageDescription": "Feedback administration",
"stageSequence": 109,
"stageJobNumber": "1/00088468",
"stageJobAndPhase": "1/00088468.013"
},
{
"stageUuid": "145F1437DBBA904685775EE1B3E5C3EB",
"stageTimeStampModified": 1474279302,
"stageRecordVersionNumber": 18,
"stageCustomField284": "",
"stageCustomField293": false,
"stageCustomField294": "",
"stageCustomField295": "0000-00-00",
"stageCode": "1/00088468.108",
"stageDescription": "M3.0 - Client debriefing",
"stageSequence": 108,
"stageJobNumber": "1/00088468",
"stageJobAndPhase": "1/00088468.013"
}
]
}