---
title: "List Strategy Day Parts"
method: GET
path: "/strategy_day_parts"
tags: ["Strategy Parameters"]
---

# List Strategy Day Parts

`GET /strategy_day_parts`

## Request

- Base URL: `https://api.mediamath.com/api/v3.0`
- URL: `https://api.mediamath.com/api/v3.0/strategy_day_parts`
- Auth: OAuth 2
  - Authorization code: `https://auth.mediamath.com/authorize`
  - Token URL: `https://auth.mediamath.com/oauth/token` scopes: `offline_access`, `manage:services`
- TypeScript: <https://skmtc.dev/mediamath/apis/campaigns-api/docs/strategy_day_parts/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a list of strategy day parts

## Query parameters

- `page_limit` integer
- `page_offset` integer
- `sort_by` string
- `q` string
- `full` string

## Response `200`

List strategy day parts response

- union
  - StrategyDayPartCollection
    - `data` object[]
      - `id` integer
      - `entity_type` string
      - `name` string
    - `meta` ListMetadata
      - `status` string, required: The status of the response, indicating success or failure.
      - `count` integer, required: The number of items returned in the current response.
      - `total_count` integer: The total number of items available in the dataset.
      - `offset` integer: The offset from the start of the dataset, used for pagination.
      - `next_page` string: The URL to fetch the next page of results.
      - `prev_page` string: The URL to fetch the previous page of results.
  - StrategyDayPartCollectionFull
    - `data` StrategyDayPartFull[]
      - `id` integer
      - `version` integer
      - `strategy_id` integer
      - `user_time` boolean: Defaults to true. true evaluates the hours in the user's local time; false evaluates them in EST.
      - `status` boolean, nullable
      - `start_hour` integer: Inclusive start hour, from 0 through 23. 10 means the window starts at 10:00.
      - `end_hour` integer: Inclusive end hour, from 0 through 23. It is the last hour included, not an end time: `start_hour` 10 with `end_hour` 10 is 10:00-10:59, and `start_hour` 9 with `end_hour` 17 is 09:00-17:59.
      - `days` string: Days of the week as a string of single-letter codes, e.g. "MTR" for Monday, Tuesday and Thursday. M Monday, T Tuesday, W Wednesday, R Thursday, F Friday, S Saturday, U Sunday.
      - `created_on` string, date-time
      - `updated_on` string, date-time
    - `meta` ListMetadata
      - `status` string, required: The status of the response, indicating success or failure.
      - `count` integer, required: The number of items returned in the current response.
      - `total_count` integer: The total number of items available in the dataset.
      - `offset` integer: The offset from the start of the dataset, used for pagination.
      - `next_page` string: The URL to fetch the next page of results.
      - `prev_page` string: The URL to fetch the previous page of results.

## Other responses

- `400`: Error response
- `401`: Error response
- `403`: Error response
- `404`: Error response

---

[API](https://skmtc.dev/mediamath/apis/campaigns-api.md) - [All operations](https://skmtc.dev/mediamath/apis/campaigns-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mediamath/apis/campaigns-api/revisions/408743891def?raw)
