Create Mileage

Creates a vehicle mileage entry for a specified inspector on a particular date.

Resource Information

Scopemileage

Deprecated scope name:   create_mileage

App TypeAgency
Authorization TypeAccess token
URI /v4/mileage
HTTP MethodPOST
Automation Version(s)7.3.3

Request Information

Field or ParameterTypeRequiredValuesDescriptionAutomation Version
datedateTimeNo The date on which the mileage is travelled.7.3.3
enddoubleNo The ending mileage on the inspector's odometer reading.7.3.3
inspectorIdstringNo Get All Inspectors The ID number of the inspector.7.3.3
startdoubleNo The starting mileage on the inspector's odometer reading.7.3.3
vehicleIdvehicleId{}No A number, such as the license plate number or VIN, that identifies the vehicle used to complete an inspection.7.3.3
vehicleId.textstringNo The localized display text.7.3.2
vehicleId.valuestringNo The value for the specified parameter.7.3.2
langStringNo Indicates the language applied.7.3.2

Response Information

FieldTypeDescriptionAutomation Version
resultresult{} 7.3.2
result.codestringA code identifying an associated item7.3.2
result.idstringThe unique identifier for the object, assigned by the Civic Platform server and provided in a response.7.3.2
result.isSuccessbooleanIndicates whether or not the operation on the item is successful. 7.3.2
result.messagestringA text message related to the operation.7.3.2
statusintegerThe record status.7.3.3