GET api/v1/providers/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

ProviderBindingModel
NameDescriptionTypeAdditional information
Id

string

None.

Href

string

None.

Name

string

None.

IsContracted

boolean

None.

ContractFee

decimal number

None.

Currency

string

None.

Location

ProviderLocationBindingModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Href": "sample string 2",
  "Name": "sample string 3",
  "IsContracted": true,
  "ContractFee": 5.0,
  "Currency": "sample string 6",
  "Location": {
    "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": {
      "FirstName": "sample string 1",
      "LastName": "sample string 2",
      "Email": "sample string 3",
      "PhoneNumber": "sample string 4",
      "FaxNumber": "sample string 5"
    }
  }
}

application/xml, text/xml

Sample:
<ProviderBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models.Provider">
  <ContractFee>5</ContractFee>
  <Currency>sample string 6</Currency>
  <Href>sample string 2</Href>
  <Id>sample string 1</Id>
  <IsContracted>true</IsContracted>
  <Location>
    <Address xmlns:d3p1="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">
      <d3p1: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>
      </d3p1:AddressLine>
      <d3p1:AdminDistrict>sample string 2</d3p1:AdminDistrict>
      <d3p1:Country>sample string 4</d3p1:Country>
      <d3p1:FormattedAddress>sample string 5</d3p1:FormattedAddress>
      <d3p1:Locality>sample string 1</d3p1:Locality>
      <d3p1:PostalCode>sample string 3</d3p1:PostalCode>
    </Address>
    <Contact>
      <FaxNumber xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">sample string 5</FaxNumber>
      <PhoneNumber xmlns="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models">sample string 4</PhoneNumber>
      <Email>sample string 3</Email>
      <FirstName>sample string 1</FirstName>
      <LastName>sample string 2</LastName>
    </Contact>
  </Location>
  <Name>sample string 3</Name>
</ProviderBindingModel>