Checks if an expense line can be submitted.
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=expenselinesubmittable | |
Identifier | Yes | Expense line ID or UUID | expenseline=3404 |
Example request:
http://<SERVER>/jsonAPI/expenselines.json?user=user&password=user&version=3.9&company=1&action=expenselinesubmittable&expenseline=3404
Example response:
{
"errorcode": 404500,
"errormessage": "Expense line can not be set to submitted.",
"errorresponse": "",
"success": false
}