POST api/PilotMovement/AddCommuterMovement
Request Information
URI Parameters
None.
Body Parameters
CommuterMovement| Name | Description | Type | Additional information |
|---|---|---|---|
| CommuterMovementId | integer |
None. |
|
| Address_to | string |
Required |
|
| PickUP | string |
Required |
|
| to_log | decimal number |
Required |
|
| to_lat | decimal number |
Required |
|
| Departure_time | string |
Required |
|
| UserId | string |
Required |
|
| transactDate | date |
Required |
|
| PickUp_log | decimal number |
Required |
|
| PickUp_lat | decimal number |
Required |
|
| Active | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{
"CommuterMovementId": 1,
"Address_to": "sample string 2",
"PickUP": "sample string 3",
"to_log": 4.1,
"to_lat": 5.1,
"Departure_time": "sample string 6",
"UserId": "sample string 7",
"transactDate": "2025-12-27T09:00:38.5816466+03:00",
"PickUp_log": 9.1,
"PickUp_lat": 10.1,
"Active": true
}
application/xml, text/xml
Sample:
<RideModels.CommuterMovement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UPASSAdmin.Models"> <Active>true</Active> <Address_to>sample string 2</Address_to> <CommuterMovementId>1</CommuterMovementId> <Departure_time>sample string 6</Departure_time> <PickUP>sample string 3</PickUP> <PickUp_lat>10.1</PickUp_lat> <PickUp_log>9.1</PickUp_log> <UserId>sample string 7</UserId> <to_lat>5.1</to_lat> <to_log>4.1</to_log> <transactDate>2025-12-27T09:00:38.5816466+03:00</transactDate> </RideModels.CommuterMovement>
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.