Expense Sheet Approval
Parameter | Description | Examples |
---|---|---|
API | The API area | expensesheets.json |
Action | Single Sheet Approval | &action=expensesheetapprove |
Action | Multiple Sheet Approval | &action=expensesheetsapprove |
Parameters described in overview | user=user&password=user&version=3.3 | |
Expense ID: | Expense Sheet ID | &expensesheet=1234 |
OR | ||
UUID: | Expense Sheet UUID | &uuid=1234567489 |
Example requests:
Request to approve an expense sheet
http://<SERVER>/jsonapi/expensesheets.json?user=user&password=user&version=3.3&action=expensesheetapprove&uuid=12345678910
Request to approve multiple expense sheets
http://<SERVER>/jsonapi/expensesheets.json?user=user&password=user&version=3.3&action=expensesheetsapprove&expensesheet=[1821,1820]
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "Expense sheet approved.",
"warningmessage": "",
"success": true
}