GET api/NodeAttributeMasterGroups?nodeId={nodeId}&masterGroupId={masterGroupId}

Gets all of the attribute values for a node, filtering those attributes by the groups within the given master group

Request Information

URI Parameters

NameDescriptionTypeAdditional information
nodeId

Node ID

integer

Required

masterGroupId

Master Group ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

List of groups with attributes for a specific node

Collection of NodeAttributeGroupWithAttributes
NameDescriptionTypeAdditional information
Group

NodeAttributeGroup

None.

NodeAttributes

Collection of NodeAttributeTitleAndValue

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Group": {
      "GroupTitle": "sample string 1",
      "UserId": 1,
      "NodeId": 1,
      "DateCreated": "2024-11-21T09:57:16.5364745+00:00",
      "DateModified": "2024-11-21T09:57:16.5364745+00:00",
      "ID": 4
    },
    "NodeAttributes": [
      {
        "NodeAttributeTitle": {
          "Title": "sample string 1",
          "Label": "sample string 2",
          "Description": "sample string 3",
          "DateCreated": "2024-11-21T09:57:16.5364745+00:00",
          "DateModified": "2024-11-21T09:57:16.5364745+00:00",
          "ID": 6
        },
        "NodeAttributeValue": {
          "ID": 1,
          "Parent": 2,
          "Title": 3,
          "Value": "sample string 4",
          "Unit": "sample string 5",
          "Visibility": 0,
          "DateCreated": "2024-11-21T09:57:16.5364745+00:00",
          "DateModified": "2024-11-21T09:57:16.5364745+00:00"
        }
      },
      {
        "NodeAttributeTitle": {
          "Title": "sample string 1",
          "Label": "sample string 2",
          "Description": "sample string 3",
          "DateCreated": "2024-11-21T09:57:16.5364745+00:00",
          "DateModified": "2024-11-21T09:57:16.5364745+00:00",
          "ID": 6
        },
        "NodeAttributeValue": {
          "ID": 1,
          "Parent": 2,
          "Title": 3,
          "Value": "sample string 4",
          "Unit": "sample string 5",
          "Visibility": 0,
          "DateCreated": "2024-11-21T09:57:16.5364745+00:00",
          "DateModified": "2024-11-21T09:57:16.5364745+00:00"
        }
      }
    ]
  },
  {
    "Group": {
      "GroupTitle": "sample string 1",
      "UserId": 1,
      "NodeId": 1,
      "DateCreated": "2024-11-21T09:57:16.5364745+00:00",
      "DateModified": "2024-11-21T09:57:16.5364745+00:00",
      "ID": 4
    },
    "NodeAttributes": [
      {
        "NodeAttributeTitle": {
          "Title": "sample string 1",
          "Label": "sample string 2",
          "Description": "sample string 3",
          "DateCreated": "2024-11-21T09:57:16.5364745+00:00",
          "DateModified": "2024-11-21T09:57:16.5364745+00:00",
          "ID": 6
        },
        "NodeAttributeValue": {
          "ID": 1,
          "Parent": 2,
          "Title": 3,
          "Value": "sample string 4",
          "Unit": "sample string 5",
          "Visibility": 0,
          "DateCreated": "2024-11-21T09:57:16.5364745+00:00",
          "DateModified": "2024-11-21T09:57:16.5364745+00:00"
        }
      },
      {
        "NodeAttributeTitle": {
          "Title": "sample string 1",
          "Label": "sample string 2",
          "Description": "sample string 3",
          "DateCreated": "2024-11-21T09:57:16.5364745+00:00",
          "DateModified": "2024-11-21T09:57:16.5364745+00:00",
          "ID": 6
        },
        "NodeAttributeValue": {
          "ID": 1,
          "Parent": 2,
          "Title": 3,
          "Value": "sample string 4",
          "Unit": "sample string 5",
          "Visibility": 0,
          "DateCreated": "2024-11-21T09:57:16.5364745+00:00",
          "DateModified": "2024-11-21T09:57:16.5364745+00:00"
        }
      }
    ]
  }
]

text/html

