POST Practice/GetVwrPracticeListForCustomer

Request Information

URI Parameters

None.

Body Parameters

PatientComms.DataAccess.Interfaces.VwrPracticeListRequest
NameDescriptionTypeAdditional information
AppKey

globally unique identifier

None.

CustomerId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AppKey": "60e26cd1-71af-4056-b5bb-b26d3de544bb",
  "CustomerId": 2
}

application/xml, text/xml

Sample:
<VwrPracticeListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PatientComms.DataAccess.Interfaces">
  <AppKey>60e26cd1-71af-4056-b5bb-b26d3de544bb</AppKey>
  <CustomerId>2</CustomerId>
</VwrPracticeListRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PatientComms.DataAccess.Interfaces.VwrPracticeListResponse
NameDescriptionTypeAdditional information
PracticeList

Collection of string

None.

ErrorMessage

string

None.

ErrorStackTrace

string

None.

Response Formats

application/json, text/json

Sample:
{
  "PracticeList": [
    "sample string 1",
    "sample string 2"
  ],
  "ErrorMessage": "sample string 1",
  "ErrorStackTrace": "sample string 2"
}

application/xml, text/xml

Sample:
<VwrPracticeListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PatientComms.DataAccess.Interfaces">
  <ErrorMessage>sample string 1</ErrorMessage>
  <ErrorStackTrace>sample string 2</ErrorStackTrace>
  <PracticeList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </PracticeList>
</VwrPracticeListResponse>