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=phaseslist |
Example request:
http://<SERVER>/jsonAPI/expenselines.json?user=user&password=user&version=3.9&company=1&action=phaseslist
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 2667,
"totalpages": 1334,
"responsemessage": "",
"pagerows": 2,
"pagenumber": 1,
"success": true,
"data": [
{
"phaseuuid": "DCFA24E298454AD3AB38E0D1BC651F65",
"phaseTimeStampModified": 1513252086,
"phaseRecordVersionNumber": 90,
"phasePhaseDescription1stLine": "Print",
"phaseJobDescription1stLine": "News-letter re-design",
"phaseJobAndPhase": "1/00000522.005",
"phasePhase": "005",
"phaseDisplayOrder": "",
"phaseJobNumberSimple": "522"
},
{
"phaseuuid": "41A35CD8F19E42AC814C5AAE87A68938",
"phaseTimeStampModified": 1489080066,
"phaseRecordVersionNumber": 50,
"phasePhaseDescription1stLine": "Production",
"phaseJobDescription1stLine": "News-letter re-design",
"phaseJobAndPhase": "1/00000522.008",
"phasePhase": "008",
"phaseDisplayOrder": "",
"phaseJobNumberSimple": "522"
}
]
}