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": "49a9e7ca-3388-4731-a7b7-08d134b2f5b5",
  "tenantId": "f94f20d9-2c6e-41c6-8f2c-11238190d1c5",
  "userId": "8d5f0037-ef48-4995-a631-416c201f6f92",
  "userGroupId": "6fc6e22d-33fa-4a85-9bef-a4f3a07ecc94",
  "deviceId": "991bd0e7-9050-42ca-94ba-e3fb99a93139",
  "deviceGroupId": "a5a81440-58c0-4463-b373-20ca01c86e3b",
  "applicationId": "058a6ee7-0b67-413d-9a35-14b0a7afc9da",
  "applicationVersionId": "dc0e8741-a7aa-4ef3-b8fe-c97c675d3c33",
  "nodeId": "a14b0df0-5aa5-4e40-93c5-42cc7e710958",
  "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-06-05T05:29:29.2424772+00:00",
  "updatedDateUtc": "2025-06-05T05:29:29.2424772+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-06-05T05:29:29.2424772+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-06-05T05:29:29.2424772+00:00</UpdatedDateUtc>
  <ApplicationId>058a6ee7-0b67-413d-9a35-14b0a7afc9da</ApplicationId>
  <ApplicationVersionId>dc0e8741-a7aa-4ef3-b8fe-c97c675d3c33</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>a5a81440-58c0-4463-b373-20ca01c86e3b</DeviceGroupId>
  <DeviceId>991bd0e7-9050-42ca-94ba-e3fb99a93139</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>a14b0df0-5aa5-4e40-93c5-42cc7e710958</NodeId>
  <NodeRouteId>49a9e7ca-3388-4731-a7b7-08d134b2f5b5</NodeRouteId>
  <TenantId>f94f20d9-2c6e-41c6-8f2c-11238190d1c5</TenantId>
  <UserGroupId>6fc6e22d-33fa-4a85-9bef-a4f3a07ecc94</UserGroupId>
  <UserId>8d5f0037-ef48-4995-a631-416c201f6f92</UserId>
</NodeRouteRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.