POST api/PatientAllergies

Request Information

URI Parameters

None.

Body Parameters

PatientAllergy
NameDescriptionTypeAdditional information
ID

integer

None.

CPI

string

None.

DIV_ID

integer

None.

ALLERGEN

string

None.

REACTION

string

None.

NOTED_DATE

date

None.

ENTR_DATE

date

None.

ENTR_BY

string

None.

DELETED

boolean

None.

DLT_BY

string

None.

DLT_DATE

date

None.

LIFE_THREAT

string

None.

SEVERITY

string

None.

OLD

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "CPI": "sample string 2",
  "DIV_ID": 3,
  "ALLERGEN": "sample string 4",
  "REACTION": "sample string 5",
  "NOTED_DATE": "2025-08-23T18:13:21.5620752+00:00",
  "ENTR_DATE": "2025-08-23T18:13:21.5620752+00:00",
  "ENTR_BY": "sample string 6",
  "DELETED": true,
  "DLT_BY": "sample string 8",
  "DLT_DATE": "2025-08-23T18:13:21.5620752+00:00",
  "LIFE_THREAT": "sample string 9",
  "SEVERITY": "sample string 10",
  "OLD": 1
}

application/octet-stream

Sample:
{"ID":1,"CPI":"sample string 2","DIV_ID":3,"ALLERGEN":"sample string 4","REACTION":"sample string 5","NOTED_DATE":"2025-08-23T18:13:21.5620752+00:00","ENTR_DATE":"2025-08-23T18:13:21.5620752+00:00","ENTR_BY":"sample string 6","DELETED":true,"DLT_BY":"sample string 8","DLT_DATE":"2025-08-23T18:13:21.5620752+00:00","LIFE_THREAT":"sample string 9","SEVERITY":"sample string 10","OLD":1}

application/xml, text/xml

Sample:
<PatientAllergy xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <CPI>sample string 2</CPI>
  <DIV_ID>3</DIV_ID>
  <ALLERGEN>sample string 4</ALLERGEN>
  <REACTION>sample string 5</REACTION>
  <NOTED_DATE>2025-08-23T18:13:21.5620752+00:00</NOTED_DATE>
  <ENTR_DATE>2025-08-23T18:13:21.5620752+00:00</ENTR_DATE>
  <ENTR_BY>sample string 6</ENTR_BY>
  <DELETED>true</DELETED>
  <DLT_BY>sample string 8</DLT_BY>
  <DLT_DATE>2025-08-23T18:13:21.5620752+00:00</DLT_DATE>
  <LIFE_THREAT>sample string 9</LIFE_THREAT>
  <SEVERITY>sample string 10</SEVERITY>
  <OLD>1</OLD>
</PatientAllergy>

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

Response Information

Resource Description

PatientAllergy
NameDescriptionTypeAdditional information
ID

integer

None.

CPI

string

None.

DIV_ID

integer

None.

ALLERGEN

string

None.

REACTION

string

None.

NOTED_DATE

date

None.

ENTR_DATE

date

None.

ENTR_BY

string

None.

DELETED

boolean

None.

DLT_BY

string

None.

DLT_DATE

date

None.

LIFE_THREAT

string

None.

SEVERITY

string

None.

OLD

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "CPI": "sample string 2",
  "DIV_ID": 3,
  "ALLERGEN": "sample string 4",
  "REACTION": "sample string 5",
  "NOTED_DATE": "2025-08-23T18:13:21.6245963+00:00",
  "ENTR_DATE": "2025-08-23T18:13:21.6245963+00:00",
  "ENTR_BY": "sample string 6",
  "DELETED": true,
  "DLT_BY": "sample string 8",
  "DLT_DATE": "2025-08-23T18:13:21.6245963+00:00",
  "LIFE_THREAT": "sample string 9",
  "SEVERITY": "sample string 10",
  "OLD": 1
}

application/octet-stream

Sample:
{"ID":1,"CPI":"sample string 2","DIV_ID":3,"ALLERGEN":"sample string 4","REACTION":"sample string 5","NOTED_DATE":"2025-08-23T18:13:21.6245963+00:00","ENTR_DATE":"2025-08-23T18:13:21.6245963+00:00","ENTR_BY":"sample string 6","DELETED":true,"DLT_BY":"sample string 8","DLT_DATE":"2025-08-23T18:13:21.6245963+00:00","LIFE_THREAT":"sample string 9","SEVERITY":"sample string 10","OLD":1}

application/xml, text/xml

Sample:
<PatientAllergy xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <CPI>sample string 2</CPI>
  <DIV_ID>3</DIV_ID>
  <ALLERGEN>sample string 4</ALLERGEN>
  <REACTION>sample string 5</REACTION>
  <NOTED_DATE>2025-08-23T18:13:21.6245963+00:00</NOTED_DATE>
  <ENTR_DATE>2025-08-23T18:13:21.6245963+00:00</ENTR_DATE>
  <ENTR_BY>sample string 6</ENTR_BY>
  <DELETED>true</DELETED>
  <DLT_BY>sample string 8</DLT_BY>
  <DLT_DATE>2025-08-23T18:13:21.6245963+00:00</DLT_DATE>
  <LIFE_THREAT>sample string 9</LIFE_THREAT>
  <SEVERITY>sample string 10</SEVERITY>
  <OLD>1</OLD>
</PatientAllergy>