Saltar al contenido principal
GET
/
v1
/
production
/
orders
/
cost
Get all orders' cost information (paginated)
curl --request GET \
  --url https://api.bold-factory.com/v1/production/orders/cost \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "orderId": "<string>",
      "skuId": "<string>",
      "sku": {
        "id": "<string>",
        "code": "<string>",
        "externalReference": "<string>",
        "name": "<string>",
        "autoUpdateCost": true,
        "plannedCostPerUnit": {
          "amount": 123,
          "currency": "<string>"
        },
        "unit": {
          "id": "<string>",
          "code": "<string>",
          "name": "<string>"
        }
      },
      "code": "<string>",
      "totalCost": {
        "amount": 123,
        "currency": "<string>"
      },
      "quantity": 123,
      "costPerUnit": {
        "amount": 123,
        "currency": "<string>"
      },
      "machineCost": {
        "amount": 123,
        "currency": "<string>"
      },
      "laborCost": {
        "amount": 123,
        "currency": "<string>"
      },
      "materialCost": {
        "amount": 123,
        "currency": "<string>"
      },
      "plannedQuantity": 123,
      "plannedLaborCost": {
        "amount": 123,
        "currency": "<string>"
      },
      "plannedMaterialCost": {
        "amount": 123,
        "currency": "<string>"
      },
      "plannedMachineCost": {
        "amount": 123,
        "currency": "<string>"
      },
      "plannedTotalCost": {
        "amount": 123,
        "currency": "<string>"
      },
      "plannedCostPerUnit": {
        "amount": 123,
        "currency": "<string>"
      }
    }
  ],
  "pageNumber": 123,
  "totalPages": 123,
  "totalCount": 123,
  "pageSize": 123
}

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de consulta

SortBy
string
FilterBy
string
PageNumber
integer<int32>
PageSize
integer<int32>

Respuesta

OK

results
object[]
requerido
pageNumber
integer<int32>
requerido
totalPages
integer<int32>
requerido
totalCount
integer<int32>
requerido
pageSize
integer<int32>
requerido