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": "445e13f5-f683-4eca-9a76-3f271053df09",
  "tenantId": "cb1e0b32-e52a-479d-875d-8f076357aef5",
  "userId": "7c548cc3-5b71-4e4b-b2f1-4b1cb6611b61",
  "userGroupId": "f00416a0-eaad-4b9d-94d3-35a42668fedd",
  "deviceId": "ec900ca6-3420-4ed4-a93f-015e5932c920",
  "deviceGroupId": "d9fa44b0-85b3-4ebc-a891-843132e2a741",
  "applicationId": "e4b35b67-5c0c-4f0c-a769-39ff072ebd60",
  "applicationVersionId": "3192551b-e7f6-45dd-a189-37a56cdb5bd1",
  "nodeId": "637490a6-ea7a-4b4a-a3e3-8f8e20135ee9",
  "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-09-23T03:25:24.6688246+00:00",
  "updatedDateUtc": "2026-09-23T03:25:24.6688246+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-09-23T03:25:24.6688246+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-09-23T03:25:24.6688246+00:00</UpdatedDateUtc>
  <ApplicationId>e4b35b67-5c0c-4f0c-a769-39ff072ebd60</ApplicationId>
  <ApplicationVersionId>3192551b-e7f6-45dd-a189-37a56cdb5bd1</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>d9fa44b0-85b3-4ebc-a891-843132e2a741</DeviceGroupId>
  <DeviceId>ec900ca6-3420-4ed4-a93f-015e5932c920</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>637490a6-ea7a-4b4a-a3e3-8f8e20135ee9</NodeId>
  <NodeRouteId>445e13f5-f683-4eca-9a76-3f271053df09</NodeRouteId>
  <TenantId>cb1e0b32-e52a-479d-875d-8f076357aef5</TenantId>
  <UserGroupId>f00416a0-eaad-4b9d-94d3-35a42668fedd</UserGroupId>
  <UserId>7c548cc3-5b71-4e4b-b2f1-4b1cb6611b61</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'.