POST api/patientdetails

Request Information

URI Parameters

None.

Body Parameters

PatientDetails
NameDescriptionTypeAdditional information
Dml_Indicator

string

None.

Id

integer

None.

Patientid

string

Max length: 45

Firstname

string

Max length: 50

Middlename

string

Max length: 50

Lastname

string

Max length: 50

Age

string

Max length: 50

Gender

string

Max length: 50

Address1

string

Max length: 100

Address2

string

Max length: 100

City

integer

None.

State

integer

None.

Country

integer

None.

Phonenumber

string

None.

Email

string

Max length: 90

Occupation

integer

None.

Registrationdate

string

None.

Status

integer

None.

Created_by

integer

None.

Created_on

string

None.

Updated_by

integer

None.

Updated_on

string

None.

Salutation

integer

None.

temp_id

integer

None.

dob

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Dml_Indicator": "sample string 1",
  "Id": 2,
  "Patientid": "sample string 3",
  "Firstname": "sample string 4",
  "Middlename": "sample string 5",
  "Lastname": "sample string 6",
  "Age": "sample string 7",
  "Gender": "sample string 8",
  "Address1": "sample string 9",
  "Address2": "sample string 10",
  "City": 11,
  "State": 12,
  "Country": 13,
  "Phonenumber": "sample string 14",
  "Email": "sample string 15",
  "Occupation": 16,
  "Registrationdate": "sample string 17",
  "Status": 18,
  "Created_by": 19,
  "Created_on": "sample string 20",
  "Updated_by": 21,
  "Updated_on": "sample string 22",
  "Salutation": 23,
  "temp_id": 24,
  "dob": "sample string 25"
}

application/xml, text/xml

Sample:
<PatientDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityLayer">
  <Address1>sample string 9</Address1>
  <Address2>sample string 10</Address2>
  <Age>sample string 7</Age>
  <City>11</City>
  <Country>13</Country>
  <Created_by>19</Created_by>
  <Created_on>sample string 20</Created_on>
  <Dml_Indicator>sample string 1</Dml_Indicator>
  <Email>sample string 15</Email>
  <Firstname>sample string 4</Firstname>
  <Gender>sample string 8</Gender>
  <Id>2</Id>
  <Lastname>sample string 6</Lastname>
  <Middlename>sample string 5</Middlename>
  <Occupation>16</Occupation>
  <Patientid>sample string 3</Patientid>
  <Phonenumber>sample string 14</Phonenumber>
  <Registrationdate>sample string 17</Registrationdate>
  <Salutation>23</Salutation>
  <State>12</State>
  <Status>18</Status>
  <Updated_by>21</Updated_by>
  <Updated_on>sample string 22</Updated_on>
  <dob>sample string 25</dob>
  <temp_id>24</temp_id>
</PatientDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.