Phases List

phaseslist

ParameterType
CompanyString
ActionString
SupplierString
JobString
ResponseXML / JSON

Description

Calling the expenses API with an action of phaseslist retrieves a list of job phases and associated descriptions.

Return Values

Response – List of phases

The structure of the response is:

<phases morepages="False" totalpages="1" totalrows="1">
  <phase jobphase_uuid="DC3BA3A92BA940679CF8324A4A5669EF">
    <jobphase_displayorder/>
    <jobphase_jobandphase>1/00088103.001</jobphase_jobandphase>
    <jobphase_phase>001</jobphase_phase>
    <variable_phasedescription1stline__jobphase_jobandphase>
      Test CC in Days
    </variable_phasedescription1stline__jobphase_jobandphase>
    <variable_jobdescription1stline__jobphase_jobnumber>
      Test CC in Days
    </variable_jobdescription1stline__jobphase_jobnumber>
  </phase>
</phases>
"errormessage": "",
    "responsecode": 1,
    "pagerows": 0,
    "totalrows": 2,
    "responsestatus": "OK",
    "success": true,
    "responsemessage": "",
    "errorcode": 0,
    "totalpages": 1,
    "pagenumber": 1,
    "data": [
        {
            "workflow_workflowdescription": "Stage 1",
            "uuid": "1AA3F80F-5057-4B0F-AE10-8EE9881A09BF",
            "workflow_workflowcode": "1/00000560.006"
        },
        {
            "workflow_workflowdescription": "Stage 2",
            "uuid": "7D712885-AF46-4A2B-B469-2C7966D35168",
            "workflow_workflowcode": "1/00000560.005"
        }
    ]