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": "bd6a9d3d-d6da-44fe-9b97-67f1c690282c",
"ConnectionId": "4100446c-5e5b-4b08-afd9-b5b0a2b932b2",
"Data": {
"Id": "764eba3b-6189-4e10-9ab8-749fce08f85f",
"Name": "sample string 2",
"Type": "sample string 3",
"Param": "sample string 4"
}
},
{
"Action": 0,
"NodeId": "bd6a9d3d-d6da-44fe-9b97-67f1c690282c",
"ConnectionId": "4100446c-5e5b-4b08-afd9-b5b0a2b932b2",
"Data": {
"Id": "764eba3b-6189-4e10-9ab8-749fce08f85f",
"Name": "sample string 2",
"Type": "sample string 3",
"Param": "sample string 4"
}
}
],
"NodeChanges": [
{
"Action": 0,
"NodeId": "91d063a5-4a69-4faa-9113-4cfa04ad82e5",
"ConnectionId": "18bb71b4-e3a9-489e-b94e-0237f66513f7",
"Data": {
"Id": 1,
"HallAddress": "96c47a95-6021-4229-bbec-c5728b1b0198",
"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"
}
},
{
"Action": 0,
"NodeId": "91d063a5-4a69-4faa-9113-4cfa04ad82e5",
"ConnectionId": "18bb71b4-e3a9-489e-b94e-0237f66513f7",
"Data": {
"Id": 1,
"HallAddress": "96c47a95-6021-4229-bbec-c5728b1b0198",
"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"
}
}
],
"ApplicationChanges": [
{
"Action": 0,
"NodeId": "b02a7030-9b2d-44cd-9575-eff4eec2ae8d",
"ConnectionId": "e0ef9085-b62b-466a-98ea-c5cc31193283",
"Data": {
"Id": "35ba6642-7a8d-4288-bcd2-a5635463bd8b",
"Name": "sample string 2",
"Path": "sample string 3",
"Type": "sample string 4",
"AccessLevel": 5,
"Critical": true
}
},
{
"Action": 0,
"NodeId": "b02a7030-9b2d-44cd-9575-eff4eec2ae8d",
"ConnectionId": "e0ef9085-b62b-466a-98ea-c5cc31193283",
"Data": {
"Id": "35ba6642-7a8d-4288-bcd2-a5635463bd8b",
"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": "7c01edb5-a082-4bef-9070-ba32fa5b2e08",
"message": "sample string 2",
"errorCode": 3
},
{
"id": "7c01edb5-a082-4bef-9070-ba32fa5b2e08",
"message": "sample string 2",
"errorCode": 3
}
]
}