DiscountCodes

Enqueues the V2 export of the pregenerated coupons listing, read from the Data Warehouse.

Changed on

The V1 export above pages the DiscountCodes table through the application; this one hands a single Redshift UNLOAD straight to S3, which is what lets a large client's export finish. It also renders the Held status, which V1 cannot: the hold lives in the coupon engine, while the warehouse already carries both sides.

get/api/v1/DiscountCodes/export-v2

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

Query parameters

filter, string

Headers

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

Response

OK

GameBallCommonProcessResultProcessResultViewModel1SystemBoolean required
isSucceeded, boolean
methodName, string nullable
status, GameBallCommonProcessResultProcessResultStatus
data, boolean

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)