SEARCH api/v1/sites/{siteId}/availability?properties={properties}&take={take}&skip={skip}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SiteId

string

None.

Radius

integer

None.

StartDate

string

None.

SlotNumber

integer

None.

EndDate

string

None.

Start

date

None.

End

date

None.

ExamId

Collection of string

None.

EligibilityId

string

None.

properties

string

None.

take

integer

Default value is 0

skip

integer

Default value is 0

siteId

string

None.

Body Parameters

Collection of ExamsRequestBindingModel
NameDescriptionTypeAdditional information
Id

string

None.

TestingAccommodations

Collection of TestingAccommodationBindingModel

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "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:
<ArrayOfExamsRequestBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">
  <ExamsRequestBindingModel>
    <Id>sample string 1</Id>
    <TestingAccommodations xmlns:d3p1="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models.TestingAccommodation">
      <d3p1:TestingAccommodationBindingModel>
        <Attributes>
          <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>4</CategoryId>
        <Href>sample string 2</Href>
        <Id>sample string 1</Id>
        <Name>sample string 3</Name>
      </d3p1:TestingAccommodationBindingModel>
      <d3p1:TestingAccommodationBindingModel>
        <Attributes>
          <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>4</CategoryId>
        <Href>sample string 2</Href>
        <Id>sample string 1</Id>
        <Name>sample string 3</Name>
      </d3p1:TestingAccommodationBindingModel>
    </TestingAccommodations>
  </ExamsRequestBindingModel>
  <ExamsRequestBindingModel>
    <Id>sample string 1</Id>
    <TestingAccommodations xmlns:d3p1="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models.TestingAccommodation">
      <d3p1:TestingAccommodationBindingModel>
        <Attributes>
          <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>4</CategoryId>
        <Href>sample string 2</Href>
        <Id>sample string 1</Id>
        <Name>sample string 3</Name>
      </d3p1:TestingAccommodationBindingModel>
      <d3p1:TestingAccommodationBindingModel>
        <Attributes>
          <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>4</CategoryId>
        <Href>sample string 2</Href>
        <Id>sample string 1</Id>
        <Name>sample string 3</Name>
      </d3p1:TestingAccommodationBindingModel>
    </TestingAccommodations>
  </ExamsRequestBindingModel>
</ArrayOfExamsRequestBindingModel>

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 'IEnumerable`1'.

Response Information

Resource Description

Collection of string

Response Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
</ArrayOfstring>