POST PlanCare2Api/CustomBuildingBlocks/Values/Update
Update CustomBuildingBlockValue.
Request Information
URI Parameters
None.
Body Parameters
CustomBuildingBlockValue.
CustomBuildingBlockValue| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id. |
integer |
- |
| CustomBuildingBlockGuid |
CustomBuildingBlockGuid. |
globally unique identifier |
- |
| RelationId |
RelationId. |
integer |
- |
| RelationById |
RelationById. |
integer |
- |
| ChangedOn |
ChangedOn. |
date |
- |
| TextValue |
TextValue. |
string |
- |
| NumberValue |
NumberValue. |
decimal number |
Nullable |
| DateTimeValue |
DateTimeValue. |
date |
Nullable |
| ValuePossibilityGuid |
Guid of the selected ValuePossibility (SingleChoice). |
globally unique identifier |
Nullable |
| ValuePossibilityGuids |
Guids of the selected ValuePossibilities (MultipleChoice). |
Collection of globally unique identifier |
- |
| Source |
Source. |
string |
- |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CustomBuildingBlockGuid": "60ea488e-cf11-4cd4-a143-9329b41d8405",
"RelationId": 3,
"RelationById": 4,
"ChangedOn": "2026-05-26T23:14:14.8407222+02:00",
"TextValue": "sample string 6",
"NumberValue": 1.0,
"DateTimeValue": "2026-05-26T23:14:14.8407222+02:00",
"ValuePossibilityGuid": "eae3c8bd-b863-450d-b861-5a680cff02e8",
"ValuePossibilityGuids": [
"03a742be-7f15-49b1-bc70-1758309d93a6",
"09782472-270d-4393-b8e3-e9b76f52fcb2"
],
"Source": "sample string 7"
}
application/xml, text/xml
Sample:
<CustomBuildingBlockValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.BuildingBlock">
<ChangedOn>2026-05-26T23:14:14.8407222+02:00</ChangedOn>
<CustomBuildingBlockGuid>60ea488e-cf11-4cd4-a143-9329b41d8405</CustomBuildingBlockGuid>
<DateTimeValue>2026-05-26T23:14:14.8407222+02:00</DateTimeValue>
<Id>1</Id>
<NumberValue>1</NumberValue>
<RelationById>4</RelationById>
<RelationId>3</RelationId>
<Source>sample string 7</Source>
<TextValue>sample string 6</TextValue>
<ValuePossibilityGuid>eae3c8bd-b863-450d-b861-5a680cff02e8</ValuePossibilityGuid>
<ValuePossibilityGuids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>03a742be-7f15-49b1-bc70-1758309d93a6</d2p1:guid>
<d2p1:guid>09782472-270d-4393-b8e3-e9b76f52fcb2</d2p1:guid>
</ValuePossibilityGuids>
</CustomBuildingBlockValue>
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 |
- |