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": "09632188-af7c-49ee-90ab-e55428c766ca",
  "tenantId": "fe3402ca-40d0-4606-a495-5b26612307fc",
  "userId": "297c4b2d-7f77-43e4-afe2-6494c8675d56",
  "userGroupId": "c6bfe6a2-1ed6-46ae-8825-ae3f5f91b62a",
  "deviceId": "b94ee9ef-6ddf-4ce3-b49b-a9ce9604b039",
  "deviceGroupId": "128692b3-3dc7-4d7e-b69f-e26f3eacfbea",
  "applicationId": "0e6a70b3-c7d2-4b79-99fd-ea01b571142d",
  "applicationVersionId": "f15e362d-d06a-4e8d-ac24-7b14c245386d",
  "nodeId": "9642a252-eafe-4d51-86b4-0bb69905b0eb",
  "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-03-31T13:08:29.8275938+00:00",
  "updatedDateUtc": "2026-03-31T13:08:29.8275938+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-03-31T13:08:29.8275938+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-03-31T13:08:29.8275938+00:00</UpdatedDateUtc>
  <ApplicationId>0e6a70b3-c7d2-4b79-99fd-ea01b571142d</ApplicationId>
  <ApplicationVersionId>f15e362d-d06a-4e8d-ac24-7b14c245386d</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>128692b3-3dc7-4d7e-b69f-e26f3eacfbea</DeviceGroupId>
  <DeviceId>b94ee9ef-6ddf-4ce3-b49b-a9ce9604b039</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>9642a252-eafe-4d51-86b4-0bb69905b0eb</NodeId>
  <NodeRouteId>09632188-af7c-49ee-90ab-e55428c766ca</NodeRouteId>
  <TenantId>fe3402ca-40d0-4606-a495-5b26612307fc</TenantId>
  <UserGroupId>c6bfe6a2-1ed6-46ae-8825-ae3f5f91b62a</UserGroupId>
  <UserId>297c4b2d-7f77-43e4-afe2-6494c8675d56</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'.