POST PlanCare2Api/CustomBuildingBlocks/Values/Update
Update CustomBuildingBlockValue.
Request Information
URI Parameters
None.
Body Parameters
CustomBuildingBlockValue.
CustomBuildingBlockValue| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id. |
integer |
None |
| CustomBuildingBlockGuid |
CustomBuildingBlockGuid. |
globally unique identifier |
None |
| RelationId |
RelationId. |
integer |
None |
| RelationById |
RelationById. |
integer |
None |
| ChangedOn |
ChangedOn. |
date |
None |
| TextValue |
TextValue. |
string |
None |
| NumberValue |
NumberValue. |
decimal number |
None |
| DateTimeValue |
DateTimeValue. |
date |
None |
| ValuePossibilityGuid |
Guid of the selected ValuePossibility (SingleChoice). |
globally unique identifier |
None |
| ValuePossibilityGuids |
Guids of the selected ValuePossibilities (MultipleChoice). |
Collection of globally unique identifier |
None |
| Source |
Source. |
string |
None |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CustomBuildingBlockGuid": "dcb3d5a5-88f6-48a2-9a4a-06b824a7e283",
"RelationId": 3,
"RelationById": 4,
"ChangedOn": "2026-05-26T22:00:42.3802475+02:00",
"TextValue": "sample string 6",
"NumberValue": 1.0,
"DateTimeValue": "2026-05-26T22:00:42.3802475+02:00",
"ValuePossibilityGuid": "ab826ab9-3066-4b52-91d3-c0b430b51afc",
"ValuePossibilityGuids": [
"54f24c63-8bb3-4424-99a2-fb6509c3ac89",
"15fd9e57-87d2-407e-abb3-fe9df9506b5b"
],
"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-26T22:00:42.3802475+02:00</ChangedOn>
<CustomBuildingBlockGuid>dcb3d5a5-88f6-48a2-9a4a-06b824a7e283</CustomBuildingBlockGuid>
<DateTimeValue>2026-05-26T22:00:42.3802475+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>ab826ab9-3066-4b52-91d3-c0b430b51afc</ValuePossibilityGuid>
<ValuePossibilityGuids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>54f24c63-8bb3-4424-99a2-fb6509c3ac89</d2p1:guid>
<d2p1:guid>15fd9e57-87d2-407e-abb3-fe9df9506b5b</d2p1:guid>
</ValuePossibilityGuids>
</CustomBuildingBlockValue>
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 |