Saltar al contenido principal
GET
/
v1
/
items
/
skus
/
{skuReference}
/
activeOrders
Get the active orders for a given SKU
curl --request GET \
  --url https://api.bold-factory.com/v1/items/skus/{skuReference}/activeOrders \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "id": "<string>",
      "externalReference": "<string>",
      "code": "<string>",
      "skuId": "<string>",
      "sku": {
        "id": "<string>",
        "externalReference": "<string>",
        "code": "<string>",
        "name": "<string>",
        "status": "<string>",
        "productId": "<string>",
        "managesLots": true,
        "unit": {
          "id": "<string>",
          "code": "<string>",
          "name": "<string>"
        },
        "displayDecimalPlaces": 123
      },
      "requestId": "<string>",
      "relatedId": "<string>",
      "requester": "<string>",
      "recipeId": "<string>",
      "recipe": {
        "id": "<string>",
        "externalReference": "<string>",
        "name": "<string>",
        "recipeId": "<string>",
        "productId": "<string>",
        "recipe": {
          "id": "<string>",
          "externalReference": "<string>",
          "name": "<string>",
          "productId": "<string>",
          "product": {
            "id": "<string>",
            "code": "<string>",
            "name": "<string>",
            "externalReference": "<string>"
          },
          "conditionFormula": "<string>",
          "createdAt": "2023-11-07T05:31:56Z",
          "createdBy": "<string>",
          "lastModifiedAt": "2023-11-07T05:31:56Z",
          "lastModifiedBy": "<string>"
        },
        "createdAt": "2023-11-07T05:31:56Z",
        "createdBy": "<string>",
        "lastModifiedAt": "2023-11-07T05:31:56Z",
        "lastModifiedBy": "<string>"
      },
      "obsoleteRecipe": true,
      "plannedQuantity": 123,
      "completedQuantity": 123,
      "rejectedQuantity": 123,
      "notes": "<string>",
      "requiredAvailability": {
        "time": "2023-11-07T05:31:56Z"
      },
      "plannedAt": "2023-11-07T05:31:56Z",
      "startedAt": "2023-11-07T05:31:56Z",
      "cancelledAt": "2023-11-07T05:31:56Z",
      "finishedAt": "2023-11-07T05:31:56Z",
      "targetedAt": "2023-11-07T05:31:56Z",
      "stockExpectedAt": "2023-11-07T05:31:56Z",
      "plannedDurationSeconds": 123,
      "plannedManpowerSeconds": 123,
      "completedWorkloadSeconds": 123,
      "completedDurationSeconds": 123,
      "netScheduledSeconds": 123,
      "netOperatingSeconds": 123,
      "realManpowerSeconds": 123,
      "completionPercent": 123,
      "availability": 123,
      "efficiency": 123,
      "productivity": 123,
      "createdAt": "2023-11-07T05:31:56Z",
      "createdBy": "<string>",
      "lastModifiedAt": "2023-11-07T05:31:56Z",
      "lastModifiedBy": "<string>"
    }
  ],
  "totalCount": 123
}

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

skuReference
string
requerido

Respuesta

OK

results
object[]
requerido
totalCount
integer<int32>
requerido