---
title: SystemX->Frontu (Standartized Materials)
slug: systemx-greaterfrontu-standartized-materials
docTags: 
createdAt: 2023-07-05T11:08:43.526Z
---

### Standartized Materials

### Endpoints to use for the Standartized materials

For the creation of the standardized material you need to use this API endpoint: [[https://developers.frontu.com/create-update-standartizedmaterial](https://developers.frontu.com/create-update-standartizedmaterial)](https://developers.frontu.com/docs/tasker-api-v2/tasker_swagger.json/paths/~1client~1api~1v2~1standartized_materials/post)

In the standardized material you need to use material type guid, so you can create it in this endpoint: [[https://developers.frontu.com/create-update-materialtype](https://developers.frontu.com/create-update-materialtype)](https://developers.frontu.com/docs/tasker-api-v2/tasker_swagger.json/paths/~1client~1api~1v2~1material_types/post)

Or get it from this endpoint:
[[https://developers.frontu.com/get-all-materialtypes](https://developers.frontu.com/get-all-materialtypes)](https://developers.frontu.com/docs/tasker-api-v2/tasker_swagger.json/paths/~1client~1api~1v2~1material_types/get)

### Real-world data mapping examples of most common cases

First of all, as I mentioned you need to get a material type guid or create a new one.

So for the get, you just use this endpoint [https://developers.frontu.com/get-all-materialtypes](https://developers.frontu.com/get-all-materialtypes)and you will get all possible material types data.

If you want to create a new one, you need to use this endpoint: [[https://developers.frontu.com/create-update-materialtype](https://developers.frontu.com/create-update-materialtype)](https://developers.frontu.com/docs/tasker-api-v2/tasker_swagger.json/paths/~1client~1api~1v2~1material_types/post)

Make the POST method and fill in this information:

```json
{
  "title": "Kilogram",
  "systemId": "MATERIALTYPE1",
  "delted":false
}
```

:::BlockQuote
IMPORTANT: title is required for this POST method
:::

And then you will get a response:

```json
{
   "version": 1623147256,
   "title": "Kilogram",
   "guid": "839f7481-f647-c8bb-7a89-ee4b2c136c33",
   "created": "2021-06-08T10:14:16+0000",
   "updated": "2021-06-08T10:14:16+0000",
   "deleted": false,
   "systemId": "MATERIALTYPE1"
}
```

Then you can create the standardized material, fill in information like:

```json
{
  "title": "Standartized material",
  "materialType": "MATERIALTYPE1",
  "serialNumber": 83728347892374892,
  "price": 99.99,
  "systemId": "STANDARTIZEDMATERIAL1"
}
```

:::BlockQuote
IMPORTANT: title, materialType and the price is required for this POST method
:::

And then you will get a response:

```json
{
   "version": 1623147552,
   "title": "Standartized material",
   "serialNumber": "83728347892374892",
   "hashtag": null,
   "materialType": {
       "title": "Kilogram",
       "guid": "d8ca96bd-b727-ad93-da21-d7786a11f9c9",
       "systemId": "MATERIALTYPE1",
   },
   "guid": "2c92b3c9-ed65-7426-37a7-d5e66dce0a90",
   "created": "2021-06-08T10:19:12+0000",
   "updated": "2021-06-08T10:19:12+0000",
   "deleted": false,
   "systemId": "STANDARTIZEDMATERIAL1",
   "customValues": null
}
```

