| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FacilityId | query | int | No | |
| BookingUserId | query | int | No | |
| RequestedSlots | query | List<SlotData> | No | |
| RemindStart | query | bool | No | |
| Remind30Mins | query | bool | No | |
| Remind1Hour | query | bool | No | |
| Remind6Hours | query | bool | No | |
| Remind12Hours | query | bool | No | |
| Remind1Day | query | bool | No | |
| Remind1Week | query | bool | No | |
| GuestData | query | GuestData | No | |
| UtcOffset | query | int | No | |
| ExtraRequirements | query | string | 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 | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Start | form | string | No | |
| End | form | string | No | |
| Status | form | SlotStatus | No | |
| BookingId | form | int | No | |
| RemindStart | form | bool | No | |
| Remind30Mins | form | bool | No | |
| Remind1Hour | form | bool | No | |
| Remind6Hours | form | bool | No | |
| Remind12Hours | form | bool | No | |
| Remind1Day | form | bool | No | |
| Remind1Week | form | bool | No | |
| BillableAmount | form | decimal | No | |
| BookedByName | form | string | No | |
| BillableHours | form | double | No | |
| SlotLength | form | double | No | |
| UserData | form | GuestData | No | |
| ExtraRequirements | form | string | No |
| Name | Value | |
|---|---|---|
| Available | 0 | |
| Closed | 1 | |
| Booked | 2 | |
| UserBooked | 3 | |
| GroupBooked | 4 | |
| ToBook | 5 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Name | form | string | No | |
| EmailAddress | form | string | No | |
| MobileNumber | form | string | No | |
| UserCustomFields | form | List<UserCustomFieldData> | No | |
| IsAlreadyUser | form | bool | No | |
| SystemUserId | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | Guid | No | |
| Value | form | string | No | |
| Name | form | string | No | |
| Optional | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ReloadSchedule | form | bool | 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/MakeBooking HTTP/1.1
Host: reservation.api.dev.86degrees.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
facilityId: 0,
bookingUserId: 0,
requestedSlots:
[
{
start: String,
end: String,
status: 0,
bookingId: 0,
remindStart: False,
remind30Mins: False,
remind1Hour: False,
remind6Hours: False,
remind12Hours: False,
remind1Day: False,
remind1Week: False,
billableAmount: 0,
bookedByName: String,
billableHours: 0,
slotLength: 0,
extraRequirements: String
}
],
remindStart: False,
remind30Mins: False,
remind1Hour: False,
remind6Hours: False,
remind12Hours: False,
remind1Day: False,
remind1Week: False,
utcOffset: 0,
extraRequirements: String,
apiKey: String,
latitude: 0,
longitude: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
reloadSchedule: False,
description: String,
heading: String,
wasSuccessful: False,
modelState: {}
}