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": "b4317a24-d404-4e8b-af76-3dc9a1c20275",
  "tenantId": "1796eb67-beb9-4b0d-8222-344b1c0826c8",
  "userId": "b828e0c3-f454-4aee-9ec3-e001fa8bf2ac",
  "userGroupId": "3ca0dcdd-e1d6-4c47-bbfa-aa58c0cd5a4c",
  "deviceId": "5b9caebb-c356-48cb-bacb-b849458a7f24",
  "deviceGroupId": "468680bb-9ba8-41e9-8256-a308fe72a2df",
  "applicationId": "4ec94fad-1c55-4454-a8c1-e4c2a5a21d11",
  "applicationVersionId": "59689dbe-791e-411b-9fe2-2a310acb5710",
  "nodeId": "869fffd6-5999-4b44-88e7-737e202c4a85",
  "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-03-14T07:24:01.328353+00:00",
  "updatedDateUtc": "2026-03-14T07:24:01.328353+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-03-14T07:24:01.328353+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-03-14T07:24:01.328353+00:00</UpdatedDateUtc>
  <ApplicationId>4ec94fad-1c55-4454-a8c1-e4c2a5a21d11</ApplicationId>
  <ApplicationVersionId>59689dbe-791e-411b-9fe2-2a310acb5710</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>468680bb-9ba8-41e9-8256-a308fe72a2df</DeviceGroupId>
  <DeviceId>5b9caebb-c356-48cb-bacb-b849458a7f24</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>869fffd6-5999-4b44-88e7-737e202c4a85</NodeId>
  <NodeRouteId>b4317a24-d404-4e8b-af76-3dc9a1c20275</NodeRouteId>
  <TenantId>1796eb67-beb9-4b0d-8222-344b1c0826c8</TenantId>
  <UserGroupId>3ca0dcdd-e1d6-4c47-bbfa-aa58c0cd5a4c</UserGroupId>
  <UserId>b828e0c3-f454-4aee-9ec3-e001fa8bf2ac</UserId>
</NodeRouteRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.