Examples of API requests
curl --location --request POST
'https://[your_organization].datome.io/api/models/fabric/' \
--header 'Authorization: Bearer 74a6c88d-62fe-4c13-8b40-c21fabbae819' \
--header 'Content-Type: application/json' \
--data '{
"unique_name": "silklot00456",
"id_technician": 965,
"id_employee": 15264,
"available": false
}'curl --location --request POST
'https://[your_organization].datome.io/api/models/garment/' \
--header 'Authorization: Bearer 74a6c88d-62fe-4c13-8b40-c21fabbae819' \
--header 'Content-Type: application/json' \
--data '{
"serial_number": "12345",
"garment_type": "shirt",
"size": "M",
"fabric_relationship": "silklot00456",
"available": false
}'Last updated