POST PlanCare2Api/MedicalDefecation/Update
Update MedicalDefecation.
Relation(s) can be of the following types: Client, Prospect
Requires 'Edit' permission for function MedicalDefecation {A10B7F92-BB2F-4650-945C-C180C5C7B3BC}
Request Information
URI Parameters
None.
Body Parameters
MedicalDefecation.
MedicalDefecation| Name | Description | Type | Additional information |
|---|---|---|---|
| MedicalCodeDefecationQuantityId |
Id of MedicalCodeDefecationQuantity (MedicalCodeListType.DefecationQuantity). |
globally unique identifier |
Nullable |
| MedicalCodeDefecationAspectId |
Id of MedicalCodeDefecationAspect (MedicalCodeListType.DefecationAspect). |
globally unique identifier |
Nullable |
| MedicalCodeDefecationRemedyId |
Id of MedicalCodeDefecationRemedy (MedicalCodeListType.DefecationRemedy). |
globally unique identifier |
Nullable |
| 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:
{
"MedicalCodeDefecationQuantityId": "cd19a82a-fdaa-40c6-9168-0e5d0f059783",
"MedicalCodeDefecationAspectId": "52bd23b7-b1a5-4805-99fc-beabcb331a84",
"MedicalCodeDefecationRemedyId": "37ba9071-045f-4963-9324-d1e4eb4bd972",
"Remarks": "sample string 1",
"Id": 2,
"RelationId": 3,
"RegistrationDateTime": "2026-05-27T00:16:19.5628905+02:00",
"Source": "sample string 5"
}
application/xml, text/xml
Sample:
<MedicalDefecation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Medical"> <Id>2</Id> <RegistrationDateTime>2026-05-27T00:16:19.5628905+02:00</RegistrationDateTime> <RelationId>3</RelationId> <Source>sample string 5</Source> <MedicalCodeDefecationAspectId>52bd23b7-b1a5-4805-99fc-beabcb331a84</MedicalCodeDefecationAspectId> <MedicalCodeDefecationQuantityId>cd19a82a-fdaa-40c6-9168-0e5d0f059783</MedicalCodeDefecationQuantityId> <MedicalCodeDefecationRemedyId>37ba9071-045f-4963-9324-d1e4eb4bd972</MedicalCodeDefecationRemedyId> <Remarks>sample string 1</Remarks> </MedicalDefecation>
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 |
- |