POST
/
experience-manager
/
campaigns
Create or update a campaign
curl --request POST \
  --url https://{FUSION HOST}/api/experience-manager/campaigns \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "effective_range": [
    "<string>"
  ],
  "id": "<string>",
  "name": "<string>",
  "updatedOn": "2023-11-07T05:31:56Z"
}'
{}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

commitWithin
string

Time in milliseconds within which the update should be committed.

context
string
required

Application context for the campaign request, typically indicating the scope or tenant.

staging
boolean
required

Indicates whether the campaign should be created or updated in a staging environment.

version
integer

Optional version number of the campaign update.

Body

application/json

Campaign details to be created or updated.

Represents a request to create or update a campaign.

Response

200
application/json

Campaign successfully updated.

The response is of type object.