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": "5e8faa2a-f8b3-40c5-804f-d780add61e2a",
  "tenantId": "335889f3-6b96-4436-a2d2-ce0cd5ba0e7b",
  "userId": "2ee3950b-3083-4e40-805e-0ac64a6ffa42",
  "userGroupId": "2e084183-4315-4fe9-a863-ceb6fd34aca8",
  "deviceId": "58d11d76-7ee8-49c0-881e-796c791ddab9",
  "deviceGroupId": "1155b186-163f-4829-9d1d-29eb98ce4e98",
  "applicationId": "a8c014a0-7d5f-4057-a67c-3f996362ca1b",
  "applicationVersionId": "a3d92b2d-436d-4693-97e5-3edd846b988e",
  "nodeId": "92f50573-adae-4104-a63e-f1a52f82b17a",
  "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-04-21T01:10:48.0104733+00:00",
  "updatedDateUtc": "2025-04-21T01:10:48.0104733+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-04-21T01:10:48.0104733+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-04-21T01:10:48.0104733+00:00</UpdatedDateUtc>
  <ApplicationId>a8c014a0-7d5f-4057-a67c-3f996362ca1b</ApplicationId>
  <ApplicationVersionId>a3d92b2d-436d-4693-97e5-3edd846b988e</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>1155b186-163f-4829-9d1d-29eb98ce4e98</DeviceGroupId>
  <DeviceId>58d11d76-7ee8-49c0-881e-796c791ddab9</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>92f50573-adae-4104-a63e-f1a52f82b17a</NodeId>
  <NodeRouteId>5e8faa2a-f8b3-40c5-804f-d780add61e2a</NodeRouteId>
  <TenantId>335889f3-6b96-4436-a2d2-ce0cd5ba0e7b</TenantId>
  <UserGroupId>2e084183-4315-4fe9-a863-ceb6fd34aca8</UserGroupId>
  <UserId>2ee3950b-3083-4e40-805e-0ac64a6ffa42</UserId>
</NodeRouteRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.