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": "93f88022-9659-41b9-bf6c-b8c73efb59a9",
  "tenantId": "f2f94c9d-5e5b-4944-823b-8af466671598",
  "userId": "41e587a3-cd80-4172-8a80-3b249f90c72b",
  "userGroupId": "1833b98b-6f0a-4315-8bf3-da5126dfc90c",
  "deviceId": "85aee205-16eb-454c-b3ff-91060f4efca4",
  "deviceGroupId": "4369eefb-1747-4c4e-9e6a-0d36e9949682",
  "applicationId": "d7ae5a39-1f6c-41f3-91a2-abd812748d39",
  "applicationVersionId": "c641b693-a346-4c2f-9d84-dbe453441d67",
  "nodeId": "3671fe53-5456-457b-8a2f-7a481307b96e",
  "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-05T18:16:41.2282278+00:00",
  "updatedDateUtc": "2026-06-05T18:16:41.2282278+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-05T18:16:41.2282278+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-06-05T18:16:41.2282278+00:00</UpdatedDateUtc>
  <ApplicationId>d7ae5a39-1f6c-41f3-91a2-abd812748d39</ApplicationId>
  <ApplicationVersionId>c641b693-a346-4c2f-9d84-dbe453441d67</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>4369eefb-1747-4c4e-9e6a-0d36e9949682</DeviceGroupId>
  <DeviceId>85aee205-16eb-454c-b3ff-91060f4efca4</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>3671fe53-5456-457b-8a2f-7a481307b96e</NodeId>
  <NodeRouteId>93f88022-9659-41b9-bf6c-b8c73efb59a9</NodeRouteId>
  <TenantId>f2f94c9d-5e5b-4944-823b-8af466671598</TenantId>
  <UserGroupId>1833b98b-6f0a-4315-8bf3-da5126dfc90c</UserGroupId>
  <UserId>41e587a3-cd80-4172-8a80-3b249f90c72b</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'.