Saltar al contenido principal
GET
/
v1
/
production
/
operations
/
{operationReference}
/
inputConsumptions
Get all input consumptions for an operation
curl --request GET \
  --url https://api.bold-factory.com/v1/production/operations/{operationReference}/inputConsumptions \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "id": "<string>",
      "operationId": "<string>",
      "progressRecordId": "<string>",
      "progressRecord": {
        "id": "<string>",
        "operationId": "<string>",
        "employeeId": "<string>",
        "completedQuantity": 123,
        "rejectedQuantity": 123,
        "comments": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "operation": {
          "id": "<string>",
          "externalReference": "<string>",
          "orderId": "<string>",
          "order": {
            "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>"
          },
          "name": "<string>",
          "orderCode": "<string>",
          "isFinalOperation": true,
          "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
          },
          "positionX": 123,
          "positionY": 123,
          "restrictedBy": [
            {
              "id": "<string>",
              "fromId": "<string>",
              "from": null,
              "toId": "<string>",
              "to": null
            }
          ],
          "requiredCharacteristicId": "<string>",
          "requiredCharacteristic": {
            "id": "<string>",
            "name": "<string>",
            "toolsCount": 123,
            "createdAt": "2023-11-07T05:31:56Z",
            "createdBy": "<string>",
            "lastModifiedAt": "2023-11-07T05:31:56Z",
            "lastModifiedBy": "<string>"
          },
          "toolId": "<string>",
          "tool": {
            "id": "<string>",
            "name": "<string>",
            "createdAt": "2023-11-07T05:31:56Z",
            "createdBy": "<string>",
            "lastModifiedAt": "2023-11-07T05:31:56Z",
            "lastModifiedBy": "<string>"
          },
          "typeId": "<string>",
          "type": {
            "id": "<string>",
            "externalReference": "<string>",
            "name": "<string>",
            "description": "<string>",
            "possibleWorkstations": 123,
            "skillCount": 123,
            "deletedAt": "2023-11-07T05:31:56Z",
            "createdAt": "2023-11-07T05:31:56Z",
            "createdBy": "<string>",
            "lastModifiedAt": "2023-11-07T05:31:56Z",
            "lastModifiedBy": "<string>"
          },
          "workstationId": "<string>",
          "workstation": {
            "id": "<string>",
            "externalReference": "<string>",
            "name": "<string>",
            "description": "<string>",
            "areaId": "<string>",
            "area": {
              "id": "<string>",
              "externalReference": "<string>",
              "name": "<string>",
              "description": "<string>",
              "parentId": "<string>",
              "parent": null,
              "deletedAt": "2023-11-07T05:31:56Z",
              "createdAt": "2023-11-07T05:31:56Z",
              "createdBy": "<string>",
              "lastModifiedAt": "2023-11-07T05:31:56Z",
              "lastModifiedBy": "<string>"
            },
            "autocompleteOperations": true,
            "infiniteCapacity": true,
            "deletedAt": "2023-11-07T05:31:56Z",
            "createdAt": "2023-11-07T05:31:56Z",
            "createdBy": "<string>",
            "lastModifiedAt": "2023-11-07T05:31:56Z",
            "lastModifiedBy": "<string>"
          },
          "operationsGroupId": "<string>",
          "stockExpectedAt": "2023-11-07T05:31:56Z",
          "requiredEmployees": 123,
          "plannedQuantity": 123,
          "completedQuantity": 123,
          "rejectedQuantity": 123,
          "plannedDurationSeconds": 123,
          "plannedManpowerSeconds": 123,
          "completedManpowerSeconds": 123,
          "completedDurationSeconds": 123,
          "elapsedSeconds": 123,
          "netScheduledSeconds": 123,
          "netOperatingSeconds": 123,
          "realManpowerSeconds": 123,
          "completionPercent": 123,
          "availability": 123,
          "efficiency": 123,
          "productivity": 123,
          "requiredAvailability": {
            "time": "2023-11-07T05:31:56Z"
          },
          "startedAt": "2023-11-07T05:31:56Z",
          "finishedAt": "2023-11-07T05:31:56Z",
          "targetedAt": "2023-11-07T05:31:56Z",
          "createdAt": "2023-11-07T05:31:56Z",
          "createdBy": "<string>",
          "lastModifiedAt": "2023-11-07T05:31:56Z",
          "lastModifiedBy": "<string>"
        }
      },
      "inputId": "<string>",
      "input": {
        "id": "<string>",
        "externalReference": "<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
        },
        "peggedRequestId": "<string>",
        "operationId": "<string>",
        "stockExpectedAt": "2023-11-07T05:31:56Z",
        "plannedQuantity": 123,
        "plannedQuantityPerUnit": 123,
        "consumedQuantity": 123,
        "pendingQuantity": 123,
        "frequency": 123,
        "operation": {
          "id": "<string>",
          "externalReference": "<string>",
          "orderId": "<string>",
          "order": {
            "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>"
          },
          "name": "<string>",
          "orderCode": "<string>",
          "isFinalOperation": true,
          "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
          },
          "positionX": 123,
          "positionY": 123,
          "restrictedBy": [
            {
              "id": "<string>",
              "fromId": "<string>",
              "from": null,
              "toId": "<string>",
              "to": null
            }
          ],
          "requiredCharacteristicId": "<string>",
          "requiredCharacteristic": {
            "id": "<string>",
            "name": "<string>",
            "toolsCount": 123,
            "createdAt": "2023-11-07T05:31:56Z",
            "createdBy": "<string>",
            "lastModifiedAt": "2023-11-07T05:31:56Z",
            "lastModifiedBy": "<string>"
          },
          "toolId": "<string>",
          "tool": {
            "id": "<string>",
            "name": "<string>",
            "createdAt": "2023-11-07T05:31:56Z",
            "createdBy": "<string>",
            "lastModifiedAt": "2023-11-07T05:31:56Z",
            "lastModifiedBy": "<string>"
          },
          "typeId": "<string>",
          "type": {
            "id": "<string>",
            "externalReference": "<string>",
            "name": "<string>",
            "description": "<string>",
            "possibleWorkstations": 123,
            "skillCount": 123,
            "deletedAt": "2023-11-07T05:31:56Z",
            "createdAt": "2023-11-07T05:31:56Z",
            "createdBy": "<string>",
            "lastModifiedAt": "2023-11-07T05:31:56Z",
            "lastModifiedBy": "<string>"
          },
          "workstationId": "<string>",
          "workstation": {
            "id": "<string>",
            "externalReference": "<string>",
            "name": "<string>",
            "description": "<string>",
            "areaId": "<string>",
            "area": {
              "id": "<string>",
              "externalReference": "<string>",
              "name": "<string>",
              "description": "<string>",
              "parentId": "<string>",
              "parent": null,
              "deletedAt": "2023-11-07T05:31:56Z",
              "createdAt": "2023-11-07T05:31:56Z",
              "createdBy": "<string>",
              "lastModifiedAt": "2023-11-07T05:31:56Z",
              "lastModifiedBy": "<string>"
            },
            "autocompleteOperations": true,
            "infiniteCapacity": true,
            "deletedAt": "2023-11-07T05:31:56Z",
            "createdAt": "2023-11-07T05:31:56Z",
            "createdBy": "<string>",
            "lastModifiedAt": "2023-11-07T05:31:56Z",
            "lastModifiedBy": "<string>"
          },
          "operationsGroupId": "<string>",
          "stockExpectedAt": "2023-11-07T05:31:56Z",
          "requiredEmployees": 123,
          "plannedQuantity": 123,
          "completedQuantity": 123,
          "rejectedQuantity": 123,
          "plannedDurationSeconds": 123,
          "plannedManpowerSeconds": 123,
          "completedManpowerSeconds": 123,
          "completedDurationSeconds": 123,
          "elapsedSeconds": 123,
          "netScheduledSeconds": 123,
          "netOperatingSeconds": 123,
          "realManpowerSeconds": 123,
          "completionPercent": 123,
          "availability": 123,
          "efficiency": 123,
          "productivity": 123,
          "requiredAvailability": {
            "time": "2023-11-07T05:31:56Z"
          },
          "startedAt": "2023-11-07T05:31:56Z",
          "finishedAt": "2023-11-07T05:31:56Z",
          "targetedAt": "2023-11-07T05:31:56Z",
          "createdAt": "2023-11-07T05:31:56Z",
          "createdBy": "<string>",
          "lastModifiedAt": "2023-11-07T05:31:56Z",
          "lastModifiedBy": "<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
      },
      "quantity": 123,
      "consumedAt": "2023-11-07T05:31:56Z",
      "lots": [
        {
          "lotId": "<string>",
          "lotCode": "<string>",
          "quantity": 123
        }
      ],
      "operation": {
        "id": "<string>",
        "externalReference": "<string>",
        "orderId": "<string>",
        "order": {
          "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>"
        },
        "name": "<string>",
        "orderCode": "<string>",
        "isFinalOperation": true,
        "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
        },
        "positionX": 123,
        "positionY": 123,
        "restrictedBy": [
          {
            "id": "<string>",
            "fromId": "<string>",
            "from": null,
            "toId": "<string>",
            "to": null
          }
        ],
        "requiredCharacteristicId": "<string>",
        "requiredCharacteristic": {
          "id": "<string>",
          "name": "<string>",
          "toolsCount": 123,
          "createdAt": "2023-11-07T05:31:56Z",
          "createdBy": "<string>",
          "lastModifiedAt": "2023-11-07T05:31:56Z",
          "lastModifiedBy": "<string>"
        },
        "toolId": "<string>",
        "tool": {
          "id": "<string>",
          "name": "<string>",
          "createdAt": "2023-11-07T05:31:56Z",
          "createdBy": "<string>",
          "lastModifiedAt": "2023-11-07T05:31:56Z",
          "lastModifiedBy": "<string>"
        },
        "typeId": "<string>",
        "type": {
          "id": "<string>",
          "externalReference": "<string>",
          "name": "<string>",
          "description": "<string>",
          "possibleWorkstations": 123,
          "skillCount": 123,
          "deletedAt": "2023-11-07T05:31:56Z",
          "createdAt": "2023-11-07T05:31:56Z",
          "createdBy": "<string>",
          "lastModifiedAt": "2023-11-07T05:31:56Z",
          "lastModifiedBy": "<string>"
        },
        "workstationId": "<string>",
        "workstation": {
          "id": "<string>",
          "externalReference": "<string>",
          "name": "<string>",
          "description": "<string>",
          "areaId": "<string>",
          "area": {
            "id": "<string>",
            "externalReference": "<string>",
            "name": "<string>",
            "description": "<string>",
            "parentId": "<string>",
            "parent": null,
            "deletedAt": "2023-11-07T05:31:56Z",
            "createdAt": "2023-11-07T05:31:56Z",
            "createdBy": "<string>",
            "lastModifiedAt": "2023-11-07T05:31:56Z",
            "lastModifiedBy": "<string>"
          },
          "autocompleteOperations": true,
          "infiniteCapacity": true,
          "deletedAt": "2023-11-07T05:31:56Z",
          "createdAt": "2023-11-07T05:31:56Z",
          "createdBy": "<string>",
          "lastModifiedAt": "2023-11-07T05:31:56Z",
          "lastModifiedBy": "<string>"
        },
        "operationsGroupId": "<string>",
        "stockExpectedAt": "2023-11-07T05:31:56Z",
        "requiredEmployees": 123,
        "plannedQuantity": 123,
        "completedQuantity": 123,
        "rejectedQuantity": 123,
        "plannedDurationSeconds": 123,
        "plannedManpowerSeconds": 123,
        "completedManpowerSeconds": 123,
        "completedDurationSeconds": 123,
        "elapsedSeconds": 123,
        "netScheduledSeconds": 123,
        "netOperatingSeconds": 123,
        "realManpowerSeconds": 123,
        "completionPercent": 123,
        "availability": 123,
        "efficiency": 123,
        "productivity": 123,
        "requiredAvailability": {
          "time": "2023-11-07T05:31:56Z"
        },
        "startedAt": "2023-11-07T05:31:56Z",
        "finishedAt": "2023-11-07T05:31:56Z",
        "targetedAt": "2023-11-07T05:31:56Z",
        "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

operationReference
string
requerido

Respuesta

OK

results
object[]
requerido
totalCount
integer<int32>
requerido