Cyan Web API - Version 1


GET api/messageBodies/putDataDelete

            Gets and example of the message body format for a "PutDataDelete" message.
            

Response Information

Response body formats

application/json, text/json

Sample:
{
  "nodeIds": [
    "23f6cd13-1c2e-486b-93f0-c7b9f42dfc92",
    "0e594e66-4e35-4cfa-ab67-2f58efd00e95",
    "8dc8deab-c72b-4b7b-883e-f936ab7c493d"
  ],
  "nodes": [
    {
      "tenantId": "6d5460e0-110d-4be6-a769-27855da2da66",
      "nodeId": "102ffee3-ad32-46ea-9662-fb38a4fb56d8",
      "type": "sample string 3",
      "id": "sample string 4",
      "parentType": "sample string 5",
      "parentId": "sample string 6",
      "title": "sample string 7",
      "props": {
        "sample string 1": {},
        "sample string 3": {},
        "sample string 5": {}
      },
      "refs": {
        "sample string 1": {
          "type": "sample string 1",
          "id": "sample string 2"
        },
        "sample string 2": {
          "type": "sample string 1",
          "id": "sample string 2"
        },
        "sample string 3": {
          "type": "sample string 1",
          "id": "sample string 2"
        }
      },
      "cyanId": 8,
      "subjectToCleanup": true,
      "createdDateUtc": "2025-07-12T04:51:52.601064+00:00",
      "updatedDateUtc": "2025-07-12T04:51:52.601064+00:00"
    },
    {
      "tenantId": "6d5460e0-110d-4be6-a769-27855da2da66",
      "nodeId": "102ffee3-ad32-46ea-9662-fb38a4fb56d8",
      "type": "sample string 3",
      "id": "sample string 4",
      "parentType": "sample string 5",
      "parentId": "sample string 6",
      "title": "sample string 7",
      "props": {
        "sample string 1": {},
        "sample string 3": {},
        "sample string 5": {}
      },
      "refs": {
        "sample string 1": {
          "type": "sample string 1",
          "id": "sample string 2"
        },
        "sample string 2": {
          "type": "sample string 1",
          "id": "sample string 2"
        },
        "sample string 3": {
          "type": "sample string 1",
          "id": "sample string 2"
        }
      },
      "cyanId": 8,
      "subjectToCleanup": true,
      "createdDateUtc": "2025-07-12T04:51:52.601064+00:00",
      "updatedDateUtc": "2025-07-12T04:51:52.601064+00:00"
    },
    {
      "tenantId": "6d5460e0-110d-4be6-a769-27855da2da66",
      "nodeId": "102ffee3-ad32-46ea-9662-fb38a4fb56d8",
      "type": "sample string 3",
      "id": "sample string 4",
      "parentType": "sample string 5",
      "parentId": "sample string 6",
      "title": "sample string 7",
      "props": {
        "sample string 1": {},
        "sample string 3": {},
        "sample string 5": {}
      },
      "refs": {
        "sample string 1": {
          "type": "sample string 1",
          "id": "sample string 2"
        },
        "sample string 2": {
          "type": "sample string 1",
          "id": "sample string 2"
        },
        "sample string 3": {
          "type": "sample string 1",
          "id": "sample string 2"
        }
      },
      "cyanId": 8,
      "subjectToCleanup": true,
      "createdDateUtc": "2025-07-12T04:51:52.601064+00:00",
      "updatedDateUtc": "2025-07-12T04:51:52.601064+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<PutDataDeleteMessageBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueDot.Cyan.Server.Core.Models.Messaging">
  <NodeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>23f6cd13-1c2e-486b-93f0-c7b9f42dfc92</d2p1:guid>
    <d2p1:guid>0e594e66-4e35-4cfa-ab67-2f58efd00e95</d2p1:guid>
    <d2p1:guid>8dc8deab-c72b-4b7b-883e-f936ab7c493d</d2p1:guid>
  </NodeIds>
  <Nodes xmlns:d2p1="http://schemas.datacontract.org/2004/07/BlueDot.Cyan.Server.Core.Models.Rest.Version1">
    <d2p1:NodeRepresentation>
      <d2p1:CreatedDateUtc>2025-07-12T04:51:52.601064+00:00</d2p1:CreatedDateUtc>
      <d2p1:UpdatedDateUtc>2025-07-12T04:51:52.601064+00:00</d2p1:UpdatedDateUtc>
      <d2p1:CyanId>8</d2p1:CyanId>
      <d2p1:Id>sample string 4</d2p1:Id>
      <d2p1:NodeId>102ffee3-ad32-46ea-9662-fb38a4fb56d8</d2p1:NodeId>
      <d2p1:ParentId>sample string 6</d2p1:ParentId>
      <d2p1:ParentType>sample string 5</d2p1:ParentType>
      <d2p1:Props xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 5</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </d2p1:Props>
      <d2p1:Refs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value>
            <d2p1:Id>sample string 2</d2p1:Id>
            <d2p1:Type>sample string 1</d2p1:Type>
          </d4p1:Value>
        </d4p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
        <d4p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
          <d4p1:Key>sample string 2</d4p1:Key>
          <d4p1:Value>
            <d2p1:Id>sample string 2</d2p1:Id>
            <d2p1:Type>sample string 1</d2p1:Type>
          </d4p1:Value>
        </d4p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
        <d4p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value>
            <d2p1:Id>sample string 2</d2p1:Id>
            <d2p1:Type>sample string 1</d2p1:Type>
          </d4p1:Value>
        </d4p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
      </d2p1:Refs>
      <d2p1:SubjectToCleanup>true</d2p1:SubjectToCleanup>
      <d2p1:TenantId>6d5460e0-110d-4be6-a769-27855da2da66</d2p1:TenantId>
      <d2p1:Title>sample string 7</d2p1:Title>
      <d2p1:Type>sample string 3</d2p1:Type>
    </d2p1:NodeRepresentation>
    <d2p1:NodeRepresentation>
      <d2p1:CreatedDateUtc>2025-07-12T04:51:52.601064+00:00</d2p1:CreatedDateUtc>
      <d2p1:UpdatedDateUtc>2025-07-12T04:51:52.601064+00:00</d2p1:UpdatedDateUtc>
      <d2p1:CyanId>8</d2p1:CyanId>
      <d2p1:Id>sample string 4</d2p1:Id>
      <d2p1:NodeId>102ffee3-ad32-46ea-9662-fb38a4fb56d8</d2p1:NodeId>
      <d2p1:ParentId>sample string 6</d2p1:ParentId>
      <d2p1:ParentType>sample string 5</d2p1:ParentType>
      <d2p1:Props xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 5</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </d2p1:Props>
      <d2p1:Refs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value>
            <d2p1:Id>sample string 2</d2p1:Id>
            <d2p1:Type>sample string 1</d2p1:Type>
          </d4p1:Value>
        </d4p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
        <d4p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
          <d4p1:Key>sample string 2</d4p1:Key>
          <d4p1:Value>
            <d2p1:Id>sample string 2</d2p1:Id>
            <d2p1:Type>sample string 1</d2p1:Type>
          </d4p1:Value>
        </d4p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
        <d4p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value>
            <d2p1:Id>sample string 2</d2p1:Id>
            <d2p1:Type>sample string 1</d2p1:Type>
          </d4p1:Value>
        </d4p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
      </d2p1:Refs>
      <d2p1:SubjectToCleanup>true</d2p1:SubjectToCleanup>
      <d2p1:TenantId>6d5460e0-110d-4be6-a769-27855da2da66</d2p1:TenantId>
      <d2p1:Title>sample string 7</d2p1:Title>
      <d2p1:Type>sample string 3</d2p1:Type>
    </d2p1:NodeRepresentation>
    <d2p1:NodeRepresentation>
      <d2p1:CreatedDateUtc>2025-07-12T04:51:52.601064+00:00</d2p1:CreatedDateUtc>
      <d2p1:UpdatedDateUtc>2025-07-12T04:51:52.601064+00:00</d2p1:UpdatedDateUtc>
      <d2p1:CyanId>8</d2p1:CyanId>
      <d2p1:Id>sample string 4</d2p1:Id>
      <d2p1:NodeId>102ffee3-ad32-46ea-9662-fb38a4fb56d8</d2p1:NodeId>
      <d2p1:ParentId>sample string 6</d2p1:ParentId>
      <d2p1:ParentType>sample string 5</d2p1:ParentType>
      <d2p1:Props xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 5</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </d2p1:Props>
      <d2p1:Refs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value>
            <d2p1:Id>sample string 2</d2p1:Id>
            <d2p1:Type>sample string 1</d2p1:Type>
          </d4p1:Value>
        </d4p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
        <d4p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
          <d4p1:Key>sample string 2</d4p1:Key>
          <d4p1:Value>
            <d2p1:Id>sample string 2</d2p1:Id>
            <d2p1:Type>sample string 1</d2p1:Type>
          </d4p1:Value>
        </d4p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
        <d4p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value>
            <d2p1:Id>sample string 2</d2p1:Id>
            <d2p1:Type>sample string 1</d2p1:Type>
          </d4p1:Value>
        </d4p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
      </d2p1:Refs>
      <d2p1:SubjectToCleanup>true</d2p1:SubjectToCleanup>
      <d2p1:TenantId>6d5460e0-110d-4be6-a769-27855da2da66</d2p1:TenantId>
      <d2p1:Title>sample string 7</d2p1:Title>
      <d2p1:Type>sample string 3</d2p1:Type>
    </d2p1:NodeRepresentation>
  </Nodes>
</PutDataDeleteMessageBody>