Requests to display expense sheet defaults.
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 |
Action | Yes | The action to perform | action=expenselinedefaults | |
Identifier | Yes | Expense sheet ID or UUID | expensesheet=1234 |
Example request:
http://<SERVER>/jsonapi/expensesheets.json?user=user&password=user&version=3.9&action=expenselinedefaults&expensesheet=1234
1
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "Expense sheet 1234 line defaults.",
"warningmessage": "",
"success": true,
"data": [
{
"expenselineSupplyType": "",
"expenselineRate": 0,
"expenselineTaxCode": 0,
"expenselineCurrencyCode" : "1/EUR",
"expenselineExchangeRate" : 1.2,
"expenselineCurrencyRate" : 0,
"expenselineSheetInternal": 1234,
"expenselines_sheetunitcurrencycost" : 0
}
]
}