Specification API (2.0)
Download OpenAPI description
Languages
Servers
Production
https://apis.traceone.com/spec/
Sandbox
https://apis-ppd.traceone.com/spec/
- Production
https://apis.traceone.com/spec/v2/food/bought-composites/{compositeId}
- Sandbox
https://apis-ppd.traceone.com/spec/v2/food/bought-composites/{compositeId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://apis.traceone.com/spec/v2/food/bought-composites/{compositeId}'
Response
application/json
{ "materialId": "30cdab3c-3e2b-44f4-8415-c6dd88ed4261", "materialName": "string", "commercialName": "string", "internalCode": "string", "ownerCompanyId": "10e96248-c873-4e93-b748-bc36e39510eb", "materialType": "rawMaterial", "version": { "number": 0, "historyId": "4766cb03-195d-44df-b838-373e34658dcb", "activeVersion": true, "lastVersion": true }, "lastUpdateDateUtc": "2019-08-24T14:15:22Z", "status": "draft", "tagIds": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "active": true, "etag": "string", "recipe": { "recipeType": "madeInHouse", "derivedFromGmo": true, "totalPercentage": 0.1, "ingredients": [ … ], "sortingFilter": { … } }, "suppliers": [ { … } ], "allergenDeclarations": [ { … } ], "attachments": { "fileIds": [ … ] }, "certificates": { "certificateIds": [ … ] }, "characteristics": { "characteristics": [ … ] }, "controlPlans": { "controlPlans": [ … ] } }