---
title: "getAllDailyPreps"
method: GET
path: "/dailyprep/v1/getAllDailyPreps"
tags: ["Daily Prep Service"]
---

# getAllDailyPreps

`GET /dailyprep/v1/getAllDailyPreps`

Retrieves all Daily Prep transactions with the accompanying information.

## Query parameters

- `locationCode` string, required
- `dailyPrepDate` string
- `status` string
- `templateName` string
- `templateLocationCode` string
- `prepStation` string
- `description` string
- `prepLocation` string
- `startTime` string
- `createDate` string
- `createUser` string
- `completeDate` string
- `completeUser` string
- `cancelDate` string
- `cancelUser` string
- `dailyPrepApp` string
- `autoPrepFlag` boolean
- `cateringOrderFlag` boolean
- `addProjectedConsumptionFlag` boolean
- `includeDetails` boolean
- `sortBy` 'description' | 'status' | 'createUser' | 'dailyPrepDate' | 'templateName' | 'templateLocationCode' | 'cateringOrderFlag' | 'dailyPrepApp'
- `sortOrder` 'ASC' | 'DESC'
- `includeNull` boolean

## Headers

- `authenticationtoken` string, required
- `sitename` string, required
- `userid` string, required
- `password` string, required
- `X-B3-TraceId` string

## Response `200`

Success

- DailyPrepDto[]
  - `locationCode` string — "Location Code" where the Daily Prep transaction is created
  - `description` string — "Description" is entered by the user when the transaction was created. If none was entered, this will be the Daily Prep Date.
  - `status` string — "Status" of the Daily Prep transaction. Possible values: Completed, Incomplete, or Canceled
  - `createDate` string, date — "Create Date" is a date the transaction was created
  - `createUser` string — "Create User" is the user ID of the user who created the transaction
  - `completeDate` string, date-time — "Complete Date" is a date with time the transaction was finalized
  - `completeUser` string — "Complete User" is the user ID of the user who finalized the transaction
  - `cancelDate` string, date-time — "Cancel Date" is a date with time the transaction was canceled
  - `cancelUser` string — "Cancel User" is the user ID of the user who canceled the transaction
  - `dailyPrepDate` string, date-time — "Daily Prep Date" is the date and time when the Daily Prep was performed, as selected by the user during creation
  - `templateName` string — "Template Name" is the name of the Daily Prep template used for the transaction
  - `templateLocationCode` string — "Template Location Code" is the location code associated with the Daily Prep template
  - `cateringOrder` string — "Catering Order" indicates whether the prep transaction included Catering customer orders
  - `dailyPrepApp` string — "Daily Prep App" is the application or process that created the Daily Prep transaction
  - `prepLocation` string — "Prep Location" is the name of the Prep Customer selected for the Daily Prep transaction
  - `recipes` DailyPrepRecipeDto — Recipe details for a Daily Prep transaction
    - `productNumber` string — "Product Number" from Daily Prep Screen's Recipes Tab
    - `name` string — "Recipe Name" from the Daily Prep screen's Recipes tab
    - `batchQty` number, double — "Batch Qty" is the quantity produced in a single batch
    - `batchUnit` string — "Batch Unit" is the unit of measure for the batch quantity
    - `projectedConsumption` number, double — "Projected Consumption" is the amount expected to be used during the day
    - `suggestedProduction` number, double — "Suggested Production" is the system-recommended quantity
    - `actualProd` number, double — "Actual Prod" is the actual quantity prepared
    - `actualBatchCost` number, double — "Actual Batch Cost" is the calculated cost of producing one batch
    - `storageLocation` string — "Storage Location" is the location where the prepared item is stored
    - `prepStation` string — "Prep Station" is the kitchen station where the recipe is prepared
    - `components` DailyPrepComponentDto — Component details for a Daily Prep recipe
      - `productNumber` string — "Product Number" from Daily Prep Screen's Components Tab
      - `name` string — "Product Name" from Daily Prep Screen's Components Tab
      - `majorIngredient` string — "Major Ingredient" indicates whether the product is marked as a major ingredient in the recipe
      - `quantity` number, double — "Quantity" is the amount of the product required for the recipe
      - `invUnit` string — "Inv. Unit" is the inventory unit of measure used for the product
      - `storageLocation` string — "Storage Location" is the location where the product is stored
      - `unitPrice` number, double — "Unit Price" is the cost per inventory unit of the product
      - `extendedValue` number, double — "Extended Value" is the total cost calculated as quantity multiplied by unit price

## Other responses

- `400` — Validation Error
- `401` — Authorization
- `404` — Daily Prep transactions not found
- `429` — Too Many Requests
- `500` — Unexpected Error
- `504` — Timeout

---

[API](https://skmtc.net/crunchtime/apis/inventory-labor.md) · [All operations](https://skmtc.net/crunchtime/apis/inventory-labor/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crunchtime/inventory-labor/revisions/0af8e380ff2c/schema)
