POST api/PHR/SubmitGeneralPHR

Request Information

URI Parameters

None.

Body Parameters

CommonRequest
NameDescriptionTypeAdditional information
Request

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Request": "sample string 1"
}

application/xml, text/xml

Sample:
<CommonRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common">
  <Request>sample string 1</Request>
</CommonRequest>

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 'CommonRequest'.

Response Information

Resource Description

ResponseOfGeneralPHRModel
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Status

integer

None.

Result

GeneralPHRModel

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Status": 3,
  "Result": {
    "FirstName": "sample string 1",
    "LastName": "sample string 2",
    "SSN": "sample string 3",
    "DOB": "sample string 4",
    "Gender": 5,
    "MaritalStatus": 6,
    "Height": 7.0,
    "Weight": 8.0,
    "BloodType": 9,
    "BloodTypeName": "sample string 10",
    "AddressId": 11,
    "Address": "sample string 12",
    "City": "sample string 13",
    "State": "sample string 14",
    "Country": "sample string 15",
    "ZipCode": "sample string 16",
    "CountryCode": 17,
    "MobileNumber": "sample string 18",
    "EmergencyPerson": "sample string 19",
    "EmergencyCountryCode": 20,
    "EmergencyMobileNumber": "sample string 21",
    "FamilyData": [
      {
        "Name": "sample string 1",
        "FamilyDetailId": 2,
        "MemberType": 3,
        "Address": "sample string 4",
        "City": "sample string 5",
        "State": "sample string 6",
        "Country": "sample string 7",
        "ZipCode": "sample string 8",
        "CountryCode": 9,
        "MobileNumber": "sample string 10",
        "PhrId": 11
      },
      {
        "Name": "sample string 1",
        "FamilyDetailId": 2,
        "MemberType": 3,
        "Address": "sample string 4",
        "City": "sample string 5",
        "State": "sample string 6",
        "Country": "sample string 7",
        "ZipCode": "sample string 8",
        "CountryCode": 9,
        "MobileNumber": "sample string 10",
        "PhrId": 11
      }
    ],
    "PhrId": 22
  }
}

application/xml, text/xml

Sample:
<ResponseOfGeneralPHRModelQLZlyOoP 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 xmlns:d2p1="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.PHRDetails">
    <d2p1:PhrId>22</d2p1:PhrId>
    <d2p1:Address>sample string 12</d2p1:Address>
    <d2p1:AddressId>11</d2p1:AddressId>
    <d2p1:BloodType>9</d2p1:BloodType>
    <d2p1:BloodTypeName>sample string 10</d2p1:BloodTypeName>
    <d2p1:City>sample string 13</d2p1:City>
    <d2p1:Country>sample string 15</d2p1:Country>
    <d2p1:CountryCode>17</d2p1:CountryCode>
    <d2p1:DOB>sample string 4</d2p1:DOB>
    <d2p1:EmergencyCountryCode>20</d2p1:EmergencyCountryCode>
    <d2p1:EmergencyMobileNumber>sample string 21</d2p1:EmergencyMobileNumber>
    <d2p1:EmergencyPerson>sample string 19</d2p1:EmergencyPerson>
    <d2p1:FamilyData>
      <d2p1:FamilyDetails>
        <d2p1:PhrId>11</d2p1:PhrId>
        <d2p1:Address>sample string 4</d2p1:Address>
        <d2p1:City>sample string 5</d2p1:City>
        <d2p1:Country>sample string 7</d2p1:Country>
        <d2p1:CountryCode>9</d2p1:CountryCode>
        <d2p1:FamilyDetailId>2</d2p1:FamilyDetailId>
        <d2p1:MemberType>3</d2p1:MemberType>
        <d2p1:MobileNumber>sample string 10</d2p1:MobileNumber>
        <d2p1:Name>sample string 1</d2p1:Name>
        <d2p1:State>sample string 6</d2p1:State>
        <d2p1:ZipCode>sample string 8</d2p1:ZipCode>
      </d2p1:FamilyDetails>
      <d2p1:FamilyDetails>
        <d2p1:PhrId>11</d2p1:PhrId>
        <d2p1:Address>sample string 4</d2p1:Address>
        <d2p1:City>sample string 5</d2p1:City>
        <d2p1:Country>sample string 7</d2p1:Country>
        <d2p1:CountryCode>9</d2p1:CountryCode>
        <d2p1:FamilyDetailId>2</d2p1:FamilyDetailId>
        <d2p1:MemberType>3</d2p1:MemberType>
        <d2p1:MobileNumber>sample string 10</d2p1:MobileNumber>
        <d2p1:Name>sample string 1</d2p1:Name>
        <d2p1:State>sample string 6</d2p1:State>
        <d2p1:ZipCode>sample string 8</d2p1:ZipCode>
      </d2p1:FamilyDetails>
    </d2p1:FamilyData>
    <d2p1:FirstName>sample string 1</d2p1:FirstName>
    <d2p1:Gender>5</d2p1:Gender>
    <d2p1:Height>7</d2p1:Height>
    <d2p1:LastName>sample string 2</d2p1:LastName>
    <d2p1:MaritalStatus>6</d2p1:MaritalStatus>
    <d2p1:MobileNumber>sample string 18</d2p1:MobileNumber>
    <d2p1:SSN>sample string 3</d2p1:SSN>
    <d2p1:State>sample string 14</d2p1:State>
    <d2p1:Weight>8</d2p1:Weight>
    <d2p1:ZipCode>sample string 16</d2p1:ZipCode>
  </Result>
  <Status>3</Status>
</ResponseOfGeneralPHRModelQLZlyOoP>