Resubmits an expense line.
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=expenselineresubmit | |
Identifier | Yes | Expense line ID or UUID | expenseline=3462 | |
ResubmitReason | No | Reason for resubmission | resubmitreason=resubmitreason |
Example request:
http://<SERVER>/jsonAPI/expenselines.json?user=user&password=user&version=3.9&company=1&action=expenselineresubmit&expenseline=3462&resubmitreason=resubmitreason
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "Expense line re-submitted.",
"warningmessage": "",
"success": true,
"data": [
{
"expensesheetInternalRef": 1824,
"expensesheetUuid": "A500CC58C6D2C741A3B02674BE2B3576"
}
]
}