POST api/Patient/PatientEmergencyContactAdd
Request Information
URI Parameters
None.
Body Parameters
PatientEmergencyContactAddRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientEmergencyContactAdd | PatientEmergencyContactAdd |
None. |
|
| PatientID | globally unique identifier |
None. |
|
| WebApiVersion | integer |
None. |
|
| Language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientEmergencyContactAdd": {
"RelationshipID": "8ae55aec-3383-4eff-90b8-141419eb38b5",
"Name": "sample string 1",
"Phone": "sample string 2",
"Priority": 1,
"Address": "sample string 3"
},
"PatientID": "91385efe-2577-40b6-8c28-eea5a3332ed2",
"WebApiVersion": 2,
"Language": "sample string 3"
}
application/xml, text/xml
Sample:
<PatientEmergencyContactAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<Language>sample string 3</Language>
<PatientID>91385efe-2577-40b6-8c28-eea5a3332ed2</PatientID>
<WebApiVersion>2</WebApiVersion>
<PatientEmergencyContactAdd>
<Address>sample string 3</Address>
<Name>sample string 1</Name>
<Phone>sample string 2</Phone>
<Priority>1</Priority>
<RelationshipID>8ae55aec-3383-4eff-90b8-141419eb38b5</RelationshipID>
</PatientEmergencyContactAdd>
</PatientEmergencyContactAddRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PatientEmergencyContactResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientEmergencyContact | PatientEmergencyContact |
None. |
|
| WebApiVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"PatientEmergencyContact": {
"PatientEmergencyContactID": "8ffd2ad1-318b-486e-bd72-4c198cda7bec",
"RelationshipID": "603269e0-1bc3-408d-9b24-b2258f717be4",
"Name": "sample string 2",
"Phone": "sample string 3",
"Priority": 1,
"Address": "sample string 4"
},
"WebApiVersion": 1
}
application/xml, text/xml
Sample:
<PatientEmergencyContactResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<WebApiVersion>1</WebApiVersion>
<PatientEmergencyContact>
<Address>sample string 4</Address>
<Name>sample string 2</Name>
<PatientEmergencyContactID>8ffd2ad1-318b-486e-bd72-4c198cda7bec</PatientEmergencyContactID>
<Phone>sample string 3</Phone>
<Priority>1</Priority>
<RelationshipID>603269e0-1bc3-408d-9b24-b2258f717be4</RelationshipID>
</PatientEmergencyContact>
</PatientEmergencyContactResponse>