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": "85936117-4b18-46e0-a7c0-a358a637a6f4",
  "tenantId": "b4b6dced-bcad-4c4e-8b8a-336ee7247a57",
  "userId": "83a0e996-73c1-4c0b-bc87-d1062c83d82e",
  "userGroupId": "ce17c050-7dc7-4773-a860-ff9e7e1b8035",
  "deviceId": "23581bcd-f9e3-4d47-aa24-be87207e2b24",
  "deviceGroupId": "11d73f8e-6ced-4604-93ce-13f0eb974794",
  "applicationId": "c79e4829-0dc0-4b7f-a190-98187496a78d",
  "applicationVersionId": "d3a1f9de-b93b-42db-90a8-276940214940",
  "nodeId": "fba6c44d-127d-4202-a742-e7d981d5a448",
  "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-08-02T06:02:03.8893505+00:00",
  "updatedDateUtc": "2026-08-02T06:02:03.8893505+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-08-02T06:02:03.8893505+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-08-02T06:02:03.8893505+00:00</UpdatedDateUtc>
  <ApplicationId>c79e4829-0dc0-4b7f-a190-98187496a78d</ApplicationId>
  <ApplicationVersionId>d3a1f9de-b93b-42db-90a8-276940214940</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>11d73f8e-6ced-4604-93ce-13f0eb974794</DeviceGroupId>
  <DeviceId>23581bcd-f9e3-4d47-aa24-be87207e2b24</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>fba6c44d-127d-4202-a742-e7d981d5a448</NodeId>
  <NodeRouteId>85936117-4b18-46e0-a7c0-a358a637a6f4</NodeRouteId>
  <TenantId>b4b6dced-bcad-4c4e-8b8a-336ee7247a57</TenantId>
  <UserGroupId>ce17c050-7dc7-4773-a860-ff9e7e1b8035</UserGroupId>
  <UserId>83a0e996-73c1-4c0b-bc87-d1062c83d82e</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'.