GET Hospitals?code={code}
Gets a hospital record by code.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
code | Hospital code |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "Code": "sample string 1", "Name": "sample string 2" }
text/html
Sample:
{"Code":"sample string 1","Name":"sample string 2"}
application/xml, text/xml
Sample:
<Hospital xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PhysicianDirectoryWebService.Models"> <Code>sample string 1</Code> <Name>sample string 2</Name> </Hospital>