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": "9cfa5d4e-cea2-47fb-96d4-9201c1bfcfcd",
"RelationshipID": "3de93b30-9413-48bd-92fd-a0608b6974bb",
"Name": "sample string 2",
"Phone": "sample string 3",
"Priority": 1,
"Address": "sample string 4"
},
"PatientID": "2a9ece97-1775-4742-9707-18f2928d7be7",
"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>2a9ece97-1775-4742-9707-18f2928d7be7</PatientID>
<WebApiVersion>2</WebApiVersion>
<PatientEmergencyContact>
<Address>sample string 4</Address>
<Name>sample string 2</Name>
<PatientEmergencyContactID>9cfa5d4e-cea2-47fb-96d4-9201c1bfcfcd</PatientEmergencyContactID>
<Phone>sample string 3</Phone>
<Priority>1</Priority>
<RelationshipID>3de93b30-9413-48bd-92fd-a0608b6974bb</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": "42180a98-799d-4866-943c-e359fd8eb311",
"RelationshipID": "957d0f2c-ed0d-488d-b44b-bff32284f033",
"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>42180a98-799d-4866-943c-e359fd8eb311</PatientEmergencyContactID>
<Phone>sample string 3</Phone>
<Priority>1</Priority>
<RelationshipID>957d0f2c-ed0d-488d-b44b-bff32284f033</RelationshipID>
</PatientEmergencyContact>
</PatientEmergencyContactResponse>