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": "9f9cfe7b-9f91-44e7-9797-e2eabb57bf23",
  "tenantId": "c2d8552e-44a0-4bae-bf65-d8704bd3e812",
  "userId": "79b2456d-85d6-43b5-959a-ba963a989c5d",
  "userGroupId": "73b9b917-6a91-46f4-b82c-9524900fc942",
  "deviceId": "d1e28504-b4b6-4b3b-9c7b-44ed16865c73",
  "deviceGroupId": "40e12e87-988b-400b-a500-f684e643105e",
  "applicationId": "ff6030ad-b445-4dc7-b21a-25ca37c469dd",
  "applicationVersionId": "0d02f65e-964c-4900-9e24-fe396096650e",
  "nodeId": "e61f5dd5-441c-477c-a648-9021d787f2b9",
  "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-11T10:52:03.0041865+00:00",
  "updatedDateUtc": "2026-09-11T10:52:03.0041865+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-11T10:52:03.0041865+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-09-11T10:52:03.0041865+00:00</UpdatedDateUtc>
  <ApplicationId>ff6030ad-b445-4dc7-b21a-25ca37c469dd</ApplicationId>
  <ApplicationVersionId>0d02f65e-964c-4900-9e24-fe396096650e</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>40e12e87-988b-400b-a500-f684e643105e</DeviceGroupId>
  <DeviceId>d1e28504-b4b6-4b3b-9c7b-44ed16865c73</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>e61f5dd5-441c-477c-a648-9021d787f2b9</NodeId>
  <NodeRouteId>9f9cfe7b-9f91-44e7-9797-e2eabb57bf23</NodeRouteId>
  <TenantId>c2d8552e-44a0-4bae-bf65-d8704bd3e812</TenantId>
  <UserGroupId>73b9b917-6a91-46f4-b82c-9524900fc942</UserGroupId>
  <UserId>79b2456d-85d6-43b5-959a-ba963a989c5d</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'.