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": "769004ca-2428-46b0-9f31-80a716e5727e",
  "tenantId": "242385c5-4137-4291-8176-9c2b9c0ff45c",
  "userId": "b279272c-8047-497f-8833-adf1ded6ba06",
  "userGroupId": "f257d76a-ecf6-408c-a714-eb30cb94e9d9",
  "deviceId": "a1e74825-6a61-4c7b-bfbb-bed30147cbf2",
  "deviceGroupId": "97c6de2d-7d7c-4c89-b26a-10c1176ec784",
  "applicationId": "d47bf65b-b2be-4122-99ba-860c9a62e2dd",
  "applicationVersionId": "0c5ef4ff-900f-4b62-82d4-49c5fc723ec4",
  "nodeId": "4630bce8-7dda-4823-ac24-e7c0c67bad52",
  "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-12-15T19:40:25.5229292+00:00",
  "updatedDateUtc": "2025-12-15T19:40:25.5229292+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-12-15T19:40:25.5229292+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-12-15T19:40:25.5229292+00:00</UpdatedDateUtc>
  <ApplicationId>d47bf65b-b2be-4122-99ba-860c9a62e2dd</ApplicationId>
  <ApplicationVersionId>0c5ef4ff-900f-4b62-82d4-49c5fc723ec4</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>97c6de2d-7d7c-4c89-b26a-10c1176ec784</DeviceGroupId>
  <DeviceId>a1e74825-6a61-4c7b-bfbb-bed30147cbf2</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>4630bce8-7dda-4823-ac24-e7c0c67bad52</NodeId>
  <NodeRouteId>769004ca-2428-46b0-9f31-80a716e5727e</NodeRouteId>
  <TenantId>242385c5-4137-4291-8176-9c2b9c0ff45c</TenantId>
  <UserGroupId>f257d76a-ecf6-408c-a714-eb30cb94e9d9</UserGroupId>
  <UserId>b279272c-8047-497f-8833-adf1ded6ba06</UserId>
</NodeRouteRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.