Skip to content

Check for Auto Response Rule conflicts

Request

Check if there are any other Auto Response Rules that have status ACTIVE, apply to at least one of the businesses or locations in this request, and share at least one of the triggers in this request. When editing an existing Auto Response Rule, its id should be passed in ignoreRule so that it is not returned as a false positive.

Security
X-API-KEY or Authorization
Bodyapplication/jsonrequired

A CheckConflictRequest object

businessesArray of integers, (int64)

List of business ids. Only check Auto Response Rules identified by the business ids listed in businesses

locationsArray of integers, (int64)

List of location ids. nly check Auto Response Rules identified by the location ids listed in locations

excludedLocationsArray of integers, (int64)

List of location ids that should be excluded from the check

triggersArray of strings

Only check Auto Response Rules that also apply to these triggers, use ONE_STAR, TWO_STAR, THREE_STAR, FOUR_STAR and/or FIVE_STAR

ignoreRuleinteger, (int64)

When editing an Auto Response Rule, send the id from the rule being edited in this field

curl -i -X POST \
  https://uberall.com/api/auto-response/rules/check-conflict \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "businesses": [
      0
    ],
    "locations": [
      0
    ],
    "excludedLocations": [
      0
    ],
    "triggers": [
      "string"
    ],
    "ignoreRule": 0
  }'

Responses

Checking for conflicts completed.

Bodyapplication/json
statusstringrequired
Enum:"SUCCESS""PENDING""QUOTA_LIMIT_EXCEED""NOT_AUTHORIZED""FORBIDDEN""BAD_ACCESS_TOKEN""BAD_PRIVATE_KEY""BAD_PUBLIC_KEY""MISSING_PARAMETER""INVALID_PARAMETER"
messagestring

(optional) Holds further information about the response

warningsArray of strings

(optional) Holds further warnings

responseArray of objects, uniquerequired

The actual response object of the response

Response
{ "status": "SUCCESS", "message": "string", "warnings": [ "string" ], "response": [ {} ] }