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": "cec6e361-a113-44e0-978d-f94cf3cedc85",
  "tenantId": "7724a6a4-c4b4-40bb-aa13-5be47471ee67",
  "userId": "a253148f-e31b-4092-87be-019a87f5403f",
  "userGroupId": "c25541fd-98f8-48c2-878f-679ecc8b92b2",
  "deviceId": "f05b703e-85e0-402a-a111-0c7ab75bc167",
  "deviceGroupId": "f71a83e2-57a1-4e75-8898-53b3032ad1f6",
  "applicationId": "c497bdca-aa84-471d-9263-a1d4bc87df90",
  "applicationVersionId": "4868d584-f11e-47a1-ba34-5439678a754b",
  "nodeId": "be3aef02-d629-434b-8906-a50f76a5c278",
  "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-10-24T05:33:34.5612402+00:00",
  "updatedDateUtc": "2025-10-24T05:33:34.5612402+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-10-24T05:33:34.5612402+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-10-24T05:33:34.5612402+00:00</UpdatedDateUtc>
  <ApplicationId>c497bdca-aa84-471d-9263-a1d4bc87df90</ApplicationId>
  <ApplicationVersionId>4868d584-f11e-47a1-ba34-5439678a754b</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>f71a83e2-57a1-4e75-8898-53b3032ad1f6</DeviceGroupId>
  <DeviceId>f05b703e-85e0-402a-a111-0c7ab75bc167</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>be3aef02-d629-434b-8906-a50f76a5c278</NodeId>
  <NodeRouteId>cec6e361-a113-44e0-978d-f94cf3cedc85</NodeRouteId>
  <TenantId>7724a6a4-c4b4-40bb-aa13-5be47471ee67</TenantId>
  <UserGroupId>c25541fd-98f8-48c2-878f-679ecc8b92b2</UserGroupId>
  <UserId>a253148f-e31b-4092-87be-019a87f5403f</UserId>
</NodeRouteRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.