| Parameter | Type | Default | Description |
|---|---|---|---|
| per_page | integer | 100 | Number of results to be returned per request (100 is the maximum) |
| page_no | integer | 1 | Number of results page |
| with_archived | boolean | false | When true, also archived records will be returned |
| only_archived | boolean | false | When true, only archived records will be returned |
| status | string | null | When present, only records of given status will be returned |
| sort_by | string[] | null | See: Sorting params |
| sort_directions | string[] | null | See: Sorting params |
| locale | ISO 639-1 alpha-2 code | 'en' | Context of the query, used for example in sorting |
| publication_status | enum: ['published', 'draft', 'exipred', 'scheduled'] | null | When present, only records of given publication status will be returned |
{
"service_messages": [], // List of ServiceMessages - see 'ServiceMessage model'
"pagination_info": {} // Pagination info - see 'Pagination info'
}curl --location --request GET 'https://api.mpc.dev.placewise.com/v1/content/management/service_messages?publication_status=published&excluded_publication_status=expired' \
--header 'X-User-Agent: ApiDog' \
--header 'X-Product-Name: default' \
--header 'X-Loyalty-Club-Slug: infinity-mall' \
--header 'X-Customer: 447' \
--header 'Authorization: Bearer ' \
--header 'X-Client-Authorization: ' \
--header 'Content-Type: application/json'{}