POST api/Whhospitals
Request Information
URI Parameters
None.
Body Parameters
WhhospitalRequestName | Description | Type | Additional information |
---|---|---|---|
PinCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PinCode": "sample string 1" }
application/xml, text/xml
Sample:
<WhhospitalRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerAPI.Models"> <PinCode>sample string 1</PinCode> </WhhospitalRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
WhhospitalResponseName | Description | Type | Additional information |
---|---|---|---|
code | integer |
None. |
|
status | string |
None. |
|
responseBody | clsresponseBody_hosp |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "status": "sample string 2", "responseBody": { "text": "sample string 1", "attributes": [ { "attrname": "sample string 1", "attrvalue": "sample string 2" }, { "attrname": "sample string 1", "attrvalue": "sample string 2" } ] } }
application/xml, text/xml
Sample:
<WhhospitalResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerAPI.Models"> <code>1</code> <responseBody> <attributes> <cls_HospList> <attrname>sample string 1</attrname> <attrvalue>sample string 2</attrvalue> </cls_HospList> <cls_HospList> <attrname>sample string 1</attrname> <attrvalue>sample string 2</attrvalue> </cls_HospList> </attributes> <text>sample string 1</text> </responseBody> <status>sample string 2</status> </WhhospitalResponse>