Audience

Calculates the audience count for campaign creation/edit by checking client configuration. First checks if the client's data is stored in Elasticsearch (via ElasticSearchClients config), then routes to the appropriate method: GetAudienceCountFromElasticSearch for ES-enabled clients or GetAudienceCount for database-stored clients.

Changed on
post/api/v1/Audience/count

Request

  • Base URL
    https://api.gameball.co (the document declares no server; this is the origin it was published from)
  • Auth
    none declared. Required headers: APIKey

Headers

Authorization, string
lang, string
APIKey, string required
SecretKey, string

Request body

GameBallBLLViewModelsAudienceCountRequestViewModel required
operator, 1 | 2
audience, GameBallBLLViewModelsAudienceViewModel[] nullable

Response

OK

GameBallCommonProcessResultProcessResultViewModel1SystemInt64 required
isSucceeded, boolean
methodName, string nullable
status, GameBallCommonProcessResultProcessResultStatus
data, integer

Changes

    • warning

      added the new 63.00 enum value to the status/code response property for the response status (media type: text/plain)

    • warning

      added the new 63.00 enum value to the status/code response property for the response status (media type: application/json)

    • warning

      added the new 63.00 enum value to the status/code response property for the response status (media type: text/json)