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": "93503e7b-e288-4150-b37d-22444b6ca1c8",
  "tenantId": "bbab6654-9834-4044-b152-bed2b21d9bfd",
  "userId": "6562a037-b9c7-4d2b-bc12-173c0f118163",
  "userGroupId": "a95d4199-b661-4433-acb8-8a87336eac84",
  "deviceId": "e2d55d54-f50e-4689-8f68-291a250fdd6a",
  "deviceGroupId": "b4a645fd-9a77-452a-b25f-1fb2ef6eb51f",
  "applicationId": "ad3c1e95-4e6b-44ec-aa12-8035b00956a2",
  "applicationVersionId": "083bd8d3-3435-4fb7-af16-497e0d38a7e1",
  "nodeId": "bb1744a3-422d-4631-a959-c82da8db76a7",
  "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-04-24T23:47:07.7771057+00:00",
  "updatedDateUtc": "2026-04-24T23:47:07.7771057+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-04-24T23:47:07.7771057+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-04-24T23:47:07.7771057+00:00</UpdatedDateUtc>
  <ApplicationId>ad3c1e95-4e6b-44ec-aa12-8035b00956a2</ApplicationId>
  <ApplicationVersionId>083bd8d3-3435-4fb7-af16-497e0d38a7e1</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>b4a645fd-9a77-452a-b25f-1fb2ef6eb51f</DeviceGroupId>
  <DeviceId>e2d55d54-f50e-4689-8f68-291a250fdd6a</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>bb1744a3-422d-4631-a959-c82da8db76a7</NodeId>
  <NodeRouteId>93503e7b-e288-4150-b37d-22444b6ca1c8</NodeRouteId>
  <TenantId>bbab6654-9834-4044-b152-bed2b21d9bfd</TenantId>
  <UserGroupId>a95d4199-b661-4433-acb8-8a87336eac84</UserGroupId>
  <UserId>6562a037-b9c7-4d2b-bc12-173c0f118163</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'.