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": "82bc3da0-49f8-4230-ac74-a6be568d4680",
  "tenantId": "4dd9d01c-6768-4173-a0a5-e99c140d5d5c",
  "userId": "22633369-6679-44db-a2af-6fd60696d130",
  "userGroupId": "76e9a32e-9cfe-4f54-8a2a-4fbc13c17b48",
  "deviceId": "7a6d886c-7e95-4e77-986a-26caa322cc0d",
  "deviceGroupId": "6b1857ba-aebf-4327-8976-1dde6dedb6a8",
  "applicationId": "2ce21ebd-825c-4d9f-9102-c2e08f7f3bee",
  "applicationVersionId": "fbfa48bb-7910-4d5e-aa49-c4b065ab5ef5",
  "nodeId": "0181f359-8904-47f7-8239-a9f0dad16b28",
  "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-11-03T19:55:00.2200452+00:00",
  "updatedDateUtc": "2026-11-03T19:55:00.2200452+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-11-03T19:55:00.2200452+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-11-03T19:55:00.2200452+00:00</UpdatedDateUtc>
  <ApplicationId>2ce21ebd-825c-4d9f-9102-c2e08f7f3bee</ApplicationId>
  <ApplicationVersionId>fbfa48bb-7910-4d5e-aa49-c4b065ab5ef5</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>6b1857ba-aebf-4327-8976-1dde6dedb6a8</DeviceGroupId>
  <DeviceId>7a6d886c-7e95-4e77-986a-26caa322cc0d</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>0181f359-8904-47f7-8239-a9f0dad16b28</NodeId>
  <NodeRouteId>82bc3da0-49f8-4230-ac74-a6be568d4680</NodeRouteId>
  <TenantId>4dd9d01c-6768-4173-a0a5-e99c140d5d5c</TenantId>
  <UserGroupId>76e9a32e-9cfe-4f54-8a2a-4fbc13c17b48</UserGroupId>
  <UserId>22633369-6679-44db-a2af-6fd60696d130</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'.