/
View a Single Material Group
View a Single Material Group
GET /v2/api/pricing/material_groups/{code}
This endpoint is used to retrieve comprehensive data on a single registered material group.
Accepts
A material group code, which must be the unique identifying code for the material group
Returns
Success
A JSON object representing the requested edge type
Property | Description |
code | string The unique code identifying the material group |
desc | string The text description for the material group |
materials | array Returns the materials that are part of the group |
materials/code | string The unique code identifying the material |
materials/desc | string The text description for the material |
Error
If the code parameter does not match a material group in the system an HTTP 404 code will be returned with the standard error body
{
"error": "No record found",
"details": [
"Provided: X"
]
}