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
NameDescriptionTypeAdditional 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": "691f4153-9432-434f-a469-e6a8e9688e41",
      "ConnectionId": "da67e661-fe85-4865-a111-eb11dd3d52fc",
      "Data": {
        "Id": "49cc260c-78b0-41ea-9db9-3af78e6aab3e",
        "Name": "sample string 2",
        "Type": "sample string 3",
        "Param": "sample string 4"
      }
    },
    {
      "Action": 0,
      "NodeId": "691f4153-9432-434f-a469-e6a8e9688e41",
      "ConnectionId": "da67e661-fe85-4865-a111-eb11dd3d52fc",
      "Data": {
        "Id": "49cc260c-78b0-41ea-9db9-3af78e6aab3e",
        "Name": "sample string 2",
        "Type": "sample string 3",
        "Param": "sample string 4"
      }
    }
  ],
  "NodeChanges": [
    {
      "Action": 0,
      "NodeId": "61d4cb76-7ecb-4280-960a-9f9e26f0713f",
      "ConnectionId": "0137ecfa-26b6-4aa6-834f-c262228ee242",
      "Data": {
        "Id": 1,
        "HallAddress": "e645d427-fb98-4857-8027-48c52ca0f657",
        "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": "61d4cb76-7ecb-4280-960a-9f9e26f0713f",
      "ConnectionId": "0137ecfa-26b6-4aa6-834f-c262228ee242",
      "Data": {
        "Id": 1,
        "HallAddress": "e645d427-fb98-4857-8027-48c52ca0f657",
        "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": "fee2cc53-0952-4f1f-9f38-23d3dfb6b018",
      "ConnectionId": "69361f24-d00d-4400-b3ba-ee0351f622a0",
      "Data": {
        "Id": "d8b048f8-5f73-4cd0-906a-f4d2a5f9a70d",
        "Name": "sample string 2",
        "Path": "sample string 3",
        "Type": "sample string 4",
        "AccessLevel": 5,
        "Critical": true
      }
    },
    {
      "Action": 0,
      "NodeId": "fee2cc53-0952-4f1f-9f38-23d3dfb6b018",
      "ConnectionId": "69361f24-d00d-4400-b3ba-ee0351f622a0",
      "Data": {
        "Id": "d8b048f8-5f73-4cd0-906a-f4d2a5f9a70d",
        "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
NameDescriptionTypeAdditional 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": "0badc8e1-c18a-432b-b623-d9abf775ac01",
      "message": "sample string 2",
      "errorCode": 3
    },
    {
      "id": "0badc8e1-c18a-432b-b623-d9abf775ac01",
      "message": "sample string 2",
      "errorCode": 3
    }
  ]
}