POST AddVenue

Request Information

URI Parameters

None.

Body Parameters

VenueDTO
NameDescriptionTypeAdditional information
VenueId

integer

None.

VenueName

string

None.

VenuePhone

string

None.

VenueMobile

string

None.

VenueAddress

string

None.

Latitude

string

None.

Longitude

string

None.

MaxCapacity

integer

None.

NumberOfTables

integer

None.

IsActiveForBooking

boolean

None.

IsOurRestaurants

boolean

None.

IsGuestRequired

boolean

None.

RestaurantDescription

string

None.

RestaurantPhotoPath

string

None.

TablePhotoPath

string

None.

PromoCode

string

None.

NoOfTables

integer

None.

NoOfHighTable

integer

None.

NoOfLounges

integer

None.

NoOfBarSeats

integer

None.

NoOfSunBed

integer

None.

CreatedBy

string

None.

Description

string

None.

MenuUrl

string

None.

IsOpen

boolean

None.

CountryId

integer

None.

VenueEmail

string

None.

LocationUrl

string

None.

HasParking

boolean

None.

ClosureMessage

string

None.

IsSevenRooms

boolean

None.

SevenRoomsURL

string

None.

ImageBase64

string

None.

LayoutImageBase64

string

None.

MasterImageBase64

string

None.

TableImageBase64

string

None.

LogoImageBase64

string

None.

Request Formats

application/json, text/json

Sample:
{
  "VenueId": 1,
  "VenueName": "sample string 2",
  "VenuePhone": "sample string 3",
  "VenueMobile": "sample string 4",
  "VenueAddress": "sample string 5",
  "Latitude": "sample string 6",
  "Longitude": "sample string 7",
  "MaxCapacity": 1,
  "NumberOfTables": 1,
  "IsActiveForBooking": true,
  "IsOurRestaurants": true,
  "IsGuestRequired": true,
  "RestaurantDescription": "sample string 11",
  "RestaurantPhotoPath": "sample string 12",
  "TablePhotoPath": "sample string 13",
  "PromoCode": "sample string 14",
  "NoOfTables": 1,
  "NoOfHighTable": 1,
  "NoOfLounges": 1,
  "NoOfBarSeats": 1,
  "NoOfSunBed": 1,
  "CreatedBy": "sample string 15",
  "Description": "sample string 16",
  "MenuUrl": "sample string 17",
  "IsOpen": true,
  "CountryId": 1,
  "VenueEmail": "sample string 18",
  "LocationUrl": "sample string 19",
  "HasParking": true,
  "ClosureMessage": "sample string 20",
  "IsSevenRooms": true,
  "SevenRoomsURL": "sample string 21",
  "ImageBase64": "sample string 22",
  "LayoutImageBase64": "sample string 23",
  "MasterImageBase64": "sample string 24",
  "TableImageBase64": "sample string 25",
  "LogoImageBase64": "sample string 26"
}

application/xml, text/xml

Sample:
<VenueDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TLTApp.Entities.DTOs.Reserva">
  <ClosureMessage>sample string 20</ClosureMessage>
  <CountryId>1</CountryId>
  <CreatedBy>sample string 15</CreatedBy>
  <Description>sample string 16</Description>
  <HasParking>true</HasParking>
  <ImageBase64>sample string 22</ImageBase64>
  <IsActiveForBooking>true</IsActiveForBooking>
  <IsGuestRequired>true</IsGuestRequired>
  <IsOpen>true</IsOpen>
  <IsOurRestaurants>true</IsOurRestaurants>
  <IsSevenRooms>true</IsSevenRooms>
  <Latitude>sample string 6</Latitude>
  <LayoutImageBase64>sample string 23</LayoutImageBase64>
  <LocationUrl>sample string 19</LocationUrl>
  <LogoImageBase64>sample string 26</LogoImageBase64>
  <Longitude>sample string 7</Longitude>
  <MasterImageBase64>sample string 24</MasterImageBase64>
  <MaxCapacity>1</MaxCapacity>
  <MenuUrl>sample string 17</MenuUrl>
  <NoOfBarSeats>1</NoOfBarSeats>
  <NoOfHighTable>1</NoOfHighTable>
  <NoOfLounges>1</NoOfLounges>
  <NoOfSunBed>1</NoOfSunBed>
  <NoOfTables>1</NoOfTables>
  <NumberOfTables>1</NumberOfTables>
  <PromoCode>sample string 14</PromoCode>
  <RestaurantDescription>sample string 11</RestaurantDescription>
  <RestaurantPhotoPath>sample string 12</RestaurantPhotoPath>
  <SevenRoomsURL>sample string 21</SevenRoomsURL>
  <TableImageBase64>sample string 25</TableImageBase64>
  <TablePhotoPath>sample string 13</TablePhotoPath>
  <VenueAddress>sample string 5</VenueAddress>
  <VenueEmail>sample string 18</VenueEmail>
  <VenueId>1</VenueId>
  <VenueMobile>sample string 4</VenueMobile>
  <VenueName>sample string 2</VenueName>
  <VenuePhone>sample string 3</VenuePhone>
</VenueDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MobileReturnOject
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Obj

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Obj": {}
}

application/xml, text/xml

Sample:
<MobileReturnOject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TLTApp.Services">
  <Message>sample string 1</Message>
  <Obj />
  <Status>true</Status>
</MobileReturnOject>