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": "8a488fd6-814e-4b46-95da-4b3b8bec7e47",
  "tenantId": "790dc6a9-3fd2-41ab-b279-f5ff3b77156d",
  "userId": "50177b5a-a445-4a14-ab55-1f6a5a36de9f",
  "userGroupId": "cf297bc4-5b3d-4003-8c67-5952e0bc04e8",
  "deviceId": "21957f82-48a4-475b-b228-fd2f8e90097d",
  "deviceGroupId": "fb4bb145-5d81-447f-b821-3578f6ab2d6f",
  "applicationId": "eb4401a7-4c2f-465b-bec4-ce40835104ee",
  "applicationVersionId": "d4e49031-3edc-4580-84cf-3127c9d2aec7",
  "nodeId": "5db5326e-4902-40fb-8d3f-bd9e6688fae6",
  "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-10-27T09:03:52.8050087+00:00",
  "updatedDateUtc": "2026-10-27T09:03:52.8050087+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-10-27T09:03:52.8050087+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-10-27T09:03:52.8050087+00:00</UpdatedDateUtc>
  <ApplicationId>eb4401a7-4c2f-465b-bec4-ce40835104ee</ApplicationId>
  <ApplicationVersionId>d4e49031-3edc-4580-84cf-3127c9d2aec7</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>fb4bb145-5d81-447f-b821-3578f6ab2d6f</DeviceGroupId>
  <DeviceId>21957f82-48a4-475b-b228-fd2f8e90097d</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>5db5326e-4902-40fb-8d3f-bd9e6688fae6</NodeId>
  <NodeRouteId>8a488fd6-814e-4b46-95da-4b3b8bec7e47</NodeRouteId>
  <TenantId>790dc6a9-3fd2-41ab-b279-f5ff3b77156d</TenantId>
  <UserGroupId>cf297bc4-5b3d-4003-8c67-5952e0bc04e8</UserGroupId>
  <UserId>50177b5a-a445-4a14-ab55-1f6a5a36de9f</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'.