---
title: "Get an EPG batch operation."
method: GET
path: "/api/v2/metapub/program-information/batch/{batch-id}"
tags: ["MetaPub"]
deprecated: true
---

# Get an EPG batch operation.

`GET /api/v2/metapub/program-information/batch/{batch-id}`

> **Deprecated.**

Gets the batch information which can be used to check the status of the operation or retrieve more details if the batch fails.

## Response `200`

The batch information.

- ProgramInformationBatch — An electronic program guide (EPG) batch operation to create or update metadata on one or more guide programs.
  - `id` integer, required — The ID of the batch.
  - `name` string — The optional name of the batch for human reference.
  - `message` string — The human readable success or failure message.
  - `status` 'queued' | 'processing' | 'failed' | 'successful', required — The current processing status.
  - `uri` string, uri — The URI to the metadata file defining the batch creates/updates.
  - `format` 'radiodns', required — The format of the metadata file defining the create or update actions to be performed on one or more EPG programs.
  - `program` object — The program information to associate the ingested metadata with. This is only required if the metadata format doesn't provide the program title and air date information directly. If this is specified, it will overrite the value specfified in the metadata file. If this is specified, the metadata file should only contain one program.
    - `title` string, required — The title of the program.
    - `airDate` string, date-time, required — The airDate for the program in ISO 8601 format.
  - `createdDate` string, date-time, required — The date and time the batch was created in ISO 8601 format.
  - `finishedDate` string, date-time — The date and time the batch finished (either successful or failed) in ISO 8601 format.

## Other responses

- `403` — Authorization failed, Username or password not found or incorrect.
- `404` — The batch is not found.

---

[API](https://skmtc.net/prss/apis/contentdepot.md) · [All operations](https://skmtc.net/prss/apis/contentdepot/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/prss/contentdepot/versions/838e7ae589d8/schema)
