| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BookingType | query | BookingType | No | |
| PassengerCount | query | int | No | |
| BookingDate | query | string | No | |
| ContactName | query | string | No | |
| ContactNumber | query | string | No | |
| PickupLocation | query | BookingLocation | No | |
| DropoffLocation | query | BookingLocation | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ApiKey | form | string | Yes | The API Key required for authentication |
| Latitude | form | double | No | Latitude of the user making this request |
| Longitude | form | double | No | Longitude of the user making this request |
| Name | Value | |
|---|---|---|
| TakeMeHome | 1 | |
| PickMeUp | 2 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Latitude | form | double | No | |
| Longitude | form | double | No | |
| Address | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Description | form | string | No | |
| Heading | form | string | No | |
| WasSuccessful | form | bool | No | |
| ModelState | form | Object | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/PickMeUpBooking HTTP/1.1
Host: galaxymobile.api.dev.86degrees.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
BookingType: 1,
PassengerCount: 0,
BookingDate: String,
ContactName: String,
ContactNumber: String,
PickupLocation:
{
Latitude: 0,
Longitude: 0,
Address: String
},
DropoffLocation:
{
Latitude: 0,
Longitude: 0,
Address: String
},
ApiKey: String,
Latitude: 0,
Longitude: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Description: String,
Heading: String,
WasSuccessful: False,
ModelState: {}
}