POST v1/grid/nodes/bulk-sync
Verarbeitet ein Bulk-Paket von Änderungen (Create, Update, Delete) für RydelConnections.
Request Information
URI Parameters
None.
Body Parameters
MatrixCommitDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ConnectionChanges | Collection of BulkChangeEntryOfRydelConnectionDto |
None. |
|
| NodeChanges | Collection of BulkChangeEntryOfNodeDto |
None. |
|
| ApplicationChanges | Collection of BulkChangeEntryOfRydelApplicationDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"ConnectionChanges": [
{
"Action": 0,
"NodeId": "edb55273-cd79-48b7-a871-08276f9d6009",
"ConnectionId": "d281d55d-31a4-4497-8b4b-ecbaffe47b69",
"Data": {
"Id": "7c7d4467-4650-496a-a015-263ab5210adc",
"Name": "sample string 2",
"Type": "sample string 3",
"Param": "sample string 4"
}
},
{
"Action": 0,
"NodeId": "edb55273-cd79-48b7-a871-08276f9d6009",
"ConnectionId": "d281d55d-31a4-4497-8b4b-ecbaffe47b69",
"Data": {
"Id": "7c7d4467-4650-496a-a015-263ab5210adc",
"Name": "sample string 2",
"Type": "sample string 3",
"Param": "sample string 4"
}
}
],
"NodeChanges": [
{
"Action": 0,
"NodeId": "ff10cb3b-45ba-4439-a9a5-1d890bdda73f",
"ConnectionId": "f2ce54f0-b63d-41cb-87ad-9e32ea9f4d27",
"Data": {
"Id": 1,
"HallAddress": "50688c08-4a9f-4876-9745-e367e79a1431",
"NodeName": "sample string 3",
"HerbrichName": "sample string 4",
"NodeDescription": "sample string 5",
"LocJ": 6.0,
"LocH": 7.0,
"Self": "sample string 8",
"Html": "sample string 9",
"Image": "sample string 10",
"SubNodes": "sample string 11",
"Connections": "sample string 12",
"Applications": "sample string 13",
"Tasks": "sample string 14",
"Quarter": "sample string 15"
}
},
{
"Action": 0,
"NodeId": "ff10cb3b-45ba-4439-a9a5-1d890bdda73f",
"ConnectionId": "f2ce54f0-b63d-41cb-87ad-9e32ea9f4d27",
"Data": {
"Id": 1,
"HallAddress": "50688c08-4a9f-4876-9745-e367e79a1431",
"NodeName": "sample string 3",
"HerbrichName": "sample string 4",
"NodeDescription": "sample string 5",
"LocJ": 6.0,
"LocH": 7.0,
"Self": "sample string 8",
"Html": "sample string 9",
"Image": "sample string 10",
"SubNodes": "sample string 11",
"Connections": "sample string 12",
"Applications": "sample string 13",
"Tasks": "sample string 14",
"Quarter": "sample string 15"
}
}
],
"ApplicationChanges": [
{
"Action": 0,
"NodeId": "3b1a137a-6cdd-4c33-bb03-77315f5d2a10",
"ConnectionId": "10345311-81aa-4d84-ad17-9871ae9bd79b",
"Data": {
"Id": "1ba5f9b3-fc80-4109-b8fe-e0d32818f66f",
"Name": "sample string 2",
"Path": "sample string 3",
"Type": "sample string 4",
"AccessLevel": 5,
"Critical": true
}
},
{
"Action": 0,
"NodeId": "3b1a137a-6cdd-4c33-bb03-77315f5d2a10",
"ConnectionId": "10345311-81aa-4d84-ad17-9871ae9bd79b",
"Data": {
"Id": "1ba5f9b3-fc80-4109-b8fe-e0d32818f66f",
"Name": "sample string 2",
"Path": "sample string 3",
"Type": "sample string 4",
"AccessLevel": 5,
"Critical": true
}
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MatrixCommitResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| message | string |
None. |
|
| failedEntries | Collection of FailedEntryDetail |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2",
"failedEntries": [
{
"id": "36f8cddc-6011-4c97-b99d-61e5303df907",
"message": "sample string 2",
"errorCode": 3
},
{
"id": "36f8cddc-6011-4c97-b99d-61e5303df907",
"message": "sample string 2",
"errorCode": 3
}
]
}