Creates a vehicle mileage entry for a specified inspector on a particular date.
Scope | mileage Deprecated scope name: create_mileage |
App Type | Agency |
Authorization Type | Access token |
URI | /v4/mileage |
HTTP Method | POST |
Automation Version(s) | 7.3.3 |
Field or Parameter | Type | Required | Values | Description | Automation Version |
---|---|---|---|---|---|
date | dateTime | No | � | The date on which the mileage is travelled. | 7.3.3 |
end | double | No | � | The ending mileage on the inspector's odometer reading. | 7.3.3 |
inspectorId | string | No | Get All Inspectors | The ID number of the inspector. | 7.3.3 |
start | double | No | � | The starting mileage on the inspector's odometer reading. | 7.3.3 |
vehicleId | vehicleId{} | No | � | A number, such as the license plate number or VIN, that identifies the vehicle used to complete an inspection. | 7.3.3 |
vehicleId.text | string | No | � | The localized display text. | 7.3.2 |
vehicleId.value | string | No | � | The value for the specified parameter. | 7.3.2 |
lang | String | No | � | Indicates the language applied. | 7.3.2 |
Field | Type | Description | Automation Version |
---|---|---|---|
result | result{} | � | 7.3.2 |
result.code | string | A code identifying an associated item | 7.3.2 |
result.id | string | The unique identifier for the object, assigned by the Civic Platform server and provided in a response. | 7.3.2 |
result.isSuccess | boolean | Indicates whether or not the operation on the item is successful. | 7.3.2 |
result.message | string | A text message related to the operation. | 7.3.2 |
status | integer | The record status. | 7.3.3 |