POST api/ConfigurationData/Patient

Request Information

URI Parameters

None.

Body Parameters

PatientModel
NameDescriptionTypeAdditional information
Id

integer

None.

FamilyName

string

None.

GivenName

string

None.

GivenName2

string

None.

CommonName

string

None.

DateOfBirth

date

None.

Address1

string

None.

Address2

string

None.

City

string

None.

State

StateResponse

None.

PostCode

string

None.

Telephone

string

None.

Gender

GenderModel

None.

Age

decimal number

None.

GestationalAge

integer

Range: inclusive between 20 and 45

CorrectedAge

integer

None.

Email

string

None.

Country

CountryResponse

None.

Hospital

string

None.

BillingAddress

string

None.

UR

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "FamilyName": "sample string 1",
  "GivenName": "sample string 2",
  "GivenName2": "sample string 3",
  "CommonName": "sample string 4",
  "DateOfBirth": "2019-10-18T06:00:39.1167278Z",
  "Address1": "sample string 5",
  "Address2": "sample string 6",
  "City": "sample string 7",
  "State": {
    "Id": 1,
    "CountryCode": "sample string 1",
    "StateName": "sample string 2"
  },
  "PostCode": "sample string 8",
  "Telephone": "sample string 9",
  "Gender": {
    "Id": 1,
    "Name": "sample string 2"
  },
  "Age": 1.0,
  "GestationalAge": 1,
  "CorrectedAge": 10,
  "Email": "sample string 11",
  "Country": {
    "Id": 1,
    "CountryCode": "sample string 1",
    "CountryName": "sample string 2"
  },
  "Hospital": "sample string 12",
  "BillingAddress": "sample string 13",
  "UR": 1
}

application/xml, text/xml

Sample:
<PatientModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Anaessist.Models.RequestModel">
  <Address1>sample string 5</Address1>
  <Address2>sample string 6</Address2>
  <Age>1</Age>
  <BillingAddress>sample string 13</BillingAddress>
  <City>sample string 7</City>
  <CommonName>sample string 4</CommonName>
  <CorrectedAge>10</CorrectedAge>
  <Country xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models">
    <d2p1:CountryCode>sample string 1</d2p1:CountryCode>
    <d2p1:CountryName>sample string 2</d2p1:CountryName>
    <d2p1:Id>1</d2p1:Id>
  </Country>
  <DateOfBirth>2019-10-18T06:00:39.1167278+00:00</DateOfBirth>
  <Email>sample string 11</Email>
  <FamilyName>sample string 1</FamilyName>
  <Gender xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models.ApplicationModel">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </Gender>
  <GestationalAge>1</GestationalAge>
  <GivenName>sample string 2</GivenName>
  <GivenName2>sample string 3</GivenName2>
  <Hospital>sample string 12</Hospital>
  <Id>1</Id>
  <PostCode>sample string 8</PostCode>
  <State xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models">
    <d2p1:CountryCode>sample string 1</d2p1:CountryCode>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:StateName>sample string 2</d2p1:StateName>
  </State>
  <Telephone>sample string 9</Telephone>
  <UR>1</UR>
</PatientModel>

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.