| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| VenueId | query | int | 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 |
|---|---|---|---|---|
| Reservations | form | List<VenueReservationData> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Description | form | string | No | |
| Heading | form | string | No | |
| WasSuccessful | form | bool | No | |
| ModelState | form | Object | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DayEnd | form | int | No | |
| DayStart | form | int | No | |
| BookingId | form | int | No | |
| SlotLength | form | int | No | |
| FacilityId | form | int | No | |
| FacilityTimeOffset | form | int | No | |
| CancellationLeadTime | form | int | No | |
| End | form | string | No | |
| Start | form | string | No | |
| UserName | form | string | No | |
| FacilityName | form | string | No | |
| FacilityColour | form | string | No | |
| ReservationStatus | form | string | No | |
| Finished | form | bool | No | |
| BillableHours | form | double | No | |
| BilledAmount | form | decimal | No | |
| UserData | form | GuestData | No | |
| AllowExtraRequirements | form | bool | No | |
| ExtraRequirements | form | string | No |
| 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 |
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/GetVenueReservations HTTP/1.1
Host: reservation.api.dev.86degrees.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
venueId: 0,
apiKey: String,
latitude: 0,
longitude: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
reservations:
[
{
}
],
description: String,
heading: String,
wasSuccessful: False,
modelState: {}
}