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": "a5a08f3c-dff5-4543-846d-ba41f68d3d69",
  "tenantId": "ec8461ff-474d-4b4f-a807-3c0851378f06",
  "userId": "f93c8eb3-f7e6-416d-b1c7-409cb675fa5b",
  "userGroupId": "0cb9b0b9-a76d-4563-9022-72dd88b6e867",
  "deviceId": "ebf56f3c-4262-407b-b10f-201ce9eeb943",
  "deviceGroupId": "4e979d8a-46fc-4374-b367-0c41404680c2",
  "applicationId": "9572c42c-61cc-4951-a015-cea282a32ad2",
  "applicationVersionId": "d32286b2-7ad5-4637-b257-5ccf244258ab",
  "nodeId": "d925af3c-d2ab-437d-bb4b-cea30bc11f0c",
  "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": "2024-08-29T22:29:59.0566318+00:00",
  "updatedDateUtc": "2024-08-29T22:29:59.0566318+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>2024-08-29T22:29:59.0566318+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2024-08-29T22:29:59.0566318+00:00</UpdatedDateUtc>
  <ApplicationId>9572c42c-61cc-4951-a015-cea282a32ad2</ApplicationId>
  <ApplicationVersionId>d32286b2-7ad5-4637-b257-5ccf244258ab</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>4e979d8a-46fc-4374-b367-0c41404680c2</DeviceGroupId>
  <DeviceId>ebf56f3c-4262-407b-b10f-201ce9eeb943</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>d925af3c-d2ab-437d-bb4b-cea30bc11f0c</NodeId>
  <NodeRouteId>a5a08f3c-dff5-4543-846d-ba41f68d3d69</NodeRouteId>
  <TenantId>ec8461ff-474d-4b4f-a807-3c0851378f06</TenantId>
  <UserGroupId>0cb9b0b9-a76d-4563-9022-72dd88b6e867</UserGroupId>
  <UserId>f93c8eb3-f7e6-416d-b1c7-409cb675fa5b</UserId>
</NodeRouteRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.