POST api/v2/holds/holdProctor

Request Information

URI Parameters

None.

Body Parameters

HoldProctorAlternateBindingModel
NameDescriptionTypeAdditional information
Slot

Slot

None.

TimeZone

string

None.

Exams

Collection of ExamsRequestBindingModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Slot": {
    "Id": "sample string 1"
  },
  "TimeZone": "sample string 1",
  "Exams": [
    {
      "Id": "sample string 1",
      "TestingAccommodations": [
        {
          "Id": "sample string 1",
          "Href": "sample string 2",
          "Name": "sample string 3",
          "Attributes": [
            {
              "Name": "sample string 1",
              "Parameters": [
                {
                  "Name": "sample string 1",
                  "Value": "sample string 2"
                },
                {
                  "Name": "sample string 1",
                  "Value": "sample string 2"
                }
              ]
            },
            {
              "Name": "sample string 1",
              "Parameters": [
                {
                  "Name": "sample string 1",
                  "Value": "sample string 2"
                },
                {
                  "Name": "sample string 1",
                  "Value": "sample string 2"
                }
              ]
            }
          ],
          "CategoryId": 4
        },
        {
          "Id": "sample string 1",
          "Href": "sample string 2",
          "Name": "sample string 3",
          "Attributes": [
            {
              "Name": "sample string 1",
              "Parameters": [
                {
                  "Name": "sample string 1",
                  "Value": "sample string 2"
                },
                {
                  "Name": "sample string 1",
                  "Value": "sample string 2"
                }
              ]
            },
            {
              "Name": "sample string 1",
              "Parameters": [
                {
                  "Name": "sample string 1",
                  "Value": "sample string 2"
                },
                {
                  "Name": "sample string 1",
                  "Value": "sample string 2"
                }
              ]
            }
          ],
          "CategoryId": 4
        }
      ]
    },
    {
      "Id": "sample string 1",
      "TestingAccommodations": [
        {
          "Id": "sample string 1",
          "Href": "sample string 2",
          "Name": "sample string 3",
          "Attributes": [
            {
              "Name": "sample string 1",
              "Parameters": [
                {
                  "Name": "sample string 1",
                  "Value": "sample string 2"
                },
                {
                  "Name": "sample string 1",
                  "Value": "sample string 2"
                }
              ]
            },
            {
              "Name": "sample string 1",
              "Parameters": [
                {
                  "Name": "sample string 1",
                  "Value": "sample string 2"
                },
                {
                  "Name": "sample string 1",
                  "Value": "sample string 2"
                }
              ]
            }
          ],
          "CategoryId": 4
        },
        {
          "Id": "sample string 1",
          "Href": "sample string 2",
          "Name": "sample string 3",
          "Attributes": [
            {
              "Name": "sample string 1",
              "Parameters": [
                {
                  "Name": "sample string 1",
                  "Value": "sample string 2"
                },
                {
                  "Name": "sample string 1",
                  "Value": "sample string 2"
                }
              ]
            },
            {
              "Name": "sample string 1",
              "Parameters": [
                {
                  "Name": "sample string 1",
                  "Value": "sample string 2"
                },
                {
                  "Name": "sample string 1",
                  "Value": "sample string 2"
                }
              ]
            }
          ],
          "CategoryId": 4
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<HoldProctorAlternateBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models.Hold">
  <Exams xmlns:d2p1="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">
    <d2p1:ExamsRequestBindingModel>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:TestingAccommodations xmlns:d4p1="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models.TestingAccommodation">
        <d4p1:TestingAccommodationBindingModel>
          <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>
        </d4p1:TestingAccommodationBindingModel>
        <d4p1:TestingAccommodationBindingModel>
          <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>
        </d4p1:TestingAccommodationBindingModel>
      </d2p1:TestingAccommodations>
    </d2p1:ExamsRequestBindingModel>
    <d2p1:ExamsRequestBindingModel>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:TestingAccommodations xmlns:d4p1="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models.TestingAccommodation">
        <d4p1:TestingAccommodationBindingModel>
          <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>
        </d4p1:TestingAccommodationBindingModel>
        <d4p1:TestingAccommodationBindingModel>
          <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>
        </d4p1:TestingAccommodationBindingModel>
      </d2p1:TestingAccommodations>
    </d2p1:ExamsRequestBindingModel>
  </Exams>
  <Slot>
    <Id>sample string 1</Id>
  </Slot>
  <TimeZone>sample string 1</TimeZone>
</HoldProctorAlternateBindingModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.