Skip to main content

Release a part unit under review

POSThttps://carchost.fieldcontrol.com.br/part-units/{id}/release

Releases a unit under review to a regular storage, with an entry movement. The unit must be under_review, and the destination storage cannot be a triage storage.

Requires the X-Api-Key, User-Agent and Content-Type: application/json headers. Limit: 1 request per second (learn more).

Request​

Path parameters

idstringrequired

Part unit identifier.

Example: YzNkNGU1ZjYtYTdiOC05MDEyLWNkZWYtMTIzNDU2Nzg5MDEyOjIyOTE1.

Headers

User-Agentstringrequired

Identification of your application.

Example: MinhaIntegracao/1.0.

Request body

JSON, sent with the Content-Type: application/json header.

storageIdstringrequired

Storage that receives the unit.

Responses

  • 200

    Unit released (status: available).

  • 401

    API key missing (Missing API Key) or invalid (Invalid API Key). See Authentication.

  • 403

    Account blocked (Account blocked), expired (Account expired) or on a plan that does not allow integration (Account plan not allowed). See Authentication.

  • 422

    Unit is not under review (reason: invalid status), nonexistent storage or triage storage (reason: triage storage not allowed) (resourceValidationErr). Nonexistent unit: 422 resourceNotFound (there is no 404). Invalid URL identifier or one from another account: uriValidationErr.

  • 429

    Limit of 1 request per second exceeded. See Rate limit.

  • 500

    Unexpected server error. It also happens when an identifier in the body is not in the expected format.