expenselinesubmittable
Parameter | Type | I/O | Description |
---|---|---|---|
<General> | IN | Parameters described in Overview | |
Company | String | IN | The users default company number for the companies list |
Action | String | IN | Identifier for the list requested |
Input | String | IN | Expense line internal number |
Response | XML / JSON | OUT | An XML tree / JSON string containing the success or error response |
Description
Calling the expenses API with an action of expenselinesubmittable retrieves a response. Changes the status of a previously submitted line to be status "submitted" – subject to access rights. (approver level)
Return Values
Response – Success or error response.
The structure of the response is:
<Responses>
<Success>
<SuccessText>Expense line set to submitted.</SuccessText>
</Success>
</Responses>
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 1,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"expenselines_uuid": "BB8C503F8219194EB44DA1CECF142FED",
"expenselines_expenselineinternal": 1364
}
]
}