Expense - Delete travel details
API Url
Delete 1 or more travel details. The API will verify if it's allowed to delete travel details for other employees.
DELETE
http://localhost:16010/ProMarkREST/rest/Mileage/travel-details/{transSeq}
Permissions: user
Path parameters
| Field | Type | Description |
|---|---|---|
| transSeq | Number | Unique id. |
Query parameters
| Field | Type | Description |
|---|---|---|
includeRelatedoptional | Boolean | Include related registrations. |
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
messageoptional | Object | Object containing response messages. |
| code | Number | Message code. |
| text | String | Message text. |
| type | String | Type of message. "warning""info" |
Success example:
HTTP/1.1 200 OK{"response": {"errorCode": 0,"errorMessage": ""}}
Error 4xx
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| errorCode | Number | Error code. |
| errorMessage | String | Error description. |
Error example:
{"response": {"errorCode": 5,"errorMessage": "Travel details do not exist"}}