POST TCPv1/WSHPRA/HospitalandNursebyID?Token={Token}&UserID={UserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
Required |
|
| UserID | integer |
Required |
Body Parameters
HospitalandNurseById| Name | Description | Type | Additional information |
|---|---|---|---|
| HospitalID | integer |
None. |
|
| IsPrescribed | boolean |
None. |
|
| HospitalName | string |
None. |
|
| ProfileTypeID | integer |
None. |
|
| TypeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"HospitalID": 1,
"IsPrescribed": true,
"HospitalName": "sample string 3",
"ProfileTypeID": 4,
"TypeId": 5
}
application/xml, text/xml
Sample:
<HospitalandNurseById xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.SmartAPI"> <HospitalID>1</HospitalID> <HospitalName>sample string 3</HospitalName> <IsPrescribed>true</IsPrescribed> <ProfileTypeID>4</ProfileTypeID> <TypeId>5</TypeId> </HospitalandNurseById>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |