POST PlanCare2Api/MedicalAllergyIntolerance/Update
Update MedicalAllergyIntolerance.
Relation(s) can be of the following types: Client, Prospect
Requires 'Edit' permission for function MedicalAllergyIntolerance {69731383-9F0D-48C6-81D1-F8456D0A2E91}
Request Information
URI Parameters
None.
Body Parameters
MedicalAllergyIntolerance.
MedicalAllergyIntolerance| Name | Description | Type | Additional information |
|---|---|---|---|
| CausingSubstance |
Causing substance. |
string |
Required |
| MedicalCodeAllergyCategoryId |
Id of MedicalCodeAllergyCategory (MedicalCodeListType.AllergyCategory). |
globally unique identifier |
Nullable |
| MedicalCodeAllergyStatusId |
Id of MedicalCodeAllergyStatus (MedicalCodeListType.AllergyStatus). |
globally unique identifier |
Required |
| StartDateTime |
Date and time when the allergy intolerance started. |
date |
Nullable |
| MedicalCodeDegreeOfCriticismId |
Id of MedicalCodeDegreeOfCriticism (MedicalCodeListType.AllergyDegreeOfCriticism). |
globally unique identifier |
Required |
| Reactions |
Reactions. |
string |
- |
| Id |
Id of the registration. |
integer |
- |
| RelationId |
Id of the relation which the registration belongs to. |
integer |
Required |
| RegistrationDateTime |
DateTime of measurement. |
date |
Required |
| Source |
Source of registration (example: name of the questionnaire). |
string |
- |
Request Formats
application/json, text/json
{
"CausingSubstance": "sample string 1",
"MedicalCodeAllergyCategoryId": "65562b34-df54-42c7-96ed-3b8fa65622a7",
"MedicalCodeAllergyStatusId": "b9fff9cb-31a1-4c4d-91ca-26f4ed08671d",
"StartDateTime": "2026-05-26T22:06:54.6509712+02:00",
"MedicalCodeDegreeOfCriticismId": "70a66501-69ba-4590-990a-12cb01647bae",
"Reactions": "sample string 4",
"Id": 5,
"RelationId": 6,
"RegistrationDateTime": "2026-05-26T22:06:54.6509712+02:00",
"Source": "sample string 8"
}
application/xml, text/xml
<MedicalAllergyIntolerance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Medical"> <Id>5</Id> <RegistrationDateTime>2026-05-26T22:06:54.6509712+02:00</RegistrationDateTime> <RelationId>6</RelationId> <Source>sample string 8</Source> <CausingSubstance>sample string 1</CausingSubstance> <MedicalCodeAllergyCategoryId>65562b34-df54-42c7-96ed-3b8fa65622a7</MedicalCodeAllergyCategoryId> <MedicalCodeAllergyStatusId>b9fff9cb-31a1-4c4d-91ca-26f4ed08671d</MedicalCodeAllergyStatusId> <MedicalCodeDegreeOfCriticismId>70a66501-69ba-4590-990a-12cb01647bae</MedicalCodeDegreeOfCriticismId> <Reactions>sample string 4</Reactions> <StartDateTime>2026-05-26T22:06:54.6509712+02:00</StartDateTime> </MedicalAllergyIntolerance>
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
- |
|
| Content | HttpContent |
- |
|
| StatusCode | HttpStatusCode |
- |
|
| ReasonPhrase | string |
- |
|
| Headers | Collection of Object |
- |
|
| RequestMessage | HttpRequestMessage |
- |
|
| IsSuccessStatusCode | boolean |
- |