Copies an expense sheet.
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 |
Company | Yes | The company number | company=1 | |
Action | Yes | The action to perform | action=expensesheetcopy | |
Identifier | Yes | Expense sheet ID or UUID | expensesheet=1791 |
Example request:
http://<SERVER>/jsonapi/expensesheets.json?user=user&password=user&version=3.9&company=1&action=expensesheetcopy&expensesheet=1791
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "Expense sheet 1791 copied to 1815.",
"warningmessage": "",
"success": true,
"data": [
{
"expensesheetInternalRef": 1815,
"expensesheetUuid": "A501A22A052E104B8912EB9F73544169"
}
]
}