DELETE api/v1/bookings/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

BookingBindingModel
NameDescriptionTypeAdditional information
Id

string

None.

Href

string

None.

Candidate

ResourceReferenceOfString

None.

Tests

Collection of TestBindingModel

None.

Payments

Collection of ResourceReferenceOfString

None.

TestingAccommodations

Collection of BaseTestingAccommodationBindingModel

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 'Id' on 'Prometric.Scheduling.Api.Models.Booking.SessionBindingModel'.

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 'Id' on 'Prometric.Scheduling.Api.Models.Booking.SessionBindingModel'.

application/xml, text/xml

Sample:
<BookingBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models.Booking">
  <Candidate xmlns:d2p1="http://schemas.datacontract.org/2004/07/Prometric.Api.Models">
    <d2p1:Href>sample string 2</d2p1:Href>
    <d2p1:Id>sample string 1</d2p1:Id>
  </Candidate>
  <Href>sample string 3</Href>
  <Id>sample string 1</Id>
  <Payments xmlns:d2p1="http://schemas.datacontract.org/2004/07/Prometric.Api.Models">
    <d2p1:ResourceReferenceOfstring>
      <d2p1:Href>sample string 2</d2p1:Href>
      <d2p1:Id>sample string 1</d2p1:Id>
    </d2p1:ResourceReferenceOfstring>
    <d2p1:ResourceReferenceOfstring>
      <d2p1:Href>sample string 2</d2p1:Href>
      <d2p1:Id>sample string 1</d2p1:Id>
    </d2p1:ResourceReferenceOfstring>
  </Payments>
  <TestingAccommodations xmlns:d2p1="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">
    <d2p1:BaseTestingAccommodationBindingModel>
      <d2p1:Attributes>
        <d2p1:AttributeBindingModel>
          <d2p1:Name>sample string 1</d2p1:Name>
          <d2p1:Parameters>
            <d2p1:ParameterBindingModel>
              <d2p1:Name>sample string 1</d2p1:Name>
              <d2p1:Value>sample string 2</d2p1:Value>
            </d2p1:ParameterBindingModel>
            <d2p1:ParameterBindingModel>
              <d2p1:Name>sample string 1</d2p1:Name>
              <d2p1:Value>sample string 2</d2p1:Value>
            </d2p1:ParameterBindingModel>
          </d2p1:Parameters>
        </d2p1:AttributeBindingModel>
        <d2p1:AttributeBindingModel>
          <d2p1:Name>sample string 1</d2p1:Name>
          <d2p1:Parameters>
            <d2p1:ParameterBindingModel>
              <d2p1:Name>sample string 1</d2p1:Name>
              <d2p1:Value>sample string 2</d2p1:Value>
            </d2p1:ParameterBindingModel>
            <d2p1:ParameterBindingModel>
              <d2p1:Name>sample string 1</d2p1:Name>
              <d2p1:Value>sample string 2</d2p1:Value>
            </d2p1:ParameterBindingModel>
          </d2p1:Parameters>
        </d2p1:AttributeBindingModel>
      </d2p1:Attributes>
      <d2p1:CategoryId>4</d2p1:CategoryId>
      <d2p1:Href>sample string 2</d2p1:Href>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:Name>sample string 3</d2p1:Name>
    </d2p1:BaseTestingAccommodationBindingModel>
    <d2p1:BaseTestingAccommodationBindingModel>
      <d2p1:Attributes>
        <d2p1:AttributeBindingModel>
          <d2p1:Name>sample string 1</d2p1:Name>
          <d2p1:Parameters>
            <d2p1:ParameterBindingModel>
              <d2p1:Name>sample string 1</d2p1:Name>
              <d2p1:Value>sample string 2</d2p1:Value>
            </d2p1:ParameterBindingModel>
            <d2p1:ParameterBindingModel>
              <d2p1:Name>sample string 1</d2p1:Name>
              <d2p1:Value>sample string 2</d2p1:Value>
            </d2p1:ParameterBindingModel>
          </d2p1:Parameters>
        </d2p1:AttributeBindingModel>
        <d2p1:AttributeBindingModel>
          <d2p1:Name>sample string 1</d2p1:Name>
          <d2p1:Parameters>
            <d2p1:ParameterBindingModel>
              <d2p1:Name>sample string 1</d2p1:Name>
              <d2p1:Value>sample string 2</d2p1:Value>
            </d2p1:ParameterBindingModel>
            <d2p1:ParameterBindingModel>
              <d2p1:Name>sample string 1</d2p1:Name>
              <d2p1:Value>sample string 2</d2p1:Value>
            </d2p1:ParameterBindingModel>
          </d2p1:Parameters>
        </d2p1:AttributeBindingModel>
      </d2p1:Attributes>
      <d2p1:CategoryId>4</d2p1:CategoryId>
      <d2p1:Href>sample string 2</d2p1:Href>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:Name>sample string 3</d2p1:Name>
    </d2p1:BaseTestingAccommodationBindingModel>
  </TestingAccommodations>
  <Tests>
    <TestBindingModel>
      <CNATT>true</CNATT>
      <Eligibility xmlns:d4p1="http://schemas.datacontract.org/2004/07/Prometric.Api.Models">
        <d4p1:Href>sample string 2</d4p1:Href>
        <d4p1:Id>sample string 1</d4p1:Id>
      </Eligibility>
      <Exam xmlns:d4p1="http://schemas.datacontract.org/2004/07/Prometric.Api.Models">
        <d4p1:Href>sample string 2</d4p1:Href>
        <d4p1:Id>sample string 1</d4p1:Id>
      </Exam>
      <IsExternalClientCall>true</IsExternalClientCall>
      <Sessions>
        <SessionBindingModel>
          <CanReschedule>true</CanReschedule>
          <ConfirmationNumber>sample string 1</ConfirmationNumber>
          <ExamFormCode>sample string 5</ExamFormCode>
          <Hold xmlns:d6p1="http://schemas.datacontract.org/2004/07/Prometric.Api.Models">
            <d6p1:Href>sample string 2</d6p1:Href>
            <d6p1:Id>sample string 1</d6p1:Id>
          </Hold>
          <IsGetCall>true</IsGetCall>
          <SessionId>2</SessionId>
        </SessionBindingModel>
        <SessionBindingModel>
          <CanReschedule>true</CanReschedule>
          <ConfirmationNumber>sample string 1</ConfirmationNumber>
          <ExamFormCode>sample string 5</ExamFormCode>
          <Hold xmlns:d6p1="http://schemas.datacontract.org/2004/07/Prometric.Api.Models">
            <d6p1:Href>sample string 2</d6p1:Href>
            <d6p1:Id>sample string 1</d6p1:Id>
          </Hold>
          <IsGetCall>true</IsGetCall>
          <SessionId>2</SessionId>
        </SessionBindingModel>
      </Sessions>
      <Status>sample string 1</Status>
      <TestingAccommodations>
        <TestingAccommodationBindingRequestModel>
          <Attributes xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">
            <AttributeBindingModel>
              <Name>sample string 1</Name>
              <Parameters>
                <ParameterBindingModel>
                  <Name>sample string 1</Name>
                  <Value>sample string 2</Value>
                </ParameterBindingModel>
                <ParameterBindingModel>
                  <Name>sample string 1</Name>
                  <Value>sample string 2</Value>
                </ParameterBindingModel>
              </Parameters>
            </AttributeBindingModel>
            <AttributeBindingModel>
              <Name>sample string 1</Name>
              <Parameters>
                <ParameterBindingModel>
                  <Name>sample string 1</Name>
                  <Value>sample string 2</Value>
                </ParameterBindingModel>
                <ParameterBindingModel>
                  <Name>sample string 1</Name>
                  <Value>sample string 2</Value>
                </ParameterBindingModel>
              </Parameters>
            </AttributeBindingModel>
          </Attributes>
          <CategoryId xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">4</CategoryId>
          <Href xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">sample string 2</Href>
          <Id xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">sample string 1</Id>
          <Name xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">sample string 3</Name>
        </TestingAccommodationBindingRequestModel>
        <TestingAccommodationBindingRequestModel>
          <Attributes xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">
            <AttributeBindingModel>
              <Name>sample string 1</Name>
              <Parameters>
                <ParameterBindingModel>
                  <Name>sample string 1</Name>
                  <Value>sample string 2</Value>
                </ParameterBindingModel>
                <ParameterBindingModel>
                  <Name>sample string 1</Name>
                  <Value>sample string 2</Value>
                </ParameterBindingModel>
              </Parameters>
            </AttributeBindingModel>
            <AttributeBindingModel>
              <Name>sample string 1</Name>
              <Parameters>
                <ParameterBindingModel>
                  <Name>sample string 1</Name>
                  <Value>sample string 2</Value>
                </ParameterBindingModel>
                <ParameterBindingModel>
                  <Name>sample string 1</Name>
                  <Value>sample string 2</Value>
                </ParameterBindingModel>
              </Parameters>
            </AttributeBindingModel>
          </Attributes>
          <CategoryId xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">4</CategoryId>
          <Href xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">sample string 2</Href>
          <Id xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">sample string 1</Id>
          <Name xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">sample string 3</Name>
        </TestingAccommodationBindingRequestModel>
      </TestingAccommodations>
    </TestBindingModel>
    <TestBindingModel>
      <CNATT>true</CNATT>
      <Eligibility xmlns:d4p1="http://schemas.datacontract.org/2004/07/Prometric.Api.Models">
        <d4p1:Href>sample string 2</d4p1:Href>
        <d4p1:Id>sample string 1</d4p1:Id>
      </Eligibility>
      <Exam xmlns:d4p1="http://schemas.datacontract.org/2004/07/Prometric.Api.Models">
        <d4p1:Href>sample string 2</d4p1:Href>
        <d4p1:Id>sample string 1</d4p1:Id>
      </Exam>
      <IsExternalClientCall>true</IsExternalClientCall>
      <Sessions>
        <SessionBindingModel>
          <CanReschedule>true</CanReschedule>
          <ConfirmationNumber>sample string 1</ConfirmationNumber>
          <ExamFormCode>sample string 5</ExamFormCode>
          <Hold xmlns:d6p1="http://schemas.datacontract.org/2004/07/Prometric.Api.Models">
            <d6p1:Href>sample string 2</d6p1:Href>
            <d6p1:Id>sample string 1</d6p1:Id>
          </Hold>
          <IsGetCall>true</IsGetCall>
          <SessionId>2</SessionId>
        </SessionBindingModel>
        <SessionBindingModel>
          <CanReschedule>true</CanReschedule>
          <ConfirmationNumber>sample string 1</ConfirmationNumber>
          <ExamFormCode>sample string 5</ExamFormCode>
          <Hold xmlns:d6p1="http://schemas.datacontract.org/2004/07/Prometric.Api.Models">
            <d6p1:Href>sample string 2</d6p1:Href>
            <d6p1:Id>sample string 1</d6p1:Id>
          </Hold>
          <IsGetCall>true</IsGetCall>
          <SessionId>2</SessionId>
        </SessionBindingModel>
      </Sessions>
      <Status>sample string 1</Status>
      <TestingAccommodations>
        <TestingAccommodationBindingRequestModel>
          <Attributes xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">
            <AttributeBindingModel>
              <Name>sample string 1</Name>
              <Parameters>
                <ParameterBindingModel>
                  <Name>sample string 1</Name>
                  <Value>sample string 2</Value>
                </ParameterBindingModel>
                <ParameterBindingModel>
                  <Name>sample string 1</Name>
                  <Value>sample string 2</Value>
                </ParameterBindingModel>
              </Parameters>
            </AttributeBindingModel>
            <AttributeBindingModel>
              <Name>sample string 1</Name>
              <Parameters>
                <ParameterBindingModel>
                  <Name>sample string 1</Name>
                  <Value>sample string 2</Value>
                </ParameterBindingModel>
                <ParameterBindingModel>
                  <Name>sample string 1</Name>
                  <Value>sample string 2</Value>
                </ParameterBindingModel>
              </Parameters>
            </AttributeBindingModel>
          </Attributes>
          <CategoryId xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">4</CategoryId>
          <Href xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">sample string 2</Href>
          <Id xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">sample string 1</Id>
          <Name xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">sample string 3</Name>
        </TestingAccommodationBindingRequestModel>
        <TestingAccommodationBindingRequestModel>
          <Attributes xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">
            <AttributeBindingModel>
              <Name>sample string 1</Name>
              <Parameters>
                <ParameterBindingModel>
                  <Name>sample string 1</Name>
                  <Value>sample string 2</Value>
                </ParameterBindingModel>
                <ParameterBindingModel>
                  <Name>sample string 1</Name>
                  <Value>sample string 2</Value>
                </ParameterBindingModel>
              </Parameters>
            </AttributeBindingModel>
            <AttributeBindingModel>
              <Name>sample string 1</Name>
              <Parameters>
                <ParameterBindingModel>
                  <Name>sample string 1</Name>
                  <Value>sample string 2</Value>
                </ParameterBindingModel>
                <ParameterBindingModel>
                  <Name>sample string 1</Name>
                  <Value>sample string 2</Value>
                </ParameterBindingModel>
              </Parameters>
            </AttributeBindingModel>
          </Attributes>
          <CategoryId xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">4</CategoryId>
          <Href xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">sample string 2</Href>
          <Id xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">sample string 1</Id>
          <Name xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">sample string 3</Name>
        </TestingAccommodationBindingRequestModel>
      </TestingAccommodations>
    </TestBindingModel>
  </Tests>
  <Uri>sample string 2</Uri>
</BookingBindingModel>