EBDN - Community - Question & Answers

  Thursday, 20 January 2022
  2 Replies
  1.2K Visits
0
Votes
Undo
I try to create an object by web service with EB2022 but it's not work.
With EB2020R2 the same syntax work fine ?

Please enplane me the new syntax ?

POST : http://{server}/api/rs/v1/EB710_TESTS/objects/00000000-0000-0000-0000-000000ADD203?cover=113
BODY :

{
"CoverId": 113,
"Flags": null,
"Parent": {
"ObjectId": "00000000-0000-0000-0000-000000ADD203",
"Href": null
},
"Children": null,
"SourceAssociations": null,
"TargetAssociations": null,
"Attributes": {
"Items": [{
"Href": null,
"AttributeId": 7,
"ObjectItem": null,
"AttributeValue": {
"Value": 108,
"DictionaryReference": null,
"Languages": null
},
"AttributeFlags": 36
}, {
"Href": null,
"AttributeId": 328,
"ObjectItem": null,
"AttributeValue": {
"Value": "Motor",
"DictionaryReference": null,
"Languages": null
},
"AttributeFlags": 36
}, {
"Href": null,
"AttributeId": 25,
"ObjectItem": null,
"AttributeValue": {
"Value": "rev",
"DictionaryReference": null,
"Languages": null
},
"AttributeFlags": 36
}, {
"Href": null,
"AttributeId": 77,
"ObjectItem": null,
"AttributeValue": {
"Value": "comment Rev",
"DictionaryReference": null,
"Languages": null
},
"AttributeFlags": 36
}, {
"Href": null,
"AttributeId": 100375,
"ObjectItem": null,
"AttributeValue": {
"Value": true,
"DictionaryReference": null,
"Languages": null
},
"AttributeFlags": 36
}, {
"Href": null,
"AttributeId": 10741,
"ObjectItem": null,
"AttributeValue": {
"Value": "Characteristic ",
"DictionaryReference": null,
"Languages": null
},
"AttributeFlags": 36
}, {
"Href": null,
"AttributeId": 320,
"ObjectItem": null,
"AttributeValue": {
"Value": "marcel",
"DictionaryReference": null,
"Languages": null
},
"AttributeFlags": null
}
],
"Href": null
},
"Timestamp": null,
"ObjectId": null,
"Href": null,
"Designation": null
}


The answer :

{
"ErrorInfo": null,
"Item": null
}