POST api/Patient/PatientEmergencyContactAdd

Request Information

URI Parameters

None.

Body Parameters

PatientEmergencyContactAddRequest
NameDescriptionTypeAdditional information
PatientEmergencyContactAdd

PatientEmergencyContactAdd

None.

PatientID

globally unique identifier

None.

WebApiVersion

integer

None.

Language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientEmergencyContactAdd": {
    "RelationshipID": "a20d670e-1023-49d6-a047-57b75a57e8c8",
    "Name": "sample string 1",
    "Phone": "sample string 2",
    "Priority": 1,
    "Address": "sample string 3"
  },
  "PatientID": "9989cd36-01b1-4d4b-9164-7512179a27bc",
  "WebApiVersion": 2,
  "Language": "sample string 3"
}

application/xml, text/xml

Sample:
<PatientEmergencyContactAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <Language>sample string 3</Language>
  <PatientID>9989cd36-01b1-4d4b-9164-7512179a27bc</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientEmergencyContactAdd>
    <Address>sample string 3</Address>
    <Name>sample string 1</Name>
    <Phone>sample string 2</Phone>
    <Priority>1</Priority>
    <RelationshipID>a20d670e-1023-49d6-a047-57b75a57e8c8</RelationshipID>
  </PatientEmergencyContactAdd>
</PatientEmergencyContactAddRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PatientEmergencyContactResponse
NameDescriptionTypeAdditional information
PatientEmergencyContact

PatientEmergencyContact

None.

WebApiVersion

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "PatientEmergencyContact": {
    "PatientEmergencyContactID": "c670f506-31f0-4c9f-9de6-c8bdd201bea3",
    "RelationshipID": "de318cf8-43fb-4d00-9135-6e8078c03a55",
    "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>c670f506-31f0-4c9f-9de6-c8bdd201bea3</PatientEmergencyContactID>
    <Phone>sample string 3</Phone>
    <Priority>1</Priority>
    <RelationshipID>de318cf8-43fb-4d00-9135-6e8078c03a55</RelationshipID>
  </PatientEmergencyContact>
</PatientEmergencyContactResponse>