BusinessAnnouncements
Search BusinessAnnouncements
Search and list BusinessAnnouncement records with filtering, sorting, and pagination.
GET
Search BusinessAnnouncements
A BusinessAnnouncement is a notification displayed to customers on the members portal and mobile app. Announcements support plain text only (no bold, italics, or lists) and can include an optional image and a call-to-action button.
Use
ActiveFrom and ActiveTo to schedule when the announcement is visible. Use OnlyForContacts and OnlyForMembers to control the audience:
Announcement images should ideally be 600x350 pixels (12:7 aspect ratio). Set
NewImageUrl to a URL to upload a new image, or set ClearImage to true to remove the current image.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the BusinessAnnouncement-List role.Query Parameters
Pagination & Sorting
integer
default:"1"
The page number to retrieve.
integer
default:"25"
The number of records per page.
string
The property name to sort results by (e.g.
Name, CreatedOn).integer
Sort direction.
0 for ascending, 1 for descending.Filters
integer
Filter by iD of the business linked to this record.
string
Filter by business name.
string
Filter by announcement title.
boolean
Filter by whether the announcement is active and visible to customers.
string
Filter by current image file name.
string
Filter by uRL of a new image to upload (ideal size 600x350 pixels, 12:7 aspect ratio).
boolean
Filter by set to true to remove the current image file.
string
Filter by announcement body text (plain text only, no formatting).
boolean
Filter by whether to display a call-to-action button in the announcement.
string
Filter by text displayed on the call-to-action button.
string
Filter by uRL the call-to-action button redirects to (must start with https://).
boolean
Filter by whether to send a push notification to customers when the announcement is published.
string
Filter by text of the push notification sent to customers.
string
Filter by date from which the announcement is visible to customers (publish from).
string
Filter by date until which the announcement is visible to customers (publish to).
boolean
Filter by restrict announcement visibility to contacts (customers without an active contract).
boolean
Filter by restrict announcement visibility to members (customers with an active contract).
Range Filters
string
Filter by date from which the announcement is visible to customers (publish from) greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.string
Filter by date from which the announcement is visible to customers (publish from) less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.string
Filter by date until which the announcement is visible to customers (publish to) greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.string
Filter by date until which the announcement is visible to customers (publish to) less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.string
Filter records created on or after this date. Format:
YYYY-MM-DDTHH:mm.string
Filter records created on or before this date. Format:
YYYY-MM-DDTHH:mm.string
Filter records updated on or after this date. Format:
YYYY-MM-DDTHH:mm.string
Filter records updated on or before this date. Format:
YYYY-MM-DDTHH:mm.Code Examples
Simple listing
Filtering by Name
Range filters
Response
200
BusinessAnnouncement[]
The list of BusinessAnnouncement records matching the query. See the Get one BusinessAnnouncement endpoint for the full list of properties returned for each record.
integer
Current page number.
integer
Number of records per page.
string
The field used for sorting.
integer
The sort direction (
0 = ascending, 1 = descending).integer
Index of the first item on the current page.
integer
Index of the last item on the current page.
integer
Total number of matching records across all pages.
integer
Total number of pages.
boolean
Whether there is a next page of results.
boolean
Whether there is a previous page of results.
Example Response
Search BusinessAnnouncements