Cyan Web API - Version 1


POST api/nodeRoutes

            Creates a NodeRoute.
            

Request Information

Parameters

NameDescriptionAdditional information
nodeRouteRepresentation

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "nodeRouteId": "a089d4bd-ae4f-4583-b6a9-8f2e48e6aa99",
  "tenantId": "c0d92471-3a11-4262-b48a-2d3e86f3d3e9",
  "userId": "80c156d4-4669-4b7f-97b1-1a4758cf1c09",
  "userGroupId": "1a4aa8f0-39cd-4d84-aaf6-4e3f38a4b928",
  "deviceId": "09122a2c-285a-48de-a33f-9715dd3f9f90",
  "deviceGroupId": "64ec07d3-2577-4bb6-9f80-91eb1c689a37",
  "applicationId": "b6182d89-2911-408f-991e-fb93a3679e3d",
  "applicationVersionId": "01b5d420-776a-41a2-8e1d-0a09f9b842d5",
  "nodeId": "d6566d92-901f-45bf-bd8e-e660a4bee430",
  "name": "sample string 4",
  "description": "sample string 5",
  "nodeCyanId": 6,
  "cyanId": 7,
  "customKey": "sample string 8",
  "customValue": "sample string 9",
  "applyParentRoutes": true,
  "applyToDescendants": true,
  "applyToTree": true,
  "applyToParents": true,
  "applyToSiblings": true,
  "applyToSiblingsType": "sample string 15",
  "ignoreNodeIdsInRouting": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "createdDateUtc": "2026-04-17T15:54:01.8525021+00:00",
  "updatedDateUtc": "2026-04-17T15:54:01.8525021+00:00"
}

application/xml, text/xml

Sample:
<NodeRouteRepresentation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueDot.Cyan.Server.Core.Models.Rest.Version1">
  <CreatedDateUtc>2026-04-17T15:54:01.8525021+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-04-17T15:54:01.8525021+00:00</UpdatedDateUtc>
  <ApplicationId>b6182d89-2911-408f-991e-fb93a3679e3d</ApplicationId>
  <ApplicationVersionId>01b5d420-776a-41a2-8e1d-0a09f9b842d5</ApplicationVersionId>
  <ApplyParentRoutes>true</ApplyParentRoutes>
  <ApplyToDescendants>true</ApplyToDescendants>
  <ApplyToParents>true</ApplyToParents>
  <ApplyToSiblings>true</ApplyToSiblings>
  <ApplyToSiblingsType>sample string 15</ApplyToSiblingsType>
  <ApplyToTree>true</ApplyToTree>
  <CustomKey>sample string 8</CustomKey>
  <CustomValue>sample string 9</CustomValue>
  <CyanId>7</CyanId>
  <Description>sample string 5</Description>
  <DeviceGroupId>64ec07d3-2577-4bb6-9f80-91eb1c689a37</DeviceGroupId>
  <DeviceId>09122a2c-285a-48de-a33f-9715dd3f9f90</DeviceId>
  <IgnoreNodeIdsInRouting xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </IgnoreNodeIdsInRouting>
  <Name>sample string 4</Name>
  <NodeCyanId>6</NodeCyanId>
  <NodeId>d6566d92-901f-45bf-bd8e-e660a4bee430</NodeId>
  <NodeRouteId>a089d4bd-ae4f-4583-b6a9-8f2e48e6aa99</NodeRouteId>
  <TenantId>c0d92471-3a11-4262-b48a-2d3e86f3d3e9</TenantId>
  <UserGroupId>1a4aa8f0-39cd-4d84-aaf6-4e3f38a4b928</UserGroupId>
  <UserId>80c156d4-4669-4b7f-97b1-1a4758cf1c09</UserId>
</NodeRouteRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.