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": "72ccb875-0408-4865-be38-c1a7234fc204",
"RelationshipID": "ab7d8b69-db52-48f7-bacf-e1cad34552a5",
"Name": "sample string 2",
"Phone": "sample string 3",
"Priority": 1,
"Address": "sample string 4"
},
"PatientID": "a7a6c7b4-d2ae-4ec9-8726-5888613e6696",
"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>a7a6c7b4-d2ae-4ec9-8726-5888613e6696</PatientID>
<WebApiVersion>2</WebApiVersion>
<PatientEmergencyContact>
<Address>sample string 4</Address>
<Name>sample string 2</Name>
<PatientEmergencyContactID>72ccb875-0408-4865-be38-c1a7234fc204</PatientEmergencyContactID>
<Phone>sample string 3</Phone>
<Priority>1</Priority>
<RelationshipID>ab7d8b69-db52-48f7-bacf-e1cad34552a5</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": "1332401c-7e46-43aa-9b52-be0a2b5b29ea",
"RelationshipID": "017d3098-dd33-4ab6-a016-58ebcb901abb",
"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>1332401c-7e46-43aa-9b52-be0a2b5b29ea</PatientEmergencyContactID>
<Phone>sample string 3</Phone>
<Priority>1</Priority>
<RelationshipID>017d3098-dd33-4ab6-a016-58ebcb901abb</RelationshipID>
</PatientEmergencyContact>
</PatientEmergencyContactResponse>