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
NameDescriptionTypeAdditional 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:13:08.6656213+02:00",
  "StopDate": "2026-05-26T23:13:08.6656213+02:00",
  "MedicalCodeAlcoholTypeUserId": "dffe5ad6-ab70-4e56-942c-a905bc5c51c3",
  "Amount": 1.0,
  "AmountUnit": "sample string 2",
  "TimeUnit": "sample string 3",
  "Remarks": "sample string 4",
  "Id": 5,
  "RelationId": 6,
  "RegistrationDateTime": "2026-05-26T23:13:08.6656213+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:13:08.6656213+02:00</RegistrationDateTime>
  <RelationId>6</RelationId>
  <Source>sample string 8</Source>
  <Amount>1</Amount>
  <AmountUnit>sample string 2</AmountUnit>
  <MedicalCodeAlcoholTypeUserId>dffe5ad6-ab70-4e56-942c-a905bc5c51c3</MedicalCodeAlcoholTypeUserId>
  <Remarks>sample string 4</Remarks>
  <StartDate>2026-05-26T23:13:08.6656213+02:00</StartDate>
  <StopDate>2026-05-26T23:13:08.6656213+02:00</StopDate>
  <TimeUnit>sample string 3</TimeUnit>
</MedicalIntoxicationAlcohol>

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None

Content

HttpContent

None

StatusCode

HttpStatusCode

None

ReasonPhrase

string

None

Headers

Collection of Object

None

RequestMessage

HttpRequestMessage

None

IsSuccessStatusCode

boolean

None