- Previous: Materials administration
- Up: Material Master Data
- Next: Material characteristics
Retrieve material types
This API allows to retrieve the material types code with the relative descriptions.
#### Request URI
The API exposes two GET methods:
1. To retrieve the entire type list
#### Response Examples
If the developer use the /master-data/materials/types/v1 resource, without the path parameter "type", the response present the entire types list
```
GET master-data/materials/types/v1
```
2. To retrieve a specific type code using an univoque type-id
```
GET master-data/materials/types/v1/{type}
```
#### Response Structure
Field | Type | Description | |||
Materials/Types
| code
|
String | Type coding | ||
description
|
String | Type description |
```
{
"materials": {
"types": [
{
"code": "ABB",
"description": "Packaging materials"
},
{
"code": "ABF",
"description": "Waste"
},
{
"code": "BOM",
"description": "Fittizio BOM CMCS"
},
{
"code": "CBAU",
"description": "Compatible Unit"
},
{
"code": "CH00",
"description": "CH Contract Handling"
},
{
"code": "CONT",
"description": "Kanban Container"
},
{
"code": "COUP",
"description": "Coupons"
},
{
"code": "DIEN",
"description": "Service"
},
{
"code": "EPA",
"description": "Equipment Package"
},
{
"code": "ERSA",
"description": "Spare Parts"
},
{
"code": "FERT",
"description": "Finished Product"
},
{
"code": "FGTR",
"description": "Beverages"
},
{
"code": "FHMI",
"description": "Production Resource/Tool"
},
{
"code": "FOOD",
"description": "Foods (excl. perishables)"
},
{
"code": "FRIP",
"description": "Perishables"
},
{
"code": "HALA",
"description": "Semifi Product valutated"
},
{
"code": "HALB",
"description": "Semifinished Product"
},
{
"code": "HALR",
"description": "Semifi Product valutated"
},
{
"code": "HAWA",
"description": "Trading Goods"
},
{
"code": "HERS",
"description": "Manufacturer Part"
},
{
"code": "HIBE",
"description": "Operating supplies"
},
{
"code": "IBAU",
"description": "Maintenance assemblies"
},
{
"code": "INTR",
"description": "Intra materials"
},
{
"code": "KMAT",
"description": "Configurable materials"
},
{
"code": "LEER",
"description": "Empties"
},
{
"code": "LEIH",
"description": "Returnable packaging"
},
{
"code": "LGUT",
"description": "Empties (retail)"
},
{
"code": "MODE",
"description": "Apparel (seasonal)"
},
{
"code": "MPO",
"description": "Material Planning Object"
},
{
"code": "NLAG",
"description": "Non-stock materials"
},
{
"code": "NOF1",
"description": "Nonfoods"
},
{
"code": "PIPE",
"description": "Pipeline materials"
},
{
"code": "PLAN",
"description": "Trading goods (planned)"
},
{
"code": "PROC",
"description": "Process materials"
},
{
"code": "PROD",
"description": "Product groups"
},
{
"code": "PUB",
"description": "Advertising goods"
},
{
"code": "PUBA",
"description": "Advertising packaging mat"
},
{
"code": "ROH",
"description": "Raw materials"
},
{
"code": "ROHZ",
"description": "Raw materials valutated"
},
{
"code": "UNBA",
"description": "Nonvaluated Packaging mat"
},
{
"code": "UNBC",
"description": "Nonval. 3rd Pty Materials"
},
{
"code": "UNBH",
"description": "Nonvaluated Semifinished"
},
{
"code": "UNBM",
"description": "Not val.spare parts maint"
},
{
"code": "UNBR",
"description": "Nonvaluated raw materials"
},
{
"code": "UNBW",
"description": "Nonvaluated materials"
},
{
"code": "VERP",
"description": "Packaging"
},
{
"code": "VKHM",
"description": "Additionals"
},
{
"code": "VOLL",
"description": "Full products"
},
{
"code": "WERB",
"description": "Product catalogs"
},
{
"code": "WERT",
"description": "Value-only materials"
},
{
"code": "WETT",
"description": "Competitor products"
},
{
"code": "ZBRA",
"description": "Brand Materials"
},
{
"code": "ZFRT",
"description": "Other Finished Product"
},
{
"code": "ZPA2",
"description": "Nonvaluated Pallets"
},
{
"code": "ZPAL",
"description": "Group packaging materials"
},
{
"code": "ZREF",
"description": "Reference material"
},
{
"code": "ZSER",
"description": "Services"
}
]
}
}
```
Otherwise, if the resource called is /master-data/materials/types/v1/{type}, the response shows the specific type identified by the type-id inserted.
```
{
"materials": {
"types": [
{
"code": "FERT",
"description": "Finished Product"
}
]
}
```
- Previous: Materials administration
- Up: Material Master Data
- Next: Material characteristics
0 Comments
Please sign in to post a comment.