PUT api/v1/reservation/details

Request Information

URI Parameters

None.

Body Parameters

ReservationsRequestBindingModel
NameDescriptionTypeAdditional information
Id

string

None.

Name

string

None.

ExamId

string

None.

ProviderId

string

None.

Holds

Collection of Pair of string [key] and string [value]

None.

NumberOfDays

integer

None.

SalesforceTicketNumber

integer

None.

TransactionId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Name": "sample string 2",
  "ExamId": "sample string 3",
  "ProviderId": "sample string 4",
  "Holds": [
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    }
  ],
  "NumberOfDays": 5,
  "SalesforceTicketNumber": 6,
  "TransactionId": "sample string 7"
}

application/xml, text/xml

Sample:
<ReservationsRequestBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models.Reservation">
  <ExamId>sample string 3</ExamId>
  <Holds xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
  </Holds>
  <Id>sample string 1</Id>
  <Name>sample string 2</Name>
  <NumberOfDays>5</NumberOfDays>
  <ProviderId>sample string 4</ProviderId>
  <SalesforceTicketNumber>6</SalesforceTicketNumber>
  <TransactionId>sample string 7</TransactionId>
</ReservationsRequestBindingModel>

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 'ReservationsRequestBindingModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.