POST api/NodeAttributes

Gets the list of node attributes associated with the provided list of node ids

Request Information

URI Parameters

None.

Body Parameters

List of node IDs

Collection of integer

Request Formats

application/json, text/json

Sample:
[
  1,
  2
]

text/html

Sample:
[1,2]

application/xml, text/xml

Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <int>1</int>
  <int>2</int>
</ArrayOfint>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

List of Nodes With Attributes

Collection of NodeWithAttributes
NameDescriptionTypeAdditional information
Node

Node

None.

NodeAttributes

Collection of NodeAttribute

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Node": null,
    "NodeAttributes": [
      {
        "ID": 1,
        "Parent": 2,
        "Title": "sample string 3",
        "Description": "sample string 4",
        "Label": "sample string 5",
        "Visibility": 0,
        "Value": "sample string 6",
        "DateCreated": "2024-04-25T22:40:58.4593719+00:00",
        "DateModified": "2024-04-25T22:40:58.4593719+00:00"
      },
      {
        "ID": 1,
        "Parent": 2,
        "Title": "sample string 3",
        "Description": "sample string 4",
        "Label": "sample string 5",
        "Visibility": 0,
        "Value": "sample string 6",
        "DateCreated": "2024-04-25T22:40:58.4593719+00:00",
        "DateModified": "2024-04-25T22:40:58.4593719+00:00"
      }
    ]
  },
  {
    "Node": null,
    "NodeAttributes": [
      {
        "ID": 1,
        "Parent": 2,
        "Title": "sample string 3",
        "Description": "sample string 4",
        "Label": "sample string 5",
        "Visibility": 0,
        "Value": "sample string 6",
        "DateCreated": "2024-04-25T22:40:58.4593719+00:00",
        "DateModified": "2024-04-25T22:40:58.4593719+00:00"
      },
      {
        "ID": 1,
        "Parent": 2,
        "Title": "sample string 3",
        "Description": "sample string 4",
        "Label": "sample string 5",
        "Visibility": 0,
        "Value": "sample string 6",
        "DateCreated": "2024-04-25T22:40:58.4593719+00:00",
        "DateModified": "2024-04-25T22:40:58.4593719+00:00"
      }
    ]
  }
]

text/html

Sample:
[{"Node":null,"NodeAttributes":[{"ID":1,"Parent":2,"Title":"sample string 3","Description":"sample string 4","Label":"sample string 5","Visibility":0,"Value":"sample string 6","DateCreated":"2024-04-25T22:40:58.4593719+00:00","DateModified":"2024-04-25T22:40:58.4593719+00:00"},{"ID":1,"Parent":2,"Title":"sample string 3","Description":"sample string 4","Label":"sample string 5","Visibility":0,"Value":"sample string 6","DateCreated":"2024-04-25T22:40:58.4593719+00:00","DateModified":"2024-04-25T22:40:58.4593719+00:00"}]},{"Node":null,"NodeAttributes":[{"ID":1,"Parent":2,"Title":"sample string 3","Description":"sample string 4","Label":"sample string 5","Visibility":0,"Value":"sample string 6","DateCreated":"2024-04-25T22:40:58.4593719+00:00","DateModified":"2024-04-25T22:40:58.4593719+00:00"},{"ID":1,"Parent":2,"Title":"sample string 3","Description":"sample string 4","Label":"sample string 5","Visibility":0,"Value":"sample string 6","DateCreated":"2024-04-25T22:40:58.4593719+00:00","DateModified":"2024-04-25T22:40:58.4593719+00:00"}]}]

application/xml, text/xml

Sample:
<ArrayOfNodeWithAttributes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Jotunheim.Models.ViewModels">
  <NodeWithAttributes>
    <Node xmlns:d3p1="http://schemas.datacontract.org/2004/07/Jotunheim.Models.Core" i:nil="true" />
    <NodeAttributes xmlns:d3p1="http://schemas.datacontract.org/2004/07/Jotunheim.Models.Core">
      <d3p1:NodeAttribute>
        <d3p1:DateCreated>2024-04-25T22:40:58.4593719+00:00</d3p1:DateCreated>
        <d3p1:DateModified>2024-04-25T22:40:58.4593719+00:00</d3p1:DateModified>
        <d3p1:Description>sample string 4</d3p1:Description>
        <d3p1:ID>1</d3p1:ID>
        <d3p1:Label>sample string 5</d3p1:Label>
        <d3p1:Parent>2</d3p1:Parent>
        <d3p1:Title>sample string 3</d3p1:Title>
        <d3p1:Value>sample string 6</d3p1:Value>
        <d3p1:Visibility>Public</d3p1:Visibility>
      </d3p1:NodeAttribute>
      <d3p1:NodeAttribute>
        <d3p1:DateCreated>2024-04-25T22:40:58.4593719+00:00</d3p1:DateCreated>
        <d3p1:DateModified>2024-04-25T22:40:58.4593719+00:00</d3p1:DateModified>
        <d3p1:Description>sample string 4</d3p1:Description>
        <d3p1:ID>1</d3p1:ID>
        <d3p1:Label>sample string 5</d3p1:Label>
        <d3p1:Parent>2</d3p1:Parent>
        <d3p1:Title>sample string 3</d3p1:Title>
        <d3p1:Value>sample string 6</d3p1:Value>
        <d3p1:Visibility>Public</d3p1:Visibility>
      </d3p1:NodeAttribute>
    </NodeAttributes>
  </NodeWithAttributes>
  <NodeWithAttributes>
    <Node xmlns:d3p1="http://schemas.datacontract.org/2004/07/Jotunheim.Models.Core" i:nil="true" />
    <NodeAttributes xmlns:d3p1="http://schemas.datacontract.org/2004/07/Jotunheim.Models.Core">
      <d3p1:NodeAttribute>
        <d3p1:DateCreated>2024-04-25T22:40:58.4593719+00:00</d3p1:DateCreated>
        <d3p1:DateModified>2024-04-25T22:40:58.4593719+00:00</d3p1:DateModified>
        <d3p1:Description>sample string 4</d3p1:Description>
        <d3p1:ID>1</d3p1:ID>
        <d3p1:Label>sample string 5</d3p1:Label>
        <d3p1:Parent>2</d3p1:Parent>
        <d3p1:Title>sample string 3</d3p1:Title>
        <d3p1:Value>sample string 6</d3p1:Value>
        <d3p1:Visibility>Public</d3p1:Visibility>
      </d3p1:NodeAttribute>
      <d3p1:NodeAttribute>
        <d3p1:DateCreated>2024-04-25T22:40:58.4593719+00:00</d3p1:DateCreated>
        <d3p1:DateModified>2024-04-25T22:40:58.4593719+00:00</d3p1:DateModified>
        <d3p1:Description>sample string 4</d3p1:Description>
        <d3p1:ID>1</d3p1:ID>
        <d3p1:Label>sample string 5</d3p1:Label>
        <d3p1:Parent>2</d3p1:Parent>
        <d3p1:Title>sample string 3</d3p1:Title>
        <d3p1:Value>sample string 6</d3p1:Value>
        <d3p1:Visibility>Public</d3p1:Visibility>
      </d3p1:NodeAttribute>
    </NodeAttributes>
  </NodeWithAttributes>
</ArrayOfNodeWithAttributes>