Saltar al contenido principal
POST
/
v1
/
warehouse
/
receipts
/
{receiptReference}
/
inspections
/
{inspectionId}
/
complete
Complete an inspection
curl --request POST \
  --url https://api.bold-factory.com/v1/warehouse/receipts/{receiptReference}/inspections/{inspectionId}/complete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "result": "<string>",
  "employeeId": "<string>"
}
'
{
  "id": "<string>",
  "receiptId": "<string>",
  "lineId": "<string>",
  "name": "<string>",
  "isMandatory": true,
  "isCompleted": true,
  "result": "<string>",
  "completedAt": "2023-11-07T05:31:56Z",
  "completedByEmployeeId": "<string>"
}

Autorizaciones

Authorization
string
header
requerido

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Parámetros de ruta

receiptReference
string
requerido
inspectionId
string
requerido

Cuerpo

application/json
result
null | string
requerido
employeeId
string
requerido

Respuesta

OK

id
string
requerido
receiptId
string
requerido
lineId
null | string
requerido
name
string
requerido
type
enum<string>
requerido
Opciones disponibles:
Simple,
Boolean,
Decimal,
Text,
Photo
isMandatory
boolean
requerido
isCompleted
boolean
requerido
result
null | string
requerido
completedAt
null | string<date-time>
requerido
completedByEmployeeId
null | string
requerido