Version 2.8 é nossa versão mais recente.

Add physical object endpoint

POST /api/physicalobjects

This endpoint will allow adding a physical object.

Example request

curl -v -X POST http://localhost:63001/api/physicalobjects -H 'Content-Type: application/json' -H 'REST-API-Key: 3e136949f7b9b915' -d '{ "name": "T-01", "location": "Example location", "type": "Shelf" }'

Example response

Example response is truncated and edited for readability.

HTTP/1.1 201 Created
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Cache-Control: private

{"slug":"t-01"}

Back to top