Sample:
[{"Group":{"GroupTitle":"sample string 1","UserId":1,"NodeId":1,"DateCreated":"2024-11-21T09:57:16.5364745+00:00","DateModified":"2024-11-21T09:57:16.5364745+00:00","ID":4},"NodeAttributes":[{"NodeAttributeTitle":{"Title":"sample string 1","Label":"sample string 2","Description":"sample string 3","DateCreated":"2024-11-21T09:57:16.5364745+00:00","DateModified":"2024-11-21T09:57:16.5364745+00:00","ID":6},"NodeAttributeValue":{"ID":1,"Parent":2,"Title":3,"Value":"sample string 4","Unit":"sample string 5","Visibility":0,"DateCreated":"2024-11-21T09:57:16.5364745+00:00","DateModified":"2024-11-21T09:57:16.5364745+00:00"}},{"NodeAttributeTitle":{"Title":"sample string 1","Label":"sample string 2","Description":"sample string 3","DateCreated":"2024-11-21T09:57:16.5364745+00:00","DateModified":"2024-11-21T09:57:16.5364745+00:00","ID":6},"NodeAttributeValue":{"ID":1,"Parent":2,"Title":3,"Value":"sample string 4","Unit":"sample string 5","Visibility":0,"DateCreated":"2024-11-21T09:57:16.5364745+00:00","DateModified":"2024-11-21T09:57:16.5364745+00:00"}}]},{"Group":{"GroupTitle":"sample string 1","UserId":1,"NodeId":1,"DateCreated":"2024-11-21T09:57:16.5364745+00:00","DateModified":"2024-11-21T09:57:16.5364745+00:00","ID":4},"NodeAttributes":[{"NodeAttributeTitle":{"Title":"sample string 1","Label":"sample string 2","Description":"sample string 3","DateCreated":"2024-11-21T09:57:16.5364745+00:00","DateModified":"2024-11-21T09:57:16.5364745+00:00","ID":6},"NodeAttributeValue":{"ID":1,"Parent":2,"Title":3,"Value":"sample string 4","Unit":"sample string 5","Visibility":0,"DateCreated":"2024-11-21T09:57:16.5364745+00:00","DateModified":"2024-11-21T09:57:16.5364745+00:00"}},{"NodeAttributeTitle":{"Title":"sample string 1","Label":"sample string 2","Description":"sample string 3","DateCreated":"2024-11-21T09:57:16.5364745+00:00","DateModified":"2024-11-21T09:57:16.5364745+00:00","ID":6},"NodeAttributeValue":{"ID":1,"Parent":2,"Title":3,"Value":"sample string 4","Unit":"sample string 5","Visibility":0,"DateCreated":"2024-11-21T09:57:16.5364745+00:00","DateModified":"2024-11-21T09:57:16.5364745+00:00"}}]}]

application/xml, text/xml

