SEARCH api/v1/sites/availabilities?country={country}&properties={properties}&orderBy={orderBy}&take={take}&skip={skip}
Request Information
URI Parameters
Name | Description | Type | Additional 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. |
|
country | string |
Required |
|
properties | string |
None. |
|
orderBy | string |
None. |
|
take | integer |
Default value is 0 |
|
skip | integer |
Default value is 0 |
Body Parameters
Collection of ExamsRequestBindingModelName | Description | Type | Additional 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:
Response Information
Resource Description
Collection of SiteAvailabilityBindingModelName | Description | Type | Additional information |
---|---|---|---|
Href | string |
None. |
|
Location | LocationBindingModel |
None. |
|
Availability | Collection of string |
None. |
|
Id | string |
None. |
|
Type | string |
None. |
|
Prefix | string |
None. |
|
ManagementTypeId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ null, { "Href": "sample string 1", "Location": { "TimeZone": "sample string 1", "TimeZoneOffset": "sample string 2", "Coordinates": [ 1.1, 2.1 ], "Directions": [ { "Name": "sample string 1", "GeneralMemo": "sample string 2", "SchedulingMemo": "sample string 3", "Direction": "sample string 4" }, { "Name": "sample string 1", "GeneralMemo": "sample string 2", "SchedulingMemo": "sample string 3", "Direction": "sample string 4" } ], "Distance": 3.1, "Address": { "AddressLine": [ "sample string 1", "sample string 2" ], "Locality": "sample string 1", "AdminDistrict": "sample string 2", "PostalCode": "sample string 3", "Country": "sample string 4", "FormattedAddress": "sample string 5" }, "Contact": { "PhoneNumber": "sample string 1", "FaxNumber": "sample string 2" } }, "Availability": null, "Id": null, "Type": null, "Prefix": null, "ManagementTypeId": 0 } ]
application/xml, text/xml
Sample:
<ArrayOfSiteAvailabilityBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models.Site"> <SiteAvailabilityBindingModel i:nil="true" /> <SiteAvailabilityBindingModel> <Id i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models" /> <ManagementTypeId xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">0</ManagementTypeId> <Prefix i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models" /> <Type i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models" /> <Availability xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <Href>sample string 1</Href> <Location> <Address xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models"> <AddressLine xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </AddressLine> <AdminDistrict>sample string 2</AdminDistrict> <Country>sample string 4</Country> <FormattedAddress>sample string 5</FormattedAddress> <Locality>sample string 1</Locality> <PostalCode>sample string 3</PostalCode> </Address> <Contact xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models"> <FaxNumber>sample string 2</FaxNumber> <PhoneNumber>sample string 1</PhoneNumber> </Contact> <Coordinates xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:double>1.1</d4p1:double> <d4p1:double>2.1</d4p1:double> </Coordinates> <Directions> <DirectionBindingModel> <Direction>sample string 4</Direction> <GeneralMemo>sample string 2</GeneralMemo> <Name>sample string 1</Name> <SchedulingMemo>sample string 3</SchedulingMemo> </DirectionBindingModel> <DirectionBindingModel> <Direction>sample string 4</Direction> <GeneralMemo>sample string 2</GeneralMemo> <Name>sample string 1</Name> <SchedulingMemo>sample string 3</SchedulingMemo> </DirectionBindingModel> </Directions> <Distance>3.1</Distance> <TimeZone>sample string 1</TimeZone> <TimeZoneOffset>sample string 2</TimeZoneOffset> </Location> </SiteAvailabilityBindingModel> </ArrayOfSiteAvailabilityBindingModel>