GET api/Material
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of MaterialName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
SubMaterials | Collection of SubMaterial |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Name": "sample string 2", "SubMaterials": [ { "Id": 1, "MaterialId": 2, "Name": "sample string 3" }, { "Id": 1, "MaterialId": 2, "Name": "sample string 3" } ] }, { "Id": 1, "Name": "sample string 2", "SubMaterials": [ { "Id": 1, "MaterialId": 2, "Name": "sample string 3" }, { "Id": 1, "MaterialId": 2, "Name": "sample string 3" } ] } ]
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="" System.Collections.Generic.List`1[MBO_API.Models.Material] --MultipartDataMediaFormatterBoundary1q2w3e--