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": "03e01bdd-d3b0-4ecd-9706-fade784e49af",
  "tenantId": "4629dd0d-07b3-40d2-b955-f05582b685e1",
  "userId": "6e678424-a1b7-446c-8e45-48cd2017d4fd",
  "userGroupId": "46ee1220-1012-4058-8a44-995bd248500e",
  "deviceId": "5d5edc2c-5d71-4940-8c52-c0b5f762c9cb",
  "deviceGroupId": "56e61951-4747-44dd-b052-05184bc69f1e",
  "applicationId": "dceec4b2-e856-42fc-9b2f-7d866d152d66",
  "applicationVersionId": "60171f8f-c850-4a5b-a9bd-3eab76cc63a5",
  "nodeId": "2348bb31-2c9a-47f5-90ac-16b41c2e77f3",
  "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-08-15T17:25:18.921215+00:00",
  "updatedDateUtc": "2026-08-15T17:25:18.921215+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-08-15T17:25:18.921215+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-08-15T17:25:18.921215+00:00</UpdatedDateUtc>
  <ApplicationId>dceec4b2-e856-42fc-9b2f-7d866d152d66</ApplicationId>
  <ApplicationVersionId>60171f8f-c850-4a5b-a9bd-3eab76cc63a5</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>56e61951-4747-44dd-b052-05184bc69f1e</DeviceGroupId>
  <DeviceId>5d5edc2c-5d71-4940-8c52-c0b5f762c9cb</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>2348bb31-2c9a-47f5-90ac-16b41c2e77f3</NodeId>
  <NodeRouteId>03e01bdd-d3b0-4ecd-9706-fade784e49af</NodeRouteId>
  <TenantId>4629dd0d-07b3-40d2-b955-f05582b685e1</TenantId>
  <UserGroupId>46ee1220-1012-4058-8a44-995bd248500e</UserGroupId>
  <UserId>6e678424-a1b7-446c-8e45-48cd2017d4fd</UserId>
</NodeRouteRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.