Resubmit expense line
NB: Expense Sheet must be processed and the Expense Line must be queried before it can be resubmitted
| Parameter | Description | Examples |
|---|---|---|
| API | The API area | expenselines.json |
| Action | Re-Submit | &action=expenselineresubmit |
| Parameters described in overview | user=user&password=user&version=3.3 | |
| company: | Company ID | &company=1 |
| expenseline: | Expense Line ID | &expenseline=1234 |
| OR | ||
| UUID: | Expense Line UUID | &uuid=1234 |
| resubmitreason: | Reason for resubmit | &resubmitreason=rejectedreason |
Example request:
Request to resubmit expense line
http://<SERVER>/jsonAPI/expenselines.json?user=user&password=user&version=3.3&action=expenselineresubmit&company=1&expenseline=3466&resubmitreason=resubmitreason
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "Expense line re-submitted.",
"warningmessage": "",
"success": true,
"data": [
{
"expensesheetInternalRef": 1824,
"expensesheetUuid": "A500CC58C6D2C741A3B02674BE2B3576"
}
]
}