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": "19f1ee06-280c-4ac1-b96c-b3c87ca4b11d",
  "tenantId": "920ded80-dbe5-42a5-8fe3-fdc6b5b077fd",
  "userId": "3e5efef0-bf80-41ad-85e6-e5fa3733ee18",
  "userGroupId": "5c92218d-6955-42fc-83aa-77d2ee61d0cf",
  "deviceId": "4feefe60-a8ba-40dc-86b4-640a6b9dd290",
  "deviceGroupId": "16d43ef6-07f5-4fb3-92ff-a55e49c3dfaa",
  "applicationId": "33ba2d46-578c-43f1-8ef9-f0796324722e",
  "applicationVersionId": "7fb196d3-30e0-4a2b-8f2b-349f830c24e5",
  "nodeId": "bd1e4861-fa0c-4be9-b303-70efb9e060cc",
  "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-05-11T10:09:58.09987+00:00",
  "updatedDateUtc": "2026-05-11T10:09:58.09987+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-05-11T10:09:58.09987+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-05-11T10:09:58.09987+00:00</UpdatedDateUtc>
  <ApplicationId>33ba2d46-578c-43f1-8ef9-f0796324722e</ApplicationId>
  <ApplicationVersionId>7fb196d3-30e0-4a2b-8f2b-349f830c24e5</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>16d43ef6-07f5-4fb3-92ff-a55e49c3dfaa</DeviceGroupId>
  <DeviceId>4feefe60-a8ba-40dc-86b4-640a6b9dd290</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>bd1e4861-fa0c-4be9-b303-70efb9e060cc</NodeId>
  <NodeRouteId>19f1ee06-280c-4ac1-b96c-b3c87ca4b11d</NodeRouteId>
  <TenantId>920ded80-dbe5-42a5-8fe3-fdc6b5b077fd</TenantId>
  <UserGroupId>5c92218d-6955-42fc-83aa-77d2ee61d0cf</UserGroupId>
  <UserId>3e5efef0-bf80-41ad-85e6-e5fa3733ee18</UserId>
</NodeRouteRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.