Approves, processes and posts multiple expense sheets, provided that the user has the correct permissions to do so.
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 |
Action | Yes | The action to perform | action=expensesheetsall | |
Identifier | Yes | Expense sheet ID or UUID | expensesheet=[1234,1235] |
Example request:
http://<SERVER>/jsonapi/expensesheets.json?user=user&password=user&version=3.9&action=expensesheetsall&expensesheet=[1234,1235]
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "2 of 2 expense sheets approved, processed and posted.",
"warningmessage": "",
"success": true
}