Campaign Templates
All operations for Campaign Templates.
Data model
The endpoints of this module work on the following entity. The schema reference lists every field with type, validation and relationships:
| Entity | Schema ID | Fields | Sequence | Permissions |
|---|---|---|---|---|
| Campaign Template | campaign_template |
12 | — | campaign_template_* |
Endpoints
| Method | Path | Operation | Description |
|---|---|---|---|
POST |
/v1/campaign_templates |
Create campaign_template | Create a new campaign_template in the active tenant. |
DELETE |
/v1/campaign_templates/{id} |
Delete campaign_template | Soft delete entity. |
GET |
/v1/campaign_templates/{id} |
Get campaign_template by id | Fetch a single campaign_template. |
GET |
/v1/campaign_templates/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/campaign_templates/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/campaign_templates/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/campaign_templates |
List campaign_templates | List campaign_templates for the active tenant. |
PATCH |
/v1/campaign_templates/{id} |
Patch campaign_template | JSON Merge Patch update. |
POST |
/v1/campaign_templates/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/campaign_templates/{id}/transition |
POST /v1/campaign_templates/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/campaign_templates/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/campaign_templates/{id} |
Replace campaign_template | Full replace with optimistic locking. |