Skip to content

Get available photo types

Request

Retrieves the available photo types based on the provided filter parameters.

Query
operationstringrequired

Set operation for combining criteria.

Enum:"UNION""INTERSECTION"
locationIdsArray of integers, (int64)

List of location IDs. Mutually exclusive with productPlanId.

businessIdinteger, (int64)

Business ID. Mutually exclusive with productPlanId.

productPlanIdinteger, (int64)

Product Plan ID. Mutually exclusive with locationIds and businessId. When provided, photo type resolution is based solely on the given product plan.

categoryIdinteger, (int64)

Category ID.

addressDisplayboolean

Address display flag.

curl -i -X GET \
  'https://uberall.com/api/rules-engine/location-photo-constraints?operation=UNION&locationIds=0&businessId=0&productPlanId=0&categoryId=0&addressDisplay=true'

Responses

Successfully retrieved available photo types

Body*/*
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

responseobjectrequired

The actual response object of the response

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