Skip to content

Update web journey action rules

Request

PUT /v3/web-journeys/{webJourneyId}/actions/{actionId}/rules

Bind rules to a specific action within a web journey

Security
API_Key
Path
webJourneyIdinteger, (int64)required

Unique identification number for web journey item

Example:107239
actionIdinteger, (int64)required

The ID of the action

Example:1001
Bodyapplication/jsonrequired

Set of rule IDs to bind to the action

Array of integers
PUT
/v3/web-journeys/{webJourneyId}/actions/{actionId}/rules
curl -i -X PUT \
  https://api.observepoint.com/v3/web-journeys/107239/actions/1001/rules \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '[
    101,
    102,
    103
  ]'

Responses

Action rules updated successfully

Bodyapplication/json
Array [
idinteger, (int32)
namestring
accountIdinteger, (int32)
createdByinteger, (int32)
createdAtstring, (date-time)
updatedAtstring, (date-time)
recipientsArray of strings
checkTimesinteger, (int32)
matchAllFiltersboolean
pageFiltersArray of objects
tagsArray of objects
labelsArray of objects
fromTemplateboolean
]
Response
[ { "id": 0, "name": "string", "accountId": 0, "createdBy": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "recipients": [], "checkTimes": 0, "matchAllFilters": true, "pageFilters": [], "tags": [], "labels": [], "fromTemplate": true } ]