POST PlanCare2Api/MedicalIntoxicationAlcohol/Update
Update MedicalIntoxicationAlcohol.
Relation(s) must be of the following type: Client
Requires 'Edit' permission for function MedicalIntoxicationAlcohol {FD20A14E-E3BC-4B51-B067-4B9165923D3B}
Request Information
URI Parameters
None.
Body Parameters
MedicalIntoxicationAlcohol.
MedicalIntoxicationAlcohol| Name | Description | Type | Additional information |
|---|---|---|---|
| StartDate |
StartDate. |
date |
None |
| StopDate |
StopDate. |
date |
None |
| MedicalCodeAlcoholTypeUserId |
Id of MedicalCodeAlcoholTypeUser (MedicalCodeListType.AlcoholTypeUser). |
globally unique identifier |
None |
| Amount |
Amount. |
decimal number |
None |
| AmountUnit |
AmountUnit. |
string |
None |
| TimeUnit |
TimeUnit. |
string |
None |
| Remarks |
Remarks. |
string |
None |
| Id |
Id of the registration. |
integer |
None |
| 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 |
None |
Request Formats
application/json, text/json
Sample:
{
"StartDate": "2026-05-26T23:12:57.4794456+02:00",
"StopDate": "2026-05-26T23:12:57.4794456+02:00",
"MedicalCodeAlcoholTypeUserId": "85c1a12e-4cb4-49f1-946f-9aaf53b26874",
"Amount": 1.0,
"AmountUnit": "sample string 2",
"TimeUnit": "sample string 3",
"Remarks": "sample string 4",
"Id": 5,
"RelationId": 6,
"RegistrationDateTime": "2026-05-26T23:12:57.4794456+02:00",
"Source": "sample string 8"
}
application/xml, text/xml
Sample:
<MedicalIntoxicationAlcohol 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-26T23:12:57.4794456+02:00</RegistrationDateTime> <RelationId>6</RelationId> <Source>sample string 8</Source> <Amount>1</Amount> <AmountUnit>sample string 2</AmountUnit> <MedicalCodeAlcoholTypeUserId>85c1a12e-4cb4-49f1-946f-9aaf53b26874</MedicalCodeAlcoholTypeUserId> <Remarks>sample string 4</Remarks> <StartDate>2026-05-26T23:12:57.4794456+02:00</StartDate> <StopDate>2026-05-26T23:12:57.4794456+02:00</StopDate> <TimeUnit>sample string 3</TimeUnit> </MedicalIntoxicationAlcohol>
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None |
|
| Content | HttpContent |
None |
|
| StatusCode | HttpStatusCode |
None |
|
| ReasonPhrase | string |
None |
|
| Headers | Collection of Object |
None |
|
| RequestMessage | HttpRequestMessage |
None |
|
| IsSuccessStatusCode | boolean |
None |