Reservation Station API

<back to all web services

LeaveVenue

Requires Authentication
The following routes are available for this service:
DELETE/venue/leave
LeaveVenue Parameters:
NameParameterData TypeRequiredDescription
VenueIdqueryintNo
ApiServiceRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringYesThe API Key required for authentication
LatitudeformdoubleNoLatitude of the user making this request
LongitudeformdoubleNoLongitude of the user making this request
LeaveVenueResponse Parameters:
NameParameterData TypeRequiredDescription
VenuesformList<VenueData>No
VenueCustomFieldsformList<VenueCustomField>No
ApiServiceResponse Parameters:
NameParameterData TypeRequiredDescription
DescriptionformstringNo
HeadingformstringNo
WasSuccessfulformboolNo
ModelStateformObjectNo
VenueData Parameters:
NameParameterData TypeRequiredDescription
VenueIdformintNo
NameformstringNo
RegisteredDateformstringNo
VenueCodeformstringNo
IsCoordinatorformboolNo
FacilitiesformList<FacilityData>No
LatitudeformdoubleNo
LongitudeformdoubleNo
HasLocationformboolNo
LogoUrlformstringNo
LeadTimeformintNo
VenueInfoformstringNo
AllowGuestsformboolNo
ContactNumberformstringNo
FacilityData Parameters:
NameParameterData TypeRequiredDescription
FacilityIdformintNo
FacilityGuidformstringNo
NameformstringNo
DescriptionformstringNo
NextAvailableformstringNo
HasNextAvailableformboolNo
RatesformList<RatesItem>No
ThemeColorformstringNo
BookingNotesformstringNo
LeadTimeformintNo
VenueIdformintNo
AllowExtraRequirementsformboolNo
RatesItem Parameters:
NameParameterData TypeRequiredDescription
RateformdecimalNo
MinutesformintNo
VenueCustomField Parameters:
NameParameterData TypeRequiredDescription
VenueNameformstringNo
VenueIdformintNo
FieldsformList<UserCustomFieldData>No
UserCustomFieldData Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
ValueformstringNo
NameformstringNo
OptionalformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

DELETE /venue/leave HTTP/1.1 
Host: reservation.api.dev.86degrees.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	venues: 
	[
		{
			
		}
	],
	venueCustomFields: 
	[
		{
			venueName: String,
			venueId: 0,
			fields: 
			[
				{
					id: 00000000-0000-0000-0000-000000000000,
					value: String,
					name: String,
					optional: False
				}
			]
		}
	],
	description: String,
	heading: String,
	wasSuccessful: False,
	modelState: {}
}