POST api/PageService/AddExternalBookingPage

Documentation for 'AddExternalBookingPage'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ConceptID": 1,
  "BookingInfo": {
    "UserID": 1,
    "CustomerName": "sample string 2",
    "CustomerEmail": "sample string 3",
    "CustomerPhone": "sample string 4",
    "EventDate": "2026-01-11T19:29:23.0232843+00:00",
    "EventTypeID": 6,
    "EventTime": "sample string 7",
    "EventZipCode": "sample string 8",
    "EventCity": "sample string 9",
    "EventDateString": "sample string 10",
    "key": "sample string 11"
  }
}

application/xml, text/xml

Sample:
<AddExternalBookingPageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Pages">
  <BookingInfo>
    <CustomerEmail>sample string 3</CustomerEmail>
    <CustomerName>sample string 2</CustomerName>
    <CustomerPhone>sample string 4</CustomerPhone>
    <EventCity>sample string 9</EventCity>
    <EventDate>2026-01-11T19:29:23.0232843+00:00</EventDate>
    <EventDateString>sample string 10</EventDateString>
    <EventTime>sample string 7</EventTime>
    <EventTypeID>6</EventTypeID>
    <EventZipCode>sample string 8</EventZipCode>
    <UserID>1</UserID>
    <key>sample string 11</key>
  </BookingInfo>
  <ConceptID>1</ConceptID>
</AddExternalBookingPageRequest>

application/x-www-form-urlencoded

Sample:

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "Message": {
    "BookingReferenceID": "sample string 1"
  }
}

application/xml, text/xml

Sample:
<ResponseBaseOfAddExternalBookingResponseIx51C0OV xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.MessageBase">
  <Message xmlns:d2p1="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Pages">
    <d2p1:BookingReferenceID>sample string 1</d2p1:BookingReferenceID>
  </Message>
  <status>sample string 1</status>
</ResponseBaseOfAddExternalBookingResponseIx51C0OV>