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 |
Action | Yes | The action to perform | action=update | |
Input | Yes | JSON string | See below |
JSON Input | Mandatory | Description | Examples |
---|---|---|---|
Identifier | Yes | Expense sheet ID or UUID | "expenselineInternal":2288 |
Update data | Yes | Data to update on expense sheet | "expenselineTotal":100 |
Example request:
http://<SERVER>/jsonapi/expenselines.json?user=user&password=user&version=3.9&action=update&input={
"data": [
{
"expenselineInternal": 2288,
"expenselineTotal": 100
}
]
}
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "data processed successfully.",
"warningmessage": "",
"success": true
}