POST api/v1/drivingscore/trip
Request Information
URI Parameters
None.
Body Parameters
DrivingScoreRequestName | Description | Type | Additional information |
---|---|---|---|
TripId | string |
Required String length: inclusive between 28 and 28 |
|
StartDT | string |
Required |
|
EndDT | string |
Required |
|
VinNo | string |
Required String length: inclusive between 0 and 30 |
|
TripScore | integer |
Range: inclusive between 0 and 100 |
|
Mileage | integer |
None. |
|
StarMarksAcc | integer |
Range: inclusive between 1 and 5 |
|
StarMarksBra | integer |
Range: inclusive between 1 and 5 |
|
StarMarksCor | integer |
Range: inclusive between 1 and 5 |
Request Formats
application/json, text/json
Sample:
{ "TripId": "sample string 1", "StartDT": "sample string 2", "EndDT": "sample string 3", "VinNo": "sample string 4", "TripScore": 1, "Mileage": 1, "StarMarksAcc": 1, "StarMarksBra": 1, "StarMarksCor": 1 }
application/xml, text/xml
Sample:
<DrivingScoreRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LDCM.MyServices.Models"> <EndDate>sample string 3</EndDate> <Mileage>1</Mileage> <StarMarkAccelerator>1</StarMarkAccelerator> <StarMarkBrake>1</StarMarkBrake> <StarMarkCornering>1</StarMarkCornering> <StartDate>sample string 2</StartDate> <TripId>sample string 1</TripId> <TripScore>1</TripScore> <Vin>sample string 4</Vin> </DrivingScoreRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.