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": "a716e8d0-5b4a-4731-9263-71dd18d10c71",
"ConnectionId": "898815c3-c7c4-4ebc-abf9-fa0a6f7725f4",
"Data": {
"Id": "b51efc0c-a1d3-479f-a8c2-4adf686e0abf",
"Name": "sample string 2",
"Type": "sample string 3",
"Param": "sample string 4"
}
},
{
"Action": 0,
"NodeId": "a716e8d0-5b4a-4731-9263-71dd18d10c71",
"ConnectionId": "898815c3-c7c4-4ebc-abf9-fa0a6f7725f4",
"Data": {
"Id": "b51efc0c-a1d3-479f-a8c2-4adf686e0abf",
"Name": "sample string 2",
"Type": "sample string 3",
"Param": "sample string 4"
}
}
],
"NodeChanges": [
{
"Action": 0,
"NodeId": "59be7558-3457-4ff4-83f3-14c527b17baa",
"ConnectionId": "f3398a0b-794e-4f82-8555-5009ab596796",
"Data": {
"Id": 1,
"HallAddress": "df0bf19a-0327-4c5b-abab-8041e714490e",
"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"
}
},
{
"Action": 0,
"NodeId": "59be7558-3457-4ff4-83f3-14c527b17baa",
"ConnectionId": "f3398a0b-794e-4f82-8555-5009ab596796",
"Data": {
"Id": 1,
"HallAddress": "df0bf19a-0327-4c5b-abab-8041e714490e",
"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"
}
}
],
"ApplicationChanges": [
{
"Action": 0,
"NodeId": "ac90dce8-bf2a-4923-9950-41468be75aca",
"ConnectionId": "4d6e25cf-a70a-4284-bf22-e7dd39f984a6",
"Data": {
"Id": "066f7327-b4ba-46ee-b3e9-f5003089ca8c",
"Name": "sample string 2",
"Path": "sample string 3",
"Type": "sample string 4",
"AccessLevel": 5,
"Critical": true
}
},
{
"Action": 0,
"NodeId": "ac90dce8-bf2a-4923-9950-41468be75aca",
"ConnectionId": "4d6e25cf-a70a-4284-bf22-e7dd39f984a6",
"Data": {
"Id": "066f7327-b4ba-46ee-b3e9-f5003089ca8c",
"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": "d7440fb0-607b-4231-b8c3-cc8072e2fa84",
"message": "sample string 2",
"errorCode": 3
},
{
"id": "d7440fb0-607b-4231-b8c3-cc8072e2fa84",
"message": "sample string 2",
"errorCode": 3
}
]
}