publ betaReference (MCP guide)
Open publ console

photobook_schedules_apply

# photobook_schedules_apply

Changes scheduled publication in the Photobook app (pApp B00005). Another app code is refused before any request. Called without confirmToken it previews and returns a confirmToken; repeating the same input with it executes once.

## Inputs

| Field | Required here | Contract |
| --- | --- | --- |
| `target` | Yes | When alternative 1: object |
| `target.model` | Yes | When alternative 1: `POST`, `SERIES` |
| `target.id` | Yes | When alternative 1: integer; greater than 0 |
| `action` | Yes | When alternative 1: one of: `create`, `replace`, `cancel` (by `kind`) |
| `action.scheduledAt` | Yes | When alternative 1 and `action.kind` is `create`: string; pattern `^(?:(?:\d\d[2468][048]\|\d\d[13579][26]\|\d\d0[48]\|[02468][048]00\|[13579][26]00)-02-29\|\d{4}-(?:(?:0[13578]\|1[02])-(?:0[1-9]\|[12]\d\|3[01])\|(?:0[469]\|11)-(?:0[1-9]\|[12]\d\|30)\|(?:02)-(?:0[1-9]\|1\d\|2[0-8])))T(?:(?:[01]\d\|2[0-3]):[0-5]\d:[0-5]\d(?:Z\|([+-](?:[01]\d\|2[0-3]):[0-5]\d)))$`; format `date-time`; Future ISO 8601 time including Z or an explicit UTC offset, e.g. 2026-12-01T10:00:00+09:00. No ambiguous local time. |
| `action.taskId` | Yes | When alternative 1 and `action.kind` is `replace`: string; pattern `^[A-Za-z0-9_-]{1,128}$` |
| `action.scheduledAt` | Yes | When alternative 1 and `action.kind` is `replace`: string; pattern `^(?:(?:\d\d[2468][048]\|\d\d[13579][26]\|\d\d0[48]\|[02468][048]00\|[13579][26]00)-02-29\|\d{4}-(?:(?:0[13578]\|1[02])-(?:0[1-9]\|[12]\d\|3[01])\|(?:0[469]\|11)-(?:0[1-9]\|[12]\d\|30)\|(?:02)-(?:0[1-9]\|1\d\|2[0-8])))T(?:(?:[01]\d\|2[0-3]):[0-5]\d:[0-5]\d(?:Z\|([+-](?:[01]\d\|2[0-3]):[0-5]\d)))$`; format `date-time`; Future ISO 8601 time including Z or an explicit UTC offset, e.g. 2026-12-01T10:00:00+09:00. No ambiguous local time. |
| `action.taskId` | Yes | When alternative 1 and `action.kind` is `cancel`: string; pattern `^[A-Za-z0-9_-]{1,128}$` |
| `confirmToken` | No | When alternative 1: string; pattern `^ct[a-f\d]{32}$`; The confirmToken from this tool's preview result. Omit it to preview; repeat the same input with it to execute. |
| `selection` | Yes | When alternative 2: object |
| `selection.model` | Yes | When alternative 2: `POST`, `SERIES` |
| `selection.ids` | Yes | When alternative 2: array; items: integer; greater than 0; min items 1; max items 100 |
| `action` | Yes | When alternative 2: object |
| `action.kind` | Yes | When alternative 2: `create_selected` |
| `action.scheduledAt` | Yes | When alternative 2: string; pattern `^(?:(?:\d\d[2468][048]\|\d\d[13579][26]\|\d\d0[48]\|[02468][048]00\|[13579][26]00)-02-29\|\d{4}-(?:(?:0[13578]\|1[02])-(?:0[1-9]\|[12]\d\|3[01])\|(?:0[469]\|11)-(?:0[1-9]\|[12]\d\|30)\|(?:02)-(?:0[1-9]\|1\d\|2[0-8])))T(?:(?:[01]\d\|2[0-3]):[0-5]\d:[0-5]\d(?:Z\|([+-](?:[01]\d\|2[0-3]):[0-5]\d)))$`; format `date-time`; Future ISO 8601 time with Z or an explicit UTC offset, whole minutes only, e.g. 2026-12-01T10:00:00+09:00. |
| `action.confirmation` | Yes | When alternative 2: `SCHEDULE_SELECTED_PUBLICATION` |
| `confirmToken` | No | When alternative 2: string; pattern `^ct[a-f\d]{32}$`; The confirmToken from this tool's preview result. Omit it to preview; repeat the same input with it to execute. |