Bulk replace policy condition criteria

Replaces existing policy condition criteria with the policy condition criteria specified in the request.

Policy condition criteria defines criteria for assigning a policy condition to a location. Locations that that match the specified criteria may are assigned the specified policy condition. Alternatively, locations may be assigned policy conditions using location conditions. The condition criteria may be used to define a query that selects locations. Locations that match the specified criteria may be assigned the policy condition.

The request defines an array of condition objects.

[
  {
    "closePar": "",
    "field": "COUNTRY",
    "logic": "",
    "openPar": "",
    "operator": "=",
    "value": "US"
  },
  {
    "closePar": "",
    "field": "COUNTRY",
    "logic": "AND",
    "openPar": "(",
    "operator": "=",
    "value": "US"
  },
  {
    "closePar": ")",
    "field": "COUNTRY",
    "logic": "OR",
    "openPar": "",
    "operator": "=",
    "value": "US"
  }
]

Within each object,the field, operator, and value parameters are required.

🍊

Request payload size

The request payload for this operation is limited to approximately 5 MB. This limit is enforced at the API gateway, before the request reaches the service.

If the request exceeds the 5 MB limit, this operation return 413 Content Too Large status code and no policy condition criteria are replaced. Partial updates are not applied. To work with a large set of policy condition criteria, divide the criteria into smaller batches and submit each batch as a separate request.

Path Params
int64
required
≥ 1

ID of EDM.

int32
required
≥ 1

ID of policy.

int32
required
≥ 1

ID of policy condition.

Body Params
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

413

Payload Too Large.

The request body exceeds the maximum size enforced at the API gateway (approximately 5 MB). Split the criteria into smaller batches and resubmit.

Language
Credentials
URL
LoadingLoading…
Response
Choose an example:
application/
application/json