POST api/TripData/ScheduledTrip_CloseTrip

Request Information

URI Parameters

None.

Body Parameters

Trip_Close_Input
NameDescriptionTypeAdditional information
DEPT_ID

integer

None.

User_ID

integer

None.

Vehicle_ID

integer

None.

Trip_ID

integer

None.

Odometer

decimal number

None.

latitude

decimal number

None.

longitude

decimal number

None.

Device_Regn_ID

string

None.

IMEI_Number

string

None.

Os_Version

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DEPT_ID": 1,
  "User_ID": 2,
  "Vehicle_ID": 3,
  "Trip_ID": 4,
  "Odometer": 5.0,
  "latitude": 6.1,
  "longitude": 7.1,
  "Device_Regn_ID": "sample string 8",
  "IMEI_Number": "sample string 9",
  "Os_Version": "sample string 10"
}

multipart/form-data

Sample:
{"DEPT_ID":1,"User_ID":2,"Vehicle_ID":3,"Trip_ID":4,"Odometer":5.0,"latitude":6.1,"longitude":7.1,"Device_Regn_ID":"sample string 8","IMEI_Number":"sample string 9","Os_Version":"sample string 10"}

application/xml, text/xml

Sample:
<Trip_Close_Input xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <DEPT_ID>1</DEPT_ID>
  <User_ID>2</User_ID>
  <Vehicle_ID>3</Vehicle_ID>
  <Trip_ID>4</Trip_ID>
  <Odometer>5</Odometer>
  <latitude>6.1</latitude>
  <longitude>7.1</longitude>
  <Device_Regn_ID>sample string 8</Device_Regn_ID>
  <IMEI_Number>sample string 9</IMEI_Number>
  <Os_Version>sample string 10</Os_Version>
</Trip_Close_Input>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.