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": "328f87ba-c22e-4463-8ae1-de68acab9a02",
  "tenantId": "bbbc0097-98f5-4d60-8520-bbdfeead5a05",
  "userId": "0bbd2792-ba76-4713-b40c-ad310eec2dd4",
  "userGroupId": "7f4ee65b-7ad4-4fcd-88f8-8ef4c48349af",
  "deviceId": "8cb6a01a-dbf2-45f5-8017-3c312bf7f65a",
  "deviceGroupId": "3618f5ea-4425-45b8-8459-2b5830f282fc",
  "applicationId": "cc6c59dc-5173-4f17-8ddf-0b24f8334aa7",
  "applicationVersionId": "776d513e-af58-4b01-8cf2-28ce3c7f2726",
  "nodeId": "874c7ee2-60ca-45b2-881e-937b052b6510",
  "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-06-25T19:44:40.6504899+00:00",
  "updatedDateUtc": "2026-06-25T19:44:40.6504899+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-06-25T19:44:40.6504899+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-06-25T19:44:40.6504899+00:00</UpdatedDateUtc>
  <ApplicationId>cc6c59dc-5173-4f17-8ddf-0b24f8334aa7</ApplicationId>
  <ApplicationVersionId>776d513e-af58-4b01-8cf2-28ce3c7f2726</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>3618f5ea-4425-45b8-8459-2b5830f282fc</DeviceGroupId>
  <DeviceId>8cb6a01a-dbf2-45f5-8017-3c312bf7f65a</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>874c7ee2-60ca-45b2-881e-937b052b6510</NodeId>
  <NodeRouteId>328f87ba-c22e-4463-8ae1-de68acab9a02</NodeRouteId>
  <TenantId>bbbc0097-98f5-4d60-8520-bbdfeead5a05</TenantId>
  <UserGroupId>7f4ee65b-7ad4-4fcd-88f8-8ef4c48349af</UserGroupId>
  <UserId>0bbd2792-ba76-4713-b40c-ad310eec2dd4</UserId>
</NodeRouteRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.