POST AddAllergy

Request Information

URI Parameters

None.

Body Parameters

Allergy
NameDescriptionTypeAdditional information
Allergies

string

None.

id

integer

None.

EmergencyInfo

integer

None.

DateCreated

date

None.

LastModified

date

None.

UserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Allergies": "sample string 1",
  "id": 2,
  "EmergencyInfo": 1,
  "DateCreated": "2025-12-09T04:05:41.0199665+02:00",
  "LastModified": "2025-12-09T04:05:41.0199665+02:00",
  "UserId": "sample string 5"
}

application/xml, text/xml

Sample:
<Allergy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PanicSAAPI.Database">
  <Allergies>sample string 1</Allergies>
  <DateCreated>2025-12-09T04:05:41.0199665+02:00</DateCreated>
  <EmergencyInfo>1</EmergencyInfo>
  <LastModified>2025-12-09T04:05:41.0199665+02:00</LastModified>
  <UserId>sample string 5</UserId>
  <id>2</id>
</Allergy>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.