Skip to main content
POST
Create BusinessAnnouncement
A BusinessAnnouncement is a location announcement shown to customers in the Members Portal and app, with optional plain-text content, image, and call-to-action button. Its public availability is scheduled by UTC ActiveFrom and ActiveTo values.

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-Create role.

Request Body

Required Fields

integer
required
ID of the location where this announcement is published; a network location makes it available to locations in that network..
string
required
Required title displayed with the announcement..

Optional Fields

boolean
Whether this announcement is marked active; the current active-announcement query uses ActiveFrom and ActiveTo rather than this flag.. Defaults to true.
string
URL of a new image to upload (ideal size 600x350 pixels, 12:7 aspect ratio).
boolean
Set to true to remove the current image file.
string
Plain-text announcement body; HTML formatting is not supported..
boolean
Whether to display the optional call-to-action button with this announcement..
string
Text displayed on the call-to-action button when ShowButton is enabled..
string
Destination URL for the call-to-action button when ShowButton is enabled..
boolean
Whether this announcement is configured to send a push notification; scheduling is currently driven by ActiveFrom on create or update..
string
Text configured for the announcement’s push notification..
string
UTC publish-from date and time; the active query requires this value to be strictly earlier than the current UTC time, and create or update schedules its push job at this time..
string
Optional UTC publish-until date and time; an announcement remains active only while this value is strictly later than the current UTC time..
boolean
Whether the announcement is marked for contacts, meaning customers without an active contract; the current active-announcement query does not apply this audience flag..
boolean
Whether the announcement is marked for members, meaning customers with an active contract; the current active-announcement query does not apply this audience flag..

Code Examples

Response

200

integer
HTTP status code. 200 on success.
string
A human-readable message confirming the creation.
object
Contains the Id of the newly created record.
boolean
true if the businessannouncement was created successfully.
array
null on success.
Example Response

400

string
A summary of the validation error(s), in the format PropertyName: error message.
any
null on validation failure.
object[]
Array of validation errors.
boolean
false when the request fails validation.
Example Response