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": "662bedbb-3aa4-46e1-9f71-81237c95c393",
"RelationshipID": "019cf11e-3b85-4452-b4ee-2738930a2c4a",
"Name": "sample string 2",
"Phone": "sample string 3",
"Priority": 1,
"Address": "sample string 4"
},
"PatientID": "b155175e-ec4d-442d-b1ac-df89c56e9723",
"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>b155175e-ec4d-442d-b1ac-df89c56e9723</PatientID>
<WebApiVersion>2</WebApiVersion>
<PatientEmergencyContact>
<Address>sample string 4</Address>
<Name>sample string 2</Name>
<PatientEmergencyContactID>662bedbb-3aa4-46e1-9f71-81237c95c393</PatientEmergencyContactID>
<Phone>sample string 3</Phone>
<Priority>1</Priority>
<RelationshipID>019cf11e-3b85-4452-b4ee-2738930a2c4a</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": "3008dac7-4368-4a6f-ace0-3b2f22fb07e5",
"RelationshipID": "b974f3c4-72b0-4709-ae38-e334350e40e6",
"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>3008dac7-4368-4a6f-ace0-3b2f22fb07e5</PatientEmergencyContactID>
<Phone>sample string 3</Phone>
<Priority>1</Priority>
<RelationshipID>b974f3c4-72b0-4709-ae38-e334350e40e6</RelationshipID>
</PatientEmergencyContact>
</PatientEmergencyContactResponse>