POST PlanCare2Api/MedicalEpilepsy

Insert MedicalEpilepsy.

Relation(s) can be of the following types: Client, Prospect

Requires 'Insert' permission for function MedicalEpilepsy {E4BB8F45-B210-424C-8CF2-98B7F0ADCA42}

Request Information

URI Parameters

None.

Body Parameters

MedicalEpilepsy.

MedicalEpilepsy
Name Description Type Additional information
NumberOfAttacks

Number of attacks.

integer

-

LengthInMinutes

Length in minutes.

integer

Nullable

MedicalCodeEpilepsyTypeOfAttackId

Id of MedicalCodeEpilepsyTypeOfAttack (MedicalCodeListType.EpilepsyTypeOfAttack).

globally unique identifier

-

MedicalCodeEpilepsyDaypartId

Id of MedicalCodeEpilepsyDaypart (MedicalCodeListType.EpilepsyDaypart).

globally unique identifier

-

CoupeMedication

Coupe medication.

boolean

-

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:
{
  "NumberOfAttacks": 1,
  "LengthInMinutes": 1,
  "MedicalCodeEpilepsyTypeOfAttackId": "17d88043-f238-4f3a-8756-a445d91af952",
  "MedicalCodeEpilepsyDaypartId": "f90b778b-dd5d-4e94-a49b-79c4c9adb2bc",
  "CoupeMedication": true,
  "Remarks": "sample string 5",
  "Id": 6,
  "RelationId": 7,
  "RegistrationDateTime": "2026-05-26T21:11:55.4915316+02:00",
  "Source": "sample string 9"
}

application/xml, text/xml

Sample:
<MedicalEpilepsy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Medical">
  <Id>6</Id>
  <RegistrationDateTime>2026-05-26T21:11:55.4915316+02:00</RegistrationDateTime>
  <RelationId>7</RelationId>
  <Source>sample string 9</Source>
  <CoupeMedication>true</CoupeMedication>
  <LengthInMinutes>1</LengthInMinutes>
  <MedicalCodeEpilepsyDaypartId>f90b778b-dd5d-4e94-a49b-79c4c9adb2bc</MedicalCodeEpilepsyDaypartId>
  <MedicalCodeEpilepsyTypeOfAttackId>17d88043-f238-4f3a-8756-a445d91af952</MedicalCodeEpilepsyTypeOfAttackId>
  <NumberOfAttacks>1</NumberOfAttacks>
  <Remarks>sample string 5</Remarks>
</MedicalEpilepsy>

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

-