POST api/PHR/UpdateOpenPHR

Request Information

URI Parameters

None.

Body Parameters

EMR_PHR
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

MobileNo

string

None.

Email

string

None.

UserId

string

None.

Gender

string

None.

FamilyMemberName

string

None.

FamilyMobileNumber

string

None.

EmergencyContactPerson

string

None.

EmergencyContactNumber

string

None.

Address

string

None.

City

string

None.

State

string

None.

Country

string

None.

Zipcode

string

None.

MaritalStatus

string

None.

DetailId

string

None.

DOB

string

None.

SSN

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "MobileNo": "sample string 3",
  "Email": "sample string 4",
  "UserId": "sample string 5",
  "Gender": "sample string 6",
  "FamilyMemberName": "sample string 7",
  "FamilyMobileNumber": "sample string 8",
  "EmergencyContactPerson": "sample string 9",
  "EmergencyContactNumber": "sample string 10",
  "Address": "sample string 11",
  "City": "sample string 12",
  "State": "sample string 13",
  "Country": "sample string 14",
  "Zipcode": "sample string 15",
  "MaritalStatus": "sample string 16",
  "DetailId": "sample string 17",
  "DOB": "sample string 18",
  "SSN": "sample string 19"
}

application/xml, text/xml

Sample:
<EMR_PHR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.PHRDetails">
  <Address>sample string 11</Address>
  <City>sample string 12</City>
  <Country>sample string 14</Country>
  <DOB>sample string 18</DOB>
  <DetailId>sample string 17</DetailId>
  <Email>sample string 4</Email>
  <EmergencyContactNumber>sample string 10</EmergencyContactNumber>
  <EmergencyContactPerson>sample string 9</EmergencyContactPerson>
  <FamilyMemberName>sample string 7</FamilyMemberName>
  <FamilyMobileNumber>sample string 8</FamilyMobileNumber>
  <FirstName>sample string 1</FirstName>
  <Gender>sample string 6</Gender>
  <LastName>sample string 2</LastName>
  <MaritalStatus>sample string 16</MaritalStatus>
  <MobileNo>sample string 3</MobileNo>
  <SSN>sample string 19</SSN>
  <State>sample string 13</State>
  <UserId>sample string 5</UserId>
  <Zipcode>sample string 15</Zipcode>
</EMR_PHR>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EMR_PHR'.

Response Information

Resource Description

ResponseOfBoolean
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Status

integer

None.

Result

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Status": 3,
  "Result": true
}

application/xml, text/xml

Sample:
<ResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
  <Result>true</Result>
  <Status>3</Status>
</ResponseOfboolean>