POST PlanCare2Api/MedicalEpilepsy
Insert MedicalEpilepsy.
Relation(s) must be of the following type: Client
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 |
None |
| LengthInMinutes |
Length in minutes. |
integer |
None |
| MedicalCodeEpilepsyTypeOfAttackId |
Id of MedicalCodeEpilepsyTypeOfAttack (MedicalCodeListType.EpilepsyTypeOfAttack). |
globally unique identifier |
None |
| MedicalCodeEpilepsyDaypartId |
Id of MedicalCodeEpilepsyDaypart (MedicalCodeListType.EpilepsyDaypart). |
globally unique identifier |
None |
| CoupeMedication |
Coupe medication. |
boolean |
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:
{
"NumberOfAttacks": 1,
"LengthInMinutes": 1,
"MedicalCodeEpilepsyTypeOfAttackId": "90ce8c53-5991-488b-b2d7-3c668fa19495",
"MedicalCodeEpilepsyDaypartId": "4a9543eb-a207-44f6-8c7b-288d5518639d",
"CoupeMedication": true,
"Remarks": "sample string 5",
"Id": 6,
"RelationId": 7,
"RegistrationDateTime": "2026-05-26T22:08:10.0854416+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-26T22:08:10.0854416+02:00</RegistrationDateTime> <RelationId>7</RelationId> <Source>sample string 9</Source> <CoupeMedication>true</CoupeMedication> <LengthInMinutes>1</LengthInMinutes> <MedicalCodeEpilepsyDaypartId>4a9543eb-a207-44f6-8c7b-288d5518639d</MedicalCodeEpilepsyDaypartId> <MedicalCodeEpilepsyTypeOfAttackId>90ce8c53-5991-488b-b2d7-3c668fa19495</MedicalCodeEpilepsyTypeOfAttackId> <NumberOfAttacks>1</NumberOfAttacks> <Remarks>sample string 5</Remarks> </MedicalEpilepsy>
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 |