GET api/MaterialTrees

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of MaterialTree
NameDescriptionTypeAdditional information
MaterialTreeId

integer

None.

ParId

integer

None.

Code

string

None.

MaterialTreeName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "MaterialTreeId": 1,
    "ParId": 2,
    "Code": "sample string 3",
    "MaterialTreeName": "sample string 4"
  },
  {
    "MaterialTreeId": 1,
    "ParId": 2,
    "Code": "sample string 3",
    "MaterialTreeName": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMaterialTree xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SadiApi.Models">
  <MaterialTree>
    <Code>sample string 3</Code>
    <MaterialTreeId>1</MaterialTreeId>
    <MaterialTreeName>sample string 4</MaterialTreeName>
    <ParId>2</ParId>
  </MaterialTree>
  <MaterialTree>
    <Code>sample string 3</Code>
    <MaterialTreeId>1</MaterialTreeId>
    <MaterialTreeName>sample string 4</MaterialTreeName>
    <ParId>2</ParId>
  </MaterialTree>
</ArrayOfMaterialTree>