GET api/Material/{id}/SubMaterial

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SubMaterial
NameDescriptionTypeAdditional information
Id

integer

None.

MaterialId

integer

None.

Name

string

None.

Material

Material

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "MaterialId": 2,
    "Name": "sample string 3",
    "Material": {
      "Id": 1,
      "Name": "sample string 2",
      "SubMaterials": []
    }
  },
  {
    "Id": 1,
    "MaterialId": 2,
    "Name": "sample string 3",
    "Material": {
      "Id": 1,
      "Name": "sample string 2",
      "SubMaterials": []
    }
  }
]

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name=""

System.Collections.Generic.List`1[MBO_API.Models.SubMaterial]
--MultipartDataMediaFormatterBoundary1q2w3e--