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": "8702bdeb-320a-4309-b650-3437ad509776",
"ConnectionId": "96aaa7e7-17d1-4be4-b6c7-fc11cc6f407b",
"Data": {
"Id": "429f62ef-de4f-4b39-b96f-7b2a1a6702a6",
"Name": "sample string 2",
"Type": "sample string 3",
"Param": "sample string 4"
}
},
{
"Action": 0,
"NodeId": "8702bdeb-320a-4309-b650-3437ad509776",
"ConnectionId": "96aaa7e7-17d1-4be4-b6c7-fc11cc6f407b",
"Data": {
"Id": "429f62ef-de4f-4b39-b96f-7b2a1a6702a6",
"Name": "sample string 2",
"Type": "sample string 3",
"Param": "sample string 4"
}
}
],
"NodeChanges": [
{
"Action": 0,
"NodeId": "cfb16041-432a-4b96-8e03-6259a0bd18a4",
"ConnectionId": "70b6b750-84ca-491a-a5ee-436507d64482",
"Data": {
"Id": 1,
"HallAddress": "6871bb9f-7163-4beb-b91f-beb2bcf28630",
"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": "cfb16041-432a-4b96-8e03-6259a0bd18a4",
"ConnectionId": "70b6b750-84ca-491a-a5ee-436507d64482",
"Data": {
"Id": 1,
"HallAddress": "6871bb9f-7163-4beb-b91f-beb2bcf28630",
"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": "31657e7d-5922-4643-92b2-43e4dcd193d7",
"ConnectionId": "e17ee197-eed8-422c-848a-d925ab12f6aa",
"Data": {
"Id": "81b3c1b3-e1af-4643-8eb2-1acbbb8be9dc",
"Name": "sample string 2",
"Path": "sample string 3",
"Type": "sample string 4",
"AccessLevel": 5,
"Critical": true
}
},
{
"Action": 0,
"NodeId": "31657e7d-5922-4643-92b2-43e4dcd193d7",
"ConnectionId": "e17ee197-eed8-422c-848a-d925ab12f6aa",
"Data": {
"Id": "81b3c1b3-e1af-4643-8eb2-1acbbb8be9dc",
"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": "f0912178-8298-4e47-9ab7-beebff1c9734",
"message": "sample string 2",
"errorCode": 3
},
{
"id": "f0912178-8298-4e47-9ab7-beebff1c9734",
"message": "sample string 2",
"errorCode": 3
}
]
}