POST api/PilotMovement/AddPilotMovement
Request Information
URI Parameters
None.
Body Parameters
PilotMovement| Name | Description | Type | Additional information |
|---|---|---|---|
| PilotMovementId | integer |
None. |
|
| Address_from | string |
Required |
|
| Address_to | string |
Required |
|
| to_log | decimal number |
Required |
|
| to_lat | decimal number |
Required |
|
| Departure_time | string |
Required |
|
| Landing_time | string |
Required |
|
| UserId | string |
Required |
|
| transactDate | date |
Required |
|
| Seat | integer |
Required |
|
| SeatLeft | integer |
Required |
|
| PickUp_log | decimal number |
Required |
|
| PickUp_lat | decimal number |
Required |
|
| Active | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{
"PilotMovementId": 1,
"Address_from": "sample string 2",
"Address_to": "sample string 3",
"to_log": 4.1,
"to_lat": 5.1,
"Departure_time": "sample string 6",
"Landing_time": "sample string 7",
"UserId": "sample string 8",
"transactDate": "2025-12-27T08:59:15.365824+03:00",
"Seat": 10,
"SeatLeft": 11,
"PickUp_log": 12.1,
"PickUp_lat": 13.1,
"Active": true
}
application/xml, text/xml
Sample:
<RideModels.PilotMovement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UPASSAdmin.Models"> <Active>true</Active> <Address_from>sample string 2</Address_from> <Address_to>sample string 3</Address_to> <Departure_time>sample string 6</Departure_time> <Landing_time>sample string 7</Landing_time> <PickUp_lat>13.1</PickUp_lat> <PickUp_log>12.1</PickUp_log> <PilotMovementId>1</PilotMovementId> <Seat>10</Seat> <SeatLeft>11</SeatLeft> <UserId>sample string 8</UserId> <to_lat>5.1</to_lat> <to_log>4.1</to_log> <transactDate>2025-12-27T08:59:15.365824+03:00</transactDate> </RideModels.PilotMovement>
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.