POST PlanCare2Api/MedicalDefecation/Update
Update MedicalDefecation.
Relation(s) must be of the following type: Client
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 |
None |
| MedicalCodeDefecationAspectId |
Id of MedicalCodeDefecationAspect (MedicalCodeListType.DefecationAspect). |
globally unique identifier |
None |
| MedicalCodeDefecationRemedyId |
Id of MedicalCodeDefecationRemedy (MedicalCodeListType.DefecationRemedy). |
globally unique identifier |
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:
{
"MedicalCodeDefecationQuantityId": "5b32a99e-2e15-4bcf-8ae5-fc23b7555de7",
"MedicalCodeDefecationAspectId": "23856d8c-43fa-4880-8bc9-c99df38a2708",
"MedicalCodeDefecationRemedyId": "119cb7d5-adde-490f-97de-ec8cc1b357af",
"Remarks": "sample string 1",
"Id": 2,
"RelationId": 3,
"RegistrationDateTime": "2026-05-26T23:13:55.5410754+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-26T23:13:55.5410754+02:00</RegistrationDateTime> <RelationId>3</RelationId> <Source>sample string 5</Source> <MedicalCodeDefecationAspectId>23856d8c-43fa-4880-8bc9-c99df38a2708</MedicalCodeDefecationAspectId> <MedicalCodeDefecationQuantityId>5b32a99e-2e15-4bcf-8ae5-fc23b7555de7</MedicalCodeDefecationQuantityId> <MedicalCodeDefecationRemedyId>119cb7d5-adde-490f-97de-ec8cc1b357af</MedicalCodeDefecationRemedyId> <Remarks>sample string 1</Remarks> </MedicalDefecation>
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 |