BusinessRedirections
Create BusinessRedirection
Create a new BusinessRedirection record.
POST
Create BusinessRedirection
A BusinessRedirection is an internal entity representing an automatic URL redirect configured for a location’s portal or app.
Each redirect maps a source URL to a destination URL. Redirects can be activated or deactivated, and optionally limited to a specific date range using
ActiveFrom and ActiveTo.
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 BusinessRedirection-Create role.Request Body
Required Fields
ID of the business linked to this record.
Source URL path to redirect from.
Destination URL to redirect to.
Optional Fields
Whether the redirect is currently active.
Date and time from which the redirect becomes active.
Date and time after which the redirect is no longer active.
Code Examples
Response
200
HTTP status code.
200 on success.A human-readable message confirming the creation.
Contains the
Id of the newly created record.true if the businessredirection was created successfully.null on success.Example Response
400
A summary of the validation error(s), in the format
PropertyName: error message.null on validation failure.Array of validation errors.
false when the request fails validation.Example Response
Create BusinessRedirection