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": "3d544f69-0991-44bc-9db2-a44a05b618b0",
  "tenantId": "a404ec17-5db0-4e5e-a61d-77670c09adad",
  "userId": "d17f5ec3-2891-47d2-b724-f52951ffe49f",
  "userGroupId": "cd7527bd-42db-4a2a-bd72-9b86de11bb7f",
  "deviceId": "a935a318-928a-4985-8c06-d661fef053ce",
  "deviceGroupId": "d0043648-389a-46fe-a84d-f979078a5307",
  "applicationId": "b0145e5c-cc45-4be3-8df5-3a9d13aa7e1b",
  "applicationVersionId": "e0f40cf5-4c40-49f1-bbff-55987e424b86",
  "nodeId": "ea91a9c3-f5cd-4c3e-b515-301742cfd1a5",
  "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-10T12:47:08.0044104+00:00",
  "updatedDateUtc": "2026-03-10T12:47:08.0044104+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-10T12:47:08.0044104+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-03-10T12:47:08.0044104+00:00</UpdatedDateUtc>
  <ApplicationId>b0145e5c-cc45-4be3-8df5-3a9d13aa7e1b</ApplicationId>
  <ApplicationVersionId>e0f40cf5-4c40-49f1-bbff-55987e424b86</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>d0043648-389a-46fe-a84d-f979078a5307</DeviceGroupId>
  <DeviceId>a935a318-928a-4985-8c06-d661fef053ce</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>ea91a9c3-f5cd-4c3e-b515-301742cfd1a5</NodeId>
  <NodeRouteId>3d544f69-0991-44bc-9db2-a44a05b618b0</NodeRouteId>
  <TenantId>a404ec17-5db0-4e5e-a61d-77670c09adad</TenantId>
  <UserGroupId>cd7527bd-42db-4a2a-bd72-9b86de11bb7f</UserGroupId>
  <UserId>d17f5ec3-2891-47d2-b724-f52951ffe49f</UserId>
</NodeRouteRepresentation>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NodeRouteRepresentation'.