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": "a699ba3d-3869-46ad-b54c-6b71a83a4b3c",
  "tenantId": "84d9719c-8e31-4ed8-951f-4a9bd701f00a",
  "userId": "76e9f6df-6012-4f49-bbca-e4178bade613",
  "userGroupId": "7900b5ad-a9f3-4e56-b620-d28f12fdf609",
  "deviceId": "230f9814-b3bc-41a9-9a4c-88f286ff8b0b",
  "deviceGroupId": "d73a3c16-fcd7-4099-80d7-f46a60f74a10",
  "applicationId": "8bf70250-f226-4964-8c96-a0f4e4cecd71",
  "applicationVersionId": "e6822d93-cc87-4e55-9db6-0eb40234ca0f",
  "nodeId": "83f64a97-02f3-4121-9247-6e77040e64b3",
  "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-07-13T01:35:13.4468509+00:00",
  "updatedDateUtc": "2026-07-13T01:35:13.4468509+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-07-13T01:35:13.4468509+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-07-13T01:35:13.4468509+00:00</UpdatedDateUtc>
  <ApplicationId>8bf70250-f226-4964-8c96-a0f4e4cecd71</ApplicationId>
  <ApplicationVersionId>e6822d93-cc87-4e55-9db6-0eb40234ca0f</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>d73a3c16-fcd7-4099-80d7-f46a60f74a10</DeviceGroupId>
  <DeviceId>230f9814-b3bc-41a9-9a4c-88f286ff8b0b</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>83f64a97-02f3-4121-9247-6e77040e64b3</NodeId>
  <NodeRouteId>a699ba3d-3869-46ad-b54c-6b71a83a4b3c</NodeRouteId>
  <TenantId>84d9719c-8e31-4ed8-951f-4a9bd701f00a</TenantId>
  <UserGroupId>7900b5ad-a9f3-4e56-b620-d28f12fdf609</UserGroupId>
  <UserId>76e9f6df-6012-4f49-bbca-e4178bade613</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'.