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": "e0d500b8-d2b6-45d7-a523-46c9939f3fb2",
  "tenantId": "81d32f9c-5b1e-4a48-8924-7c15522cc837",
  "userId": "c3146f77-c273-4a7c-bfd8-c8e3fec8c14a",
  "userGroupId": "0f179251-6d05-4619-b3b6-c778843bb0a1",
  "deviceId": "5efb150a-b121-4f6e-a977-7185084eea50",
  "deviceGroupId": "e1d73f81-3b78-4afb-93e0-9732292ef5ca",
  "applicationId": "e3855347-ee67-4244-8651-8b3769e30181",
  "applicationVersionId": "12ba27c4-4979-4d73-91b2-2033d16b3c19",
  "nodeId": "b5feece6-ae21-416c-8d24-80281318123d",
  "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-11-15T11:39:04.865512+00:00",
  "updatedDateUtc": "2025-11-15T11:39:04.865512+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-11-15T11:39:04.865512+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-11-15T11:39:04.865512+00:00</UpdatedDateUtc>
  <ApplicationId>e3855347-ee67-4244-8651-8b3769e30181</ApplicationId>
  <ApplicationVersionId>12ba27c4-4979-4d73-91b2-2033d16b3c19</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>e1d73f81-3b78-4afb-93e0-9732292ef5ca</DeviceGroupId>
  <DeviceId>5efb150a-b121-4f6e-a977-7185084eea50</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>b5feece6-ae21-416c-8d24-80281318123d</NodeId>
  <NodeRouteId>e0d500b8-d2b6-45d7-a523-46c9939f3fb2</NodeRouteId>
  <TenantId>81d32f9c-5b1e-4a48-8924-7c15522cc837</TenantId>
  <UserGroupId>0f179251-6d05-4619-b3b6-c778843bb0a1</UserGroupId>
  <UserId>c3146f77-c273-4a7c-bfd8-c8e3fec8c14a</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'.