Sample:
<ArrayOfNodeAttributeGroupWithAttributes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Jotunheim.Models.ViewModels.AttributeGroups">
  <NodeAttributeGroupWithAttributes>
    <Group xmlns:d3p1="http://schemas.datacontract.org/2004/07/Jotunheim.Models.Core.NodeAttributes.NodeAttributeGroups">
      <d3p1:DateCreated>2024-11-21T09:57:16.5364745+00:00</d3p1:DateCreated>
      <d3p1:DateModified>2024-11-21T09:57:16.5364745+00:00</d3p1:DateModified>
      <d3p1:GroupTitle>sample string 1</d3p1:GroupTitle>
      <d3p1:ID>4</d3p1:ID>
      <d3p1:NodeId>1</d3p1:NodeId>
      <d3p1:UserId>1</d3p1:UserId>
    </Group>
    <NodeAttributes xmlns:d3p1="http://schemas.datacontract.org/2004/07/Jotunheim.Models.ViewModels">
      <d3p1:NodeAttributeTitleAndValue>
        <d3p1:NodeAttributeTitle xmlns:d5p1="http://schemas.datacontract.org/2004/07/Jotunheim.Models.Core.NodeAttributes">
          <d5p1:DateCreated>2024-11-21T09:57:16.5364745+00:00</d5p1:DateCreated>
          <d5p1:DateModified>2024-11-21T09:57:16.5364745+00:00</d5p1:DateModified>
          <d5p1:Description>sample string 3</d5p1:Description>
          <d5p1:ID>6</d5p1:ID>
          <d5p1:Label>sample string 2</d5p1:Label>
          <d5p1:Title>sample string 1</d5p1:Title>
        </d3p1:NodeAttributeTitle>
        <d3p1:NodeAttributeValue xmlns:d5p1="http://schemas.datacontract.org/2004/07/Jotunheim.Models.Core.NodeAttributes">
          <d5p1:DateCreated>2024-11-21T09:57:16.5364745+00:00</d5p1:DateCreated>
          <d5p1:DateModified>2024-11-21T09:57:16.5364745+00:00</d5p1:DateModified>
          <d5p1:ID>1</d5p1:ID>
          <d5p1:Parent>2</d5p1:Parent>
          <d5p1:Title>3</d5p1:Title>
          <d5p1:Unit>sample string 5</d5p1:Unit>
          <d5p1:Value>sample string 4</d5p1:Value>
          <d5p1:Visibility>Public</d5p1:Visibility>
        </d3p1:NodeAttributeValue>
      </d3p1:NodeAttributeTitleAndValue>
      <d3p1:NodeAttributeTitleAndValue>
        <d3p1:NodeAttributeTitle xmlns:d5p1="http://schemas.datacontract.org/2004/07/Jotunheim.Models.Core.NodeAttributes">
          <d5p1:DateCreated>2024-11-21T09:57:16.5364745+00:00</d5p1:DateCreated>
          <d5p1:DateModified>2024-11-21T09:57:16.5364745+00:00</d5p1:DateModified>
          <d5p1:Description>sample string 3</d5p1:Description>
          <d5p1:ID>6</d5p1:ID>
          <d5p1:Label>sample string 2</d5p1:Label>
          <d5p1:Title>sample string 1</d5p1:Title>
        </d3p1:NodeAttributeTitle>
        <d3p1:NodeAttributeValue xmlns:d5p1="http://schemas.datacontract.org/2004/07/Jotunheim.Models.Core.NodeAttributes">
          <d5p1:DateCreated>2024-11-21T09:57:16.5364745+00:00</d5p1:DateCreated>
          <d5p1:DateModified>2024-11-21T09:57:16.5364745+00:00</d5p1:DateModified>
          <d5p1:ID>1</d5p1:ID>
          <d5p1:Parent>2</d5p1:Parent>
          <d5p1:Title>3</d5p1:Title>
          <d5p1:Unit>sample string 5</d5p1:Unit>
          <d5p1:Value>sample string 4</d5p1:Value>
          <d5p1:Visibility>Public</d5p1:Visibility>
        </d3p1:NodeAttributeValue>
      </d3p1:NodeAttributeTitleAndValue>
    </NodeAttributes>
  </NodeAttributeGroupWithAttributes>
  <NodeAttributeGroupWithAttributes>
    <Group xmlns:d3p1="http://schemas.datacontract.org/2004/07/Jotunheim.Models.Core.NodeAttributes.NodeAttributeGroups">
      <d3p1:DateCreated>2024-11-21T09:57:16.5364745+00:00</d3p1:DateCreated>
      <d3p1:DateModified>2024-11-21T09:57:16.5364745+00:00</d3p1:DateModified>
      <d3p1:GroupTitle>sample string 1</d3p1:GroupTitle>
      <d3p1:ID>4</d3p1:ID>
      <d3p1:NodeId>1</d3p1:NodeId>
      <d3p1:UserId>1</d3p1:UserId>
    </Group>
    <NodeAttributes xmlns:d3p1="http://schemas.datacontract.org/2004/07/Jotunheim.Models.ViewModels">
      <d3p1:NodeAttributeTitleAndValue>
        <d3p1:NodeAttributeTitle xmlns:d5p1="http://schemas.datacontract.org/2004/07/Jotunheim.Models.Core.NodeAttributes">
          <d5p1:DateCreated>2024-11-21T09:57:16.5364745+00:00</d5p1:DateCreated>
          <d5p1:DateModified>2024-11-21T09:57:16.5364745+00:00</d5p1:DateModified>
          <d5p1:Description>sample string 3</d5p1:Description>
          <d5p1:ID>6</d5p1:ID>
          <d5p1:Label>sample string 2</d5p1:Label>
          <d5p1:Title>sample string 1</d5p1:Title>
        </d3p1:NodeAttributeTitle>
        <d3p1:NodeAttributeValue xmlns:d5p1="http://schemas.datacontract.org/2004/07/Jotunheim.Models.Core.NodeAttributes">
          <d5p1:DateCreated>2024-11-21T09:57:16.5364745+00:00</d5p1:DateCreated>
          <d5p1:DateModified>2024-11-21T09:57:16.5364745+00:00</d5p1:DateModified>
          <d5p1:ID>1</d5p1:ID>
          <d5p1:Parent>2</d5p1:Parent>
          <d5p1:Title>3</d5p1:Title>
          <d5p1:Unit>sample string 5</d5p1:Unit>
          <d5p1:Value>sample string 4</d5p1:Value>
          <d5p1:Visibility>Public</d5p1:Visibility>
        </d3p1:NodeAttributeValue>
      </d3p1:NodeAttributeTitleAndValue>
      <d3p1:NodeAttributeTitleAndValue>
        <d3p1:NodeAttributeTitle xmlns:d5p1="http://schemas.datacontract.org/2004/07/Jotunheim.Models.Core.NodeAttributes">
          <d5p1:DateCreated>2024-11-21T09:57:16.5364745+00:00</d5p1:DateCreated>
          <d5p1:DateModified>2024-11-21T09:57:16.5364745+00:00</d5p1:DateModified>
          <d5p1:Description>sample string 3</d5p1:Description>
          <d5p1:ID>6</d5p1:ID>
          <d5p1:Label>sample string 2</d5p1:Label>
          <d5p1:Title>sample string 1</d5p1:Title>
        </d3p1:NodeAttributeTitle>
        <d3p1:NodeAttributeValue xmlns:d5p1="http://schemas.datacontract.org/2004/07/Jotunheim.Models.Core.NodeAttributes">
          <d5p1:DateCreated>2024-11-21T09:57:16.5364745+00:00</d5p1:DateCreated>
          <d5p1:DateModified>2024-11-21T09:57:16.5364745+00:00</d5p1:DateModified>
          <d5p1:ID>1</d5p1:ID>
          <d5p1:Parent>2</d5p1:Parent>
          <d5p1:Title>3</d5p1:Title>
          <d5p1:Unit>sample string 5</d5p1:Unit>
          <d5p1:Value>sample string 4</d5p1:Value>
          <d5p1:Visibility>Public</d5p1:Visibility>
        </d3p1:NodeAttributeValue>
      </d3p1:NodeAttributeTitleAndValue>
    </NodeAttributes>
  </NodeAttributeGroupWithAttributes>
</ArrayOfNodeAttributeGroupWithAttributes>