GET api/v{version}/epidemic/CareCenters
Given a person's registration info, sees if they match up with a care center
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version | string |
None. |
Body Parameters
The care center request.
CareCenterRequestName | Description | Type | Additional information |
---|---|---|---|
EpidemicID | integer |
None. |
|
Registrant | RegistrationPerson |
None. |
Request Formats
application/json, text/json
Sample:
{ "epidemicID": 1, "registrant": { "name": { "title": "sample string 1", "firstName": "sample string 2", "middleName": "sample string 3", "lastName": "sample string 4", "suffix": "sample string 5" }, "gender": "sample string 1", "dateOfBirth": "sample string 2", "emailAddress": "sample string 3", "homeAddress": { "addressLine1": "sample string 1", "addressLine2": "sample string 2", "city": "sample string 3", "state": "sample string 4", "postalCode": "sample string 5", "countryCode": 6, "unique": true }, "workAddress": { "addressLine1": "sample string 1", "addressLine2": "sample string 2", "city": "sample string 3", "state": "sample string 4", "postalCode": "sample string 5", "countryCode": 6, "unique": true }, "homePhone": "sample string 4", "workPhone": "sample string 5", "cellPhone": "sample string 6", "socialSecurityNumber": "sample string 7", "driversLicenseNumber": "sample string 8", "driversLicenseStateAbbrev": "sample string 9", "phoneType": "sample string 10", "uniqueContact": true, "nationalLanguageID": 12 } }
application/xml, text/xml
Sample:
<CareCenterRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CancerBytesAPI.Controllers"> <EpidemicID>1</EpidemicID> <Registrant xmlns:d2p1="http://schemas.datacontract.org/2004/07/DomainObjects"> <d2p1:CellPhone>sample string 6</d2p1:CellPhone> <d2p1:DateOfBirth>sample string 2</d2p1:DateOfBirth> <d2p1:DriversLicenseNumber>sample string 8</d2p1:DriversLicenseNumber> <d2p1:DriversLicenseStateAbbrev>sample string 9</d2p1:DriversLicenseStateAbbrev> <d2p1:EmailAddress>sample string 3</d2p1:EmailAddress> <d2p1:Gender>sample string 1</d2p1:Gender> <d2p1:HomeAddress> <d2p1:AddressLine1>sample string 1</d2p1:AddressLine1> <d2p1:AddressLine2>sample string 2</d2p1:AddressLine2> <d2p1:City>sample string 3</d2p1:City> <d2p1:CountryCode>6</d2p1:CountryCode> <d2p1:PostalCode>sample string 5</d2p1:PostalCode> <d2p1:State>sample string 4</d2p1:State> <d2p1:Unique>true</d2p1:Unique> </d2p1:HomeAddress> <d2p1:HomePhone>sample string 4</d2p1:HomePhone> <d2p1:Name> <d2p1:FirstName>sample string 2</d2p1:FirstName> <d2p1:LastName>sample string 4</d2p1:LastName> <d2p1:MiddleName>sample string 3</d2p1:MiddleName> <d2p1:Suffix>sample string 5</d2p1:Suffix> <d2p1:Title>sample string 1</d2p1:Title> </d2p1:Name> <d2p1:NationalLanguageID>12</d2p1:NationalLanguageID> <d2p1:PhoneType>sample string 10</d2p1:PhoneType> <d2p1:SocialSecurityNumber>sample string 7</d2p1:SocialSecurityNumber> <d2p1:UniqueContact>true</d2p1:UniqueContact> <d2p1:WorkAddress> <d2p1:AddressLine1>sample string 1</d2p1:AddressLine1> <d2p1:AddressLine2>sample string 2</d2p1:AddressLine2> <d2p1:City>sample string 3</d2p1:City> <d2p1:CountryCode>6</d2p1:CountryCode> <d2p1:PostalCode>sample string 5</d2p1:PostalCode> <d2p1:State>sample string 4</d2p1:State> <d2p1:Unique>true</d2p1:Unique> </d2p1:WorkAddress> <d2p1:WorkPhone>sample string 5</d2p1:WorkPhone> </Registrant> </CareCenterRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RegistrationVirtualCareCenterLookUpResponseName | Description | Type | Additional information |
---|---|---|---|
ErrorCode | integer |
None. |
|
ErrorMessage | string |
None. |
|
CareCenters | Collection of RegistrationVirtualCareCenter |
None. |
Response Formats
application/json, text/json
Sample:
{ "careCenters": [ { "laboratoryID": 1, "name": "sample string 2", "address": { "addressLine1": "sample string 1", "addressLine2": "sample string 2", "city": "sample string 3", "state": "sample string 4", "postalCode": "sample string 5", "countryCode": 6, "unique": true }, "phoneNumber": "sample string 3", "descriptionOfServicesOffered": "sample string 4", "epidemicName": "sample string 5", "occupancyLevel": 6 }, { "laboratoryID": 1, "name": "sample string 2", "address": { "addressLine1": "sample string 1", "addressLine2": "sample string 2", "city": "sample string 3", "state": "sample string 4", "postalCode": "sample string 5", "countryCode": 6, "unique": true }, "phoneNumber": "sample string 3", "descriptionOfServicesOffered": "sample string 4", "epidemicName": "sample string 5", "occupancyLevel": 6 } ], "errorCode": 1, "errorMessage": "sample string 2" }
application/xml, text/xml
Sample:
<RegistrationVirtualCareCenterLookUpResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DomainObjects"> <CareCenters> <RegistrationVirtualCareCenter> <Address> <AddressLine1>sample string 1</AddressLine1> <AddressLine2>sample string 2</AddressLine2> <City>sample string 3</City> <CountryCode>6</CountryCode> <PostalCode>sample string 5</PostalCode> <State>sample string 4</State> <Unique>true</Unique> </Address> <DescriptionOfServicesOffered>sample string 4</DescriptionOfServicesOffered> <EpidemicName>sample string 5</EpidemicName> <LaboratoryID>1</LaboratoryID> <Name>sample string 2</Name> <OccupancyLevel>6</OccupancyLevel> <PhoneNumber>sample string 3</PhoneNumber> </RegistrationVirtualCareCenter> <RegistrationVirtualCareCenter> <Address> <AddressLine1>sample string 1</AddressLine1> <AddressLine2>sample string 2</AddressLine2> <City>sample string 3</City> <CountryCode>6</CountryCode> <PostalCode>sample string 5</PostalCode> <State>sample string 4</State> <Unique>true</Unique> </Address> <DescriptionOfServicesOffered>sample string 4</DescriptionOfServicesOffered> <EpidemicName>sample string 5</EpidemicName> <LaboratoryID>1</LaboratoryID> <Name>sample string 2</Name> <OccupancyLevel>6</OccupancyLevel> <PhoneNumber>sample string 3</PhoneNumber> </RegistrationVirtualCareCenter> </CareCenters> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 2</ErrorMessage> </RegistrationVirtualCareCenterLookUpResponse>