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": "141eec8e-9ef2-48ab-9bae-2ab8fbd4a1d9",
  "tenantId": "240a81e5-3daa-4b2f-9c2f-ef738ff92059",
  "userId": "f3d4f59f-ba4e-450d-9664-678b4ff90ef0",
  "userGroupId": "e2244964-e8f3-4e68-bebf-f9ba76124518",
  "deviceId": "c7bc307e-a511-48e1-9165-bb4e5c05fc93",
  "deviceGroupId": "7b65554a-a9a2-4889-84d7-b3796d5e4a15",
  "applicationId": "7952682a-dc71-4865-af70-8ae9438216b9",
  "applicationVersionId": "4d0f1613-7995-44cf-ba7a-ac33790c6193",
  "nodeId": "a42a9bbf-95e0-4ea0-83c2-61d37ea7af60",
  "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-01-30T06:00:28.3911573+00:00",
  "updatedDateUtc": "2026-01-30T06:00:28.3911573+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-01-30T06:00:28.3911573+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-01-30T06:00:28.3911573+00:00</UpdatedDateUtc>
  <ApplicationId>7952682a-dc71-4865-af70-8ae9438216b9</ApplicationId>
  <ApplicationVersionId>4d0f1613-7995-44cf-ba7a-ac33790c6193</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>7b65554a-a9a2-4889-84d7-b3796d5e4a15</DeviceGroupId>
  <DeviceId>c7bc307e-a511-48e1-9165-bb4e5c05fc93</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>a42a9bbf-95e0-4ea0-83c2-61d37ea7af60</NodeId>
  <NodeRouteId>141eec8e-9ef2-48ab-9bae-2ab8fbd4a1d9</NodeRouteId>
  <TenantId>240a81e5-3daa-4b2f-9c2f-ef738ff92059</TenantId>
  <UserGroupId>e2244964-e8f3-4e68-bebf-f9ba76124518</UserGroupId>
  <UserId>f3d4f59f-ba4e-450d-9664-678b4ff90ef0</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'.