POST Scheduling/InCenterLocations

Send in the applicants location to get the nearest facilities that the applicant can go to for their exam.

Request Information

URI Parameters

None.

Body Parameters

InCenterLocationRequest
NameDescriptionTypeAdditional information
AddressLine1

string

None.

AddressLine2

string

None.

City

string

None.

State

string

None.

Country

string

None.

ZipCode

The Zip Code that the examination will take place in.

string

None.

StartDate

The first date/time slot that should be returned indicating coverage.

string

None.

EndDate

The ending date/time slot that should be returned indicating coverage.

string

None.

EntityTypeID

An Entity Type ID as assigned by SMM for use in this call.

integer

None.

EntityID

An Entity ID as assigned by SMM for use in this call.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AddressLine1": "sample string 1",
  "AddressLine2": "sample string 2",
  "City": "sample string 3",
  "State": "sample string 4",
  "Country": "sample string 5",
  "ZipCode": "sample string 6",
  "StartDate": "sample string 7",
  "EndDate": "sample string 8",
  "EntityTypeID": 1,
  "EntityTypeIDSpecified": true,
  "EntityID": 1,
  "EntityIDSpecified": true
}

application/xml, text/xml

Sample:
<InCenterLocationRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ZipCode>sample string 6</ZipCode>
  <StartDate>sample string 7</StartDate>
  <EndDate>sample string 8</EndDate>
  <EntityTypeID>1</EntityTypeID>
  <EntityID>1</EntityID>
  <AddressLine1>sample string 1</AddressLine1>
  <AddressLine2>sample string 2</AddressLine2>
  <City>sample string 3</City>
  <State>sample string 4</State>
  <Country>sample string 5</Country>
</InCenterLocationRequest>

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

Response Information

Resource Description

InCenterLocations
NameDescriptionTypeAdditional information
Locations

Collection of Locations

None.

Response Formats

application/json, text/json

Sample:
{
  "Locations": [
    {
      "Location": {
        "LocationId": "sample string 1",
        "Name": "sample string 2",
        "Address": {
          "Type": {},
          "Line1": "sample string 2",
          "Line2": "sample string 3",
          "Line3": "sample string 4",
          "City": "sample string 5",
          "StateCode": "sample string 6",
          "PostalCode": "sample string 7",
          "CountryCode": {},
          "Latitude": null,
          "Longitude": null
        }
      },
      "DistanceFromSource": {
        "Value": 1.1,
        "Scale": "sample string 2"
      }
    },
    {
      "Location": {
        "LocationId": "sample string 1",
        "Name": "sample string 2",
        "Address": {
          "Type": {},
          "Line1": "sample string 2",
          "Line2": "sample string 3",
          "Line3": "sample string 4",
          "City": "sample string 5",
          "StateCode": "sample string 6",
          "PostalCode": "sample string 7",
          "CountryCode": {},
          "Latitude": null,
          "Longitude": null
        }
      },
      "DistanceFromSource": {
        "Value": 1.1,
        "Scale": "sample string 2"
      }
    }
  ]
}

application/xml, text/xml

Sample:
<InCenterLocations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Locations>
    <Locations>
      <Location>
        <LocationId>sample string 1</LocationId>
        <Name>sample string 2</Name>
        <Address>
          <Type />
          <Line1>sample string 2</Line1>
          <Line2>sample string 3</Line2>
          <Line3>sample string 4</Line3>
          <City>sample string 5</City>
          <StateCode>sample string 6</StateCode>
          <PostalCode>sample string 7</PostalCode>
          <CountryCode />
        </Address>
      </Location>
      <DistanceFromSource>
        <Value>1.1</Value>
        <Scale>sample string 2</Scale>
      </DistanceFromSource>
    </Locations>
    <Locations>
      <Location>
        <LocationId>sample string 1</LocationId>
        <Name>sample string 2</Name>
        <Address>
          <Type />
          <Line1>sample string 2</Line1>
          <Line2>sample string 3</Line2>
          <Line3>sample string 4</Line3>
          <City>sample string 5</City>
          <StateCode>sample string 6</StateCode>
          <PostalCode>sample string 7</PostalCode>
          <CountryCode />
        </Address>
      </Location>
      <DistanceFromSource>
        <Value>1.1</Value>
        <Scale>sample string 2</Scale>
      </DistanceFromSource>
    </Locations>
  </Locations>
</InCenterLocations>