Returns a list of valid workflows - for the optional move stage feature
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | tspending.json | |
General | Yes | Parameters described in overview | see overview | Structure of an API call |
Company | Yes | The company number | company=1 | |
Action | Yes | The action to perform | action=workflowtypelist | |
Job | No | Job number | job=1/00008306 | |
Job Phase | No | Job phase number | jobphase=1/00008306.001 |
Example request:
http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.9&action=workflowtypelist&company=1
Example response:
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 37,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"synapiversion": 3.8,
"data": [
{
"stagetypeCode": "537#",
"stagetypeDescription": "Blue",
"stagetypeSelected": false
},
{
"stagetypeCode": "552#",
"stagetypeDescription": "Brochures",
"stagetypeSelected": false
},