GET api/Datasheets/{id}

Gets the Node Attribute Groups associated with the Datasheets and the values of attributes within those groups associated for a specific part

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Part Node ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

List of Node Attribute Groups, with a list of Attribute Titles and Values

Collection of NodeAttributeGroupWithAttributes
NameDescriptionTypeAdditional information
Group

A Node Attribute Group, grouping together relevant Node Attribute Titles

NodeAttributeGroup

None.

NodeAttributes

The list of Node Attribute Titles and Values within that group. Titles and Values are split across separate objects.

Collection of NodeAttributeTitleAndValue

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Group": {
      "GroupTitle": "sample string 1",
      "UserId": 1,
      "NodeId": 1,
      "DateCreated": "2019-08-23T02:45:18.2632292+00:00",
      "DateModified": "2019-08-23T02:45:18.2632292+00:00",
      "ID": 4
    },
    "NodeAttributes": [
      {
        "NodeAttributeTitle": {
          "Title": "sample string 1",
          "Label": "sample string 2",
          "Description": "sample string 3",
          "DateCreated": "2019-08-23T02:45:18.2632292+00:00",
          "DateModified": "2019-08-23T02:45:18.2632292+00:00",
          "ID": 6
        },
        "NodeAttributeValue": {
          "ID": 1,
          "Parent": 2,
          "Title": 3,
          "Value": "sample string 4",
          "Unit": "sample string 5",
          "Visibility": 0,
          "DateCreated": "2019-08-23T02:45:18.2632292+00:00",
          "DateModified": "2019-08-23T02:45:18.2632292+00:00"
        }
      },
      {
        "NodeAttributeTitle": {
          "Title": "sample string 1",
          "Label": "sample string 2",
          "Description": "sample string 3",
          "DateCreated": "2019-08-23T02:45:18.2632292+00:00",
          "DateModified": "2019-08-23T02:45:18.2632292+00:00",
          "ID": 6
        },
        "NodeAttributeValue": {
          "ID": 1,
          "Parent": 2,
          "Title": 3,
          "Value": "sample string 4",
          "Unit": "sample string 5",
          "Visibility": 0,
          "DateCreated": "2019-08-23T02:45:18.2632292+00:00",
          "DateModified": "2019-08-23T02:45:18.2632292+00:00"
        }
      }
    ]
  },
  {
    "Group": {
      "GroupTitle": "sample string 1",
      "UserId": 1,
      "NodeId": 1,
      "DateCreated": "2019-08-23T02:45:18.2632292+00:00",
      "DateModified": "2019-08-23T02:45:18.2632292+00:00",
      "ID": 4
    },
    "NodeAttributes": [
      {
        "NodeAttributeTitle": {
          "Title": "sample string 1",
          "Label": "sample string 2",
          "Description": "sample string 3",
          "DateCreated": "2019-08-23T02:45:18.2632292+00:00",
          "DateModified": "2019-08-23T02:45:18.2632292+00:00",
          "ID": 6
        },
        "NodeAttributeValue": {
          "ID": 1,
          "Parent": 2,
          "Title": 3,
          "Value": "sample string 4",
          "Unit": "sample string 5",
          "Visibility": 0,
          "DateCreated": "2019-08-23T02:45:18.2632292+00:00",
          "DateModified": "2019-08-23T02:45:18.2632292+00:00"
        }
      },
      {
        "NodeAttributeTitle": {
          "Title": "sample string 1",
          "Label": "sample string 2",
          "Description": "sample string 3",
          "DateCreated": "2019-08-23T02:45:18.2632292+00:00",
          "DateModified": "2019-08-23T02:45:18.2632292+00:00",
          "ID": 6
        },
        "NodeAttributeValue": {
          "ID": 1,
          "Parent": 2,
          "Title": 3,
          "Value": "sample string 4",
          "Unit": "sample string 5",
          "Visibility": 0,
          "DateCreated": "2019-08-23T02:45:18.2632292+00:00",
          "DateModified": "2019-08-23T02:45:18.2632292+00:00"
        }
      }
    ]
  }
]

text/html

