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": "66b88415-1600-43c9-81bc-7c0d0362622b",
  "tenantId": "3505864d-e041-4850-8737-5ca695b0cc28",
  "userId": "58ce4fbd-7923-4868-ad23-532c2008d8ef",
  "userGroupId": "6478d422-f051-4903-9449-34aff7e0310e",
  "deviceId": "5917acd2-4fd2-4b69-bc51-68a4fd58f87b",
  "deviceGroupId": "88f4b87b-0331-473d-86ae-9b3c0ded4e8a",
  "applicationId": "c7381197-3188-4c1d-a006-281657d803ea",
  "applicationVersionId": "a6f755f5-335e-41ec-81a2-9daee9fc1235",
  "nodeId": "27c10c3e-e505-41d1-b664-78387b651b10",
  "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-06-08T05:10:18.5448239+00:00",
  "updatedDateUtc": "2026-06-08T05:10:18.5448239+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-06-08T05:10:18.5448239+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-06-08T05:10:18.5448239+00:00</UpdatedDateUtc>
  <ApplicationId>c7381197-3188-4c1d-a006-281657d803ea</ApplicationId>
  <ApplicationVersionId>a6f755f5-335e-41ec-81a2-9daee9fc1235</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>88f4b87b-0331-473d-86ae-9b3c0ded4e8a</DeviceGroupId>
  <DeviceId>5917acd2-4fd2-4b69-bc51-68a4fd58f87b</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>27c10c3e-e505-41d1-b664-78387b651b10</NodeId>
  <NodeRouteId>66b88415-1600-43c9-81bc-7c0d0362622b</NodeRouteId>
  <TenantId>3505864d-e041-4850-8737-5ca695b0cc28</TenantId>
  <UserGroupId>6478d422-f051-4903-9449-34aff7e0310e</UserGroupId>
  <UserId>58ce4fbd-7923-4868-ad23-532c2008d8ef</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'.