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": "0969a74e-1f95-4a4b-bb83-c555bb140c66",
  "tenantId": "d63a3823-1fc1-4981-9c93-88e0d31d849a",
  "userId": "1acd4cb0-3c0e-4331-83b8-ed394ad7f5ff",
  "userGroupId": "cd6dc15b-9675-4178-87dd-769b7b6c9d37",
  "deviceId": "515507bb-2064-4b30-b023-08af0ef38eeb",
  "deviceGroupId": "e0b0a720-da02-4870-a611-bef655781465",
  "applicationId": "315ccab2-0794-4176-b5b4-7abeed5a8404",
  "applicationVersionId": "e7af8a15-db0f-49e5-b646-7245e04f7092",
  "nodeId": "608ce1f8-2720-41e8-9c41-f9ffb3c82ec7",
  "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-08-27T04:31:24.984466+00:00",
  "updatedDateUtc": "2026-08-27T04:31:24.984466+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-08-27T04:31:24.984466+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-08-27T04:31:24.984466+00:00</UpdatedDateUtc>
  <ApplicationId>315ccab2-0794-4176-b5b4-7abeed5a8404</ApplicationId>
  <ApplicationVersionId>e7af8a15-db0f-49e5-b646-7245e04f7092</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>e0b0a720-da02-4870-a611-bef655781465</DeviceGroupId>
  <DeviceId>515507bb-2064-4b30-b023-08af0ef38eeb</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>608ce1f8-2720-41e8-9c41-f9ffb3c82ec7</NodeId>
  <NodeRouteId>0969a74e-1f95-4a4b-bb83-c555bb140c66</NodeRouteId>
  <TenantId>d63a3823-1fc1-4981-9c93-88e0d31d849a</TenantId>
  <UserGroupId>cd6dc15b-9675-4178-87dd-769b7b6c9d37</UserGroupId>
  <UserId>1acd4cb0-3c0e-4331-83b8-ed394ad7f5ff</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'.