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": "48a0ffa2-2ac3-4217-a9a3-becd96b1608f",
"RelationshipID": "d9d7b579-8e6b-4bdb-8ab2-4c0640bd17c2",
"Name": "sample string 2",
"Phone": "sample string 3",
"Priority": 1,
"Address": "sample string 4"
},
"PatientID": "00dded83-defc-492b-8f3f-1ab07443ea1d",
"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>00dded83-defc-492b-8f3f-1ab07443ea1d</PatientID>
<WebApiVersion>2</WebApiVersion>
<PatientEmergencyContact>
<Address>sample string 4</Address>
<Name>sample string 2</Name>
<PatientEmergencyContactID>48a0ffa2-2ac3-4217-a9a3-becd96b1608f</PatientEmergencyContactID>
<Phone>sample string 3</Phone>
<Priority>1</Priority>
<RelationshipID>d9d7b579-8e6b-4bdb-8ab2-4c0640bd17c2</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": "0557117f-031e-4e87-96fb-77f6bbf8c8d1",
"RelationshipID": "bf2aa345-2477-4552-b8a6-41d1105dd748",
"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>0557117f-031e-4e87-96fb-77f6bbf8c8d1</PatientEmergencyContactID>
<Phone>sample string 3</Phone>
<Priority>1</Priority>
<RelationshipID>bf2aa345-2477-4552-b8a6-41d1105dd748</RelationshipID>
</PatientEmergencyContact>
</PatientEmergencyContactResponse>