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": "0e659a05-ad83-4759-8e07-f7d56e10dff9",
  "tenantId": "722ebbed-ed1c-414e-85f5-c2dda5b07648",
  "userId": "cdc035de-2517-4be8-88f6-c8de8ebd3613",
  "userGroupId": "497662ff-d50e-41e6-8590-f9ddab71da6f",
  "deviceId": "f85809dd-47c9-4ef7-998e-7ee62c810089",
  "deviceGroupId": "a6892580-6a63-46bc-bf48-670fb2350859",
  "applicationId": "0775c2e9-a297-4321-b182-429a13667507",
  "applicationVersionId": "80a036cc-c708-4350-a4f0-bb536625a8f4",
  "nodeId": "9e2919ac-487e-4de8-a4e8-e9bb497f2c31",
  "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": "2025-07-05T15:47:15.2836357+00:00",
  "updatedDateUtc": "2025-07-05T15:47:15.2836357+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>2025-07-05T15:47:15.2836357+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-07-05T15:47:15.2836357+00:00</UpdatedDateUtc>
  <ApplicationId>0775c2e9-a297-4321-b182-429a13667507</ApplicationId>
  <ApplicationVersionId>80a036cc-c708-4350-a4f0-bb536625a8f4</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>a6892580-6a63-46bc-bf48-670fb2350859</DeviceGroupId>
  <DeviceId>f85809dd-47c9-4ef7-998e-7ee62c810089</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>9e2919ac-487e-4de8-a4e8-e9bb497f2c31</NodeId>
  <NodeRouteId>0e659a05-ad83-4759-8e07-f7d56e10dff9</NodeRouteId>
  <TenantId>722ebbed-ed1c-414e-85f5-c2dda5b07648</TenantId>
  <UserGroupId>497662ff-d50e-41e6-8590-f9ddab71da6f</UserGroupId>
  <UserId>cdc035de-2517-4be8-88f6-c8de8ebd3613</UserId>
</NodeRouteRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.