POST PlanCare2Api/MedicalIntoxicationAlcohol/Update
Update MedicalIntoxicationAlcohol.
Relation(s) can be of the following types: Client, Prospect
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 |
Nullable |
| StopDate |
StopDate. |
date |
Nullable |
| MedicalCodeAlcoholTypeUserId |
Id of MedicalCodeAlcoholTypeUser (MedicalCodeListType.AlcoholTypeUser). |
globally unique identifier |
- |
| Amount |
Amount. |
decimal number |
Nullable |
| AmountUnit |
AmountUnit. |
string |
- |
| TimeUnit |
TimeUnit. |
string |
- |
| Remarks |
Remarks. |
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
Sample:
{
"StartDate": "2026-05-26T21:09:16.8544079+02:00",
"StopDate": "2026-05-26T21:09:16.8544079+02:00",
"MedicalCodeAlcoholTypeUserId": "573510ae-e04a-4d85-b734-b3f63e4bdc21",
"Amount": 1.0,
"AmountUnit": "sample string 2",
"TimeUnit": "sample string 3",
"Remarks": "sample string 4",
"Id": 5,
"RelationId": 6,
"RegistrationDateTime": "2026-05-26T21:09:16.8544079+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-26T21:09:16.8544079+02:00</RegistrationDateTime> <RelationId>6</RelationId> <Source>sample string 8</Source> <Amount>1</Amount> <AmountUnit>sample string 2</AmountUnit> <MedicalCodeAlcoholTypeUserId>573510ae-e04a-4d85-b734-b3f63e4bdc21</MedicalCodeAlcoholTypeUserId> <Remarks>sample string 4</Remarks> <StartDate>2026-05-26T21:09:16.8544079+02:00</StartDate> <StopDate>2026-05-26T21:09:16.8544079+02:00</StopDate> <TimeUnit>sample string 3</TimeUnit> </MedicalIntoxicationAlcohol>
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 |
- |