EBDN - Community - Question & Answers

  Thursday, 11 May 2023
  4 Replies
  630 Visits
0
Votes
Undo
Hi,

We are trying to update flags of one attribute but we are not sure how to prepare request body for this request.
we are using below JSON request. please correct the below request body for that we can remove all flag/set any flag.

Thank you in advance and a quick response will be highly appreciated.


{
"OutputObjectData": true,
"OutputTimestamp": false,
"UpdateData": [
{
"UpdateMode": 0,
"OperationModifier": 0,
"DeleteAssocList": null,
"AddAssocList": null,
"Children": null,
"ObjectId": "00000000-0000-0000-0000-000002163999",
"Designation": null,
"CoverId": 113,
"TypeId": 1731,
"Flags": 1025,
"Timestamp": null,
"LockStructure": null,
"Protected": null,
"Attributes": [
{
"AddToTab": null,
"AttributeId": 100701,
"Flags":1025,
"Value": "fgfgh",
"TextAlias": null,
"IsDictRef": false,
"DictRef": null,
"LanguageItems": null,
"IsDimension": false,
"DimensionInfo": null,
"$type": "UpdateAttributeItem"
}
],
"ClientId": null,
"$type": "UpdateObjectItem"
}
],
"$type": "UpdateObjectDataRequest"
}



Regards,
Pushpendra Kumar
Haldor Topsoe