Copy expense line
Parameter | Description | Examples |
---|---|---|
API | The API area | expenselines.json |
Action | Open Attachments | &action=expenselinecopy |
General | Parameters described in overview | user=user&password=user&version=3.3 |
<input mandatory>company: | Company ID | &company=1 |
<input mandatory>expenseline: | Expense Line ID | &expenseline=1234 |
OR | ||
<input mandatory>UUID: | Expense Line UUID | &uuid=1234 |
Example request:
Request to copy expense line
http://<SERVER>/jsonAPI/expenselines.json?user=user&password=user&version=3.3&action=expenselinecopy&company=1&expenseline=3404
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "Expense line 3468 created.",
"warningmessage": "",
"success": true,
"data": [
{
"expenselineSheetInternal": 1822,
"expenselineInternal": 3468,
"expenselineUuid": "832036984DD46B4DAA2F9A5C9B753A21"
}
]
}