Skip to main content
POST
Declare a defect
Declares a defect on an article.
Request body

Authorizations

x-api-key
string
header
required

API token from your Bonx space.

Query Parameters

articleId
integer
required

"articleId" is required (enter it either in parameters or request body)

defectTypeId
integer
required

"defectTypeId" is required (enter it either in parameters or request body)

Body

application/json

Query parameters can also be provided in the request body as a JSON object

articleId
integer
defectTypeId
integer
quantity
any

Response

200 - application/json

Response

insertDefectsOne
object | null