POST Booking/GetPlaces

List all places

Request Information

URI Parameters

None.

Body Parameters

RequestGetPlaces
NameDescriptionTypeAdditional information
ArrangerID

0 returns all

integer

None.

IncludeDeleted

true returns deleted places as well as non-deleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ArrangerID": 1,
  "IncludeDeleted": true
}

text/html

Sample:
{"ArrangerID":1,"IncludeDeleted":true}

application/xml, text/xml

Sample:
<RequestGetPlaces xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YourTicketBrandingAPI">
  <ArrangerID>1</ArrangerID>
  <IncludeDeleted>true</IncludeDeleted>
</RequestGetPlaces>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RequestGetPlaces'.

Response Information

Resource Description

Collection of BookingPlaces
NameDescriptionTypeAdditional information
ID

integer

None.

DateCreated

date

None.

Latitude

string

None.

Longitude

string

None.

OID

string

None.

FacilityType

string

None.

FacilityTypeID

integer

None.

ArrangerID

integer

None.

Deleted

boolean

None.

DateUpdated

date

None.

Title

string

None.

ShortDescription

string

None.

Description

string

None.

Images

BookingPlacesImages

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Error getting value from 'Place_Images_Single_List' on 'DBModels.BookingPlaces'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Error getting value from 'Place_Images_Single_List' on 'DBModels.BookingPlaces'.

text/html

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/html'. Exception message: Error getting value from 'Place_Images_Single_List' on 'DBModels.BookingPlaces'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: No set method for property 'Place_Images_Single_List' in type 'DBModels.BookingPlaces'.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: No set method for property 'Place_Images_Single_List' in type 'DBModels.BookingPlaces'.