Sample:
[{"Group":{"GroupTitle":"sample string 1","UserId":1,"NodeId":1,"DateCreated":"2019-08-23T02:45:18.2632292+00:00","DateModified":"2019-08-23T02:45:18.2632292+00:00","ID":4},"NodeAttributes":[{"NodeAttributeTitle":{"Title":"sample string 1","Label":"sample string 2","Description":"sample string 3","DateCreated":"2019-08-23T02:45:18.2632292+00:00","DateModified":"2019-08-23T02:45:18.2632292+00:00","ID":6},"NodeAttributeValue":{"ID":1,"Parent":2,"Title":3,"Value":"sample string 4","Unit":"sample string 5","Visibility":0,"DateCreated":"2019-08-23T02:45:18.2632292+00:00","DateModified":"2019-08-23T02:45:18.2632292+00:00"}},{"NodeAttributeTitle":{"Title":"sample string 1","Label":"sample string 2","Description":"sample string 3","DateCreated":"2019-08-23T02:45:18.2632292+00:00","DateModified":"2019-08-23T02:45:18.2632292+00:00","ID":6},"NodeAttributeValue":{"ID":1,"Parent":2,"Title":3,"Value":"sample string 4","Unit":"sample string 5","Visibility":0,"DateCreated":"2019-08-23T02:45:18.2632292+00:00","DateModified":"2019-08-23T02:45:18.2632292+00:00"}}]},{"Group":{"GroupTitle":"sample string 1","UserId":1,"NodeId":1,"DateCreated":"2019-08-23T02:45:18.2632292+00:00","DateModified":"2019-08-23T02:45:18.2632292+00:00","ID":4},"NodeAttributes":[{"NodeAttributeTitle":{"Title":"sample string 1","Label":"sample string 2","Description":"sample string 3","DateCreated":"2019-08-23T02:45:18.2632292+00:00","DateModified":"2019-08-23T02:45:18.2632292+00:00","ID":6},"NodeAttributeValue":{"ID":1,"Parent":2,"Title":3,"Value":"sample string 4","Unit":"sample string 5","Visibility":0,"DateCreated":"2019-08-23T02:45:18.2632292+00:00","DateModified":"2019-08-23T02:45:18.2632292+00:00"}},{"NodeAttributeTitle":{"Title":"sample string 1","Label":"sample string 2","Description":"sample string 3","DateCreated":"2019-08-23T02:45:18.2632292+00:00","DateModified":"2019-08-23T02:45:18.2632292+00:00","ID":6},"NodeAttributeValue":{"ID":1,"Parent":2,"Title":3,"Value":"sample string 4","Unit":"sample string 5","Visibility":0,"DateCreated":"2019-08-23T02:45:18.2632292+00:00","DateModified":"2019-08-23T02:45:18.2632292+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>2019-08-23T02:45:18.2632292+00:00</d3p1:DateCreated>
      <d3p1:DateModified>2019-08-23T02:45:18.2632292+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>2019-08-23T02:45:18.2632292+00:00</d5p1:DateCreated>
          <d5p1:DateModified>2019-08-23T02:45:18.2632292+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>2019-08-23T02:45:18.2632292+00:00</d5p1:DateCreated>
          <d5p1:DateModified>2019-08-23T02:45:18.2632292+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>2019-08-23T02:45:18.2632292+00:00</d5p1:DateCreated>
          <d5p1:DateModified>2019-08-23T02:45:18.2632292+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>2019-08-23T02:45:18.2632292+00:00</d5p1:DateCreated>
          <d5p1:DateModified>2019-08-23T02:45:18.2632292+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>2019-08-23T02:45:18.2632292+00:00</d3p1:DateCreated>
      <d3p1:DateModified>2019-08-23T02:45:18.2632292+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>2019-08-23T02:45:18.2632292+00:00</d5p1:DateCreated>
          <d5p1:DateModified>2019-08-23T02:45:18.2632292+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>2019-08-23T02:45:18.2632292+00:00</d5p1:DateCreated>
          <d5p1:DateModified>2019-08-23T02:45:18.2632292+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>2019-08-23T02:45:18.2632292+00:00</d5p1:DateCreated>
          <d5p1:DateModified>2019-08-23T02:45:18.2632292+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>2019-08-23T02:45:18.2632292+00:00</d5p1:DateCreated>
          <d5p1:DateModified>2019-08-23T02:45:18.2632292+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>