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": "172e35c3-9f17-4951-af80-46f265473364",
  "tenantId": "d3487726-bd5a-47cb-81dc-28672f5f7a8c",
  "userId": "f950a8b0-b455-4184-9d3d-6671ac501563",
  "userGroupId": "6f230f49-86a5-412d-ba1c-946057c56209",
  "deviceId": "07e4aad3-1c1a-4bfa-bec7-e1fa74261a18",
  "deviceGroupId": "8024f86c-48ca-4dbe-84f7-ee209cf0f10c",
  "applicationId": "6b80e7e5-8105-4111-9adc-4095870a2eee",
  "applicationVersionId": "13f680c8-d095-43f6-8325-590164d03dd1",
  "nodeId": "0292fdd8-a30b-4949-8bfc-44fcdbe01a5c",
  "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-02-04T01:50:50.8721216+00:00",
  "updatedDateUtc": "2026-02-04T01:50:50.8721216+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-02-04T01:50:50.8721216+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-02-04T01:50:50.8721216+00:00</UpdatedDateUtc>
  <ApplicationId>6b80e7e5-8105-4111-9adc-4095870a2eee</ApplicationId>
  <ApplicationVersionId>13f680c8-d095-43f6-8325-590164d03dd1</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>8024f86c-48ca-4dbe-84f7-ee209cf0f10c</DeviceGroupId>
  <DeviceId>07e4aad3-1c1a-4bfa-bec7-e1fa74261a18</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>0292fdd8-a30b-4949-8bfc-44fcdbe01a5c</NodeId>
  <NodeRouteId>172e35c3-9f17-4951-af80-46f265473364</NodeRouteId>
  <TenantId>d3487726-bd5a-47cb-81dc-28672f5f7a8c</TenantId>
  <UserGroupId>6f230f49-86a5-412d-ba1c-946057c56209</UserGroupId>
  <UserId>f950a8b0-b455-4184-9d3d-6671ac501563</UserId>
</NodeRouteRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.