GET api/v1/sites/{siteId}?properties={properties}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

string

Required

properties

string

None.

Body Parameters

None.

Response Information

Resource Description

SiteBindingModel
NameDescriptionTypeAdditional information
Href

string

None.

Location

LocationBindingModel

None.

Id

string

None.

Type

string

None.

Prefix

string

None.

ManagementTypeId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "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"
    }
  },
  "Id": "sample string 2",
  "Type": "sample string 3",
  "Prefix": "sample string 4",
  "ManagementTypeId": 5
}

application/xml, text/xml

Sample:
<SiteBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models.Site">
  <Id xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">sample string 2</Id>
  <ManagementTypeId xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">5</ManagementTypeId>
  <Prefix xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">sample string 4</Prefix>
  <Type xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">sample string 3</Type>
  <Href>sample string 1</Href>
  <Location>
    <Address xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">
      <AddressLine xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1: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:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:double>1.1</d3p1:double>
      <d3p1:double>2.1</d3p1: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>
</SiteBindingModel>