Returns a list of expense sheet statuses.
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | expensesheets.json | |
General | Yes | Parameters described in overview | user=user&password=user&version=3.9 | Overview |
Company | Yes | The company number | company=1 | |
Action | Yes | The action to perform | action=expensesheetstatuses |
Example request:
http://<SERVER>/jsonapi/expensesheets.json?user=user&password=user&version=3.9&company=1&action=expensesheetstatuses
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 6,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"expensesheetSheetStatus": "",
"expensesheetSheetStatusDesc": "- All -",
"variable_selected": false
},
{
"expensesheetSheetStatus": "W",
"expensesheetSheetStatusDesc": "Unsubmitted",
"variable_selected": false
},
{
"expensesheetSheetStatus": "S",
"expensesheetSheetStatusDesc": "Submitted",
"variable_selected": false
},
{
"expensesheetSheetStatus": "A",
"expensesheetSheetStatusDesc": "Processed",
"variable_selected": false
},
{
"expensesheetSheetStatus": "P",
"expensesheetSheetStatusDesc": "Posted",
"variable_selected": false
},
{
"expensesheetSheetStatus": "T",
"expensesheetSheetStatusDesc": "Returned",
"variable_selected": false
}
]
}