- Overview
- Reference
- API Structure
- Public API
- Introduction
- Loyalty Club
- Member
- Offers
- Rewards
- Games
- CMS Content
- Management API
- Introduction
- Core
- Applications
- Privacy Policy
- Cookie Policy
- Terms
- Domains
- Domain Email Configs
- Domain Web Configs
- TLS Certificates
- Links
- Fonts
- Subunits
- Subunits Scopes
- SMS Sender Identities
- Contacts
- Translations
- Promotions Policy
- Tracker
- Social Logins
- Billing
- Members
- Listing Members
- Member Profile
- Imports
- Groups
- Programs
- Benefits
- Cars
- Webhooks
- Misc
- Receipts
- Stores
- Offers
- Rewards
- Triggerer
- CMS
- Introduction
- Pages
- Components
- Website
- Website Domains
- Venue Info
- Landing Pages
- Landing Page Templates
- Articles
- Events
- Events Groups
- Job Postings
- Press Releases
- Tags
- Service Messages
- Content Prototypes
- ContentPrototype Model
- List Content Prototypes
- Show Content Prototype
- Create Content Prototype
- Update Content Prototype
- Destroy Content Prototype
- List Organization Content Prototypes
- Show Organization Content Prototype
- Create Organization Content Prototype
- Update Organization Content Prototype
- Destroy Organization Content Prototype
- Mixed Content
- Attachments
- Events
- Games
- Scraper
- Files
- Receipts
- Users API
- Operations API
- Introduction
- Manager API
- Tenant API
- Messaging API
- Data API
- ML API
- Introduction
- Predict Sending KPI v1
- Explain Sending KPI Prediction v1
- Predict Sending KPI In Date Range v1
- Predict Sending Popularity v2
- Predict Sending Text Popularity v2
- Predict Sending Time Series Popularity v2
- Explain Sending Popularity Prediction v2
- Explain Sending Text Popularity Prediction v2
- Explain Sending Time Series Popularity Prediction v2
- Recommend sending time v2
- Generate Image
- Generate Text
- Generate Sending Text
- (Draft) Reporting API
- Other
Introduction
ServiceMessage model#
Example#
{
"service_message": {
"id": 22,
"customer_ids": [447],
"locales": ["en", "pl"],
"products": ["default"],
"status": "published",
"visible_since": "2022-04-05T10:01:38.071142Z",
"visible_until": "2022-04-19T10:01:38.071208Z",
"sorting_priority": 1,
"publication_status": "published",
"body": {
"en": "Closed next Monday",
"pl": "Zamknięte w następny poniedziałek"
}
}
}
Definition#
Key | Type | Optional | Read-only | Description |
---|---|---|---|---|
id | integer | no | yes | |
customer_ids | integer[] | no | no | Customers the record is assigned to |
locales | ISO 639-1 alpha-2 code[] | yes | no | Locales the record is be available to in Locales |
products | string[] | yes | no | Products the content is available for in Products |
status | enum: ['draft', 'published', 'unpublished'] | no | no | when 'published', the record is available in CMS Public API |
visible_since | datetime | yes | no | Date since the record is visible in CMS Public API |
visible_until | datetime | yes | no | Date until the record is visible in CMS Public API |
sorting_priority | integer | no | no | Priority of the record during sorting in CMS Public API |
body | LocalizedContent | yes | no | |
created_at | datetime | no | yes | Time of record creation |
updated_at | datetime | no | yes | Time of record last update |
archived_at | datetime | no | yes | Time of record archivization |
publication_status | enum: ['published', 'draft', 'exipred', 'scheduled'] | no | yes | Visibility status of the record in CMS Public API |
Modified at 2024-05-06 15:15:29