POST api/Mobile/UpdateDepartToAirport
Update information for Depart to Airport Task (DEPTOAP).
Request Information
URI Parameters
None.
Body Parameters
TaskDepartToAirportParmMobileName | Description | Type | Additional information |
---|---|---|---|
UserGUID |
Unique user global identifier |
string |
None. |
EntityGUID |
Unique system assigned entity identifier |
string |
None. |
EntityType |
Type of entity |
string |
None. |
Comment |
Notes reguarding task |
string |
None. |
LocationData |
Geolocation provided at time task is completed |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserGUID": "sample string 1", "EntityGUID": "sample string 2", "EntityType": "sample string 3", "Comment": "sample string 4", "LocationData": "sample string 5" }
application/xml, text/xml
Sample:
<TaskDepartToAirportParmMobile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Transportation.Models.Mobile"> <Comment>sample string 4</Comment> <EntityGUID>sample string 2</EntityGUID> <EntityType>sample string 3</EntityType> <LocationData>sample string 5</LocationData> <UserGUID>sample string 1</UserGUID> </TaskDepartToAirportParmMobile>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TaskUpdateResponseName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful |
Task update was successful (true) or failure (false) |
boolean |
None. |
ErrorMessage |
Error message if failure |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "ErrorMessage": "sample string 2" }
application/xml, text/xml
Sample:
<TaskUpdateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Transportation.Models.Mobile"> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessful>true</IsSuccessful> </TaskUpdateResponse>