POST api/Patient/PatientEmergencyContactUpdate
Request Information
URI Parameters
None.
Body Parameters
PatientEmergencyContactUpdateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientEmergencyContact | PatientEmergencyContact |
None. |
|
| PatientID | globally unique identifier |
None. |
|
| WebApiVersion | integer |
None. |
|
| Language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientEmergencyContact": {
"PatientEmergencyContactID": "ae81ee55-0d01-4798-9335-9f85325f0794",
"RelationshipID": "185dcdd7-378b-4a8e-95d1-60abaae6ff0a",
"Name": "sample string 2",
"Phone": "sample string 3",
"Priority": 1,
"Address": "sample string 4"
},
"PatientID": "278652a1-fbfe-4bd5-9840-92e11e7d5129",
"WebApiVersion": 2,
"Language": "sample string 3"
}
application/xml, text/xml
Sample:
<PatientEmergencyContactUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<Language>sample string 3</Language>
<PatientID>278652a1-fbfe-4bd5-9840-92e11e7d5129</PatientID>
<WebApiVersion>2</WebApiVersion>
<PatientEmergencyContact>
<Address>sample string 4</Address>
<Name>sample string 2</Name>
<PatientEmergencyContactID>ae81ee55-0d01-4798-9335-9f85325f0794</PatientEmergencyContactID>
<Phone>sample string 3</Phone>
<Priority>1</Priority>
<RelationshipID>185dcdd7-378b-4a8e-95d1-60abaae6ff0a</RelationshipID>
</PatientEmergencyContact>
</PatientEmergencyContactUpdateRequest>
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": "83ec4cf7-8f60-40ca-b68a-dc2c9b5e3677",
"RelationshipID": "0a90fd03-4564-4e00-a870-7d120e4cc8e4",
"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>83ec4cf7-8f60-40ca-b68a-dc2c9b5e3677</PatientEmergencyContactID>
<Phone>sample string 3</Phone>
<Priority>1</Priority>
<RelationshipID>0a90fd03-4564-4e00-a870-7d120e4cc8e4</RelationshipID>
</PatientEmergencyContact>
</PatientEmergencyContactResponse>