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": "72b363b2-31ad-47b6-a5f0-33aa3ff850fe",
  "tenantId": "61f307c1-256d-4745-be93-e24144a65b4e",
  "userId": "14107dcd-6def-4746-8e46-ea77d4b51ce8",
  "userGroupId": "8db6b15c-e95d-4114-a182-096693f4ae51",
  "deviceId": "1d1056ad-f4ec-4634-997d-d52c84516521",
  "deviceGroupId": "3f02f081-36c7-4a80-918e-03ea70d8a849",
  "applicationId": "64dc9af7-5134-416b-9247-a7c267f69ada",
  "applicationVersionId": "fb743882-faa6-4ab1-9158-cc62d8295ce0",
  "nodeId": "a610173f-8e26-4f7a-b049-fe5d57931a93",
  "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": "2025-08-31T07:19:08.6905858+00:00",
  "updatedDateUtc": "2025-08-31T07:19:08.6905858+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>2025-08-31T07:19:08.6905858+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-08-31T07:19:08.6905858+00:00</UpdatedDateUtc>
  <ApplicationId>64dc9af7-5134-416b-9247-a7c267f69ada</ApplicationId>
  <ApplicationVersionId>fb743882-faa6-4ab1-9158-cc62d8295ce0</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>3f02f081-36c7-4a80-918e-03ea70d8a849</DeviceGroupId>
  <DeviceId>1d1056ad-f4ec-4634-997d-d52c84516521</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>a610173f-8e26-4f7a-b049-fe5d57931a93</NodeId>
  <NodeRouteId>72b363b2-31ad-47b6-a5f0-33aa3ff850fe</NodeRouteId>
  <TenantId>61f307c1-256d-4745-be93-e24144a65b4e</TenantId>
  <UserGroupId>8db6b15c-e95d-4114-a182-096693f4ae51</UserGroupId>
  <UserId>14107dcd-6def-4746-8e46-ea77d4b51ce8</UserId>
</NodeRouteRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.