Bingo games

Endpoint to list all bingo games and associated tasks

get
Authorizations
Responses
200
Successful response
application/json
get
GET /partner-api/v2/admin/bingo-games HTTP/1.1
Host: 
X-API-Key: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "bingo_games": [
    "text"
  ]
}

Create a bingo game.

post
Authorizations
Body
prize_idsarrayRequired

the prize_ids for the bingo game

namestringRequired

the name of the Bingo game

descriptionstringOptional

the name of the Bingo game

Responses
201
Successful response
application/json
post
POST /partner-api/v2/admin/bingo-games HTTP/1.1
Host: 
X-API-Key: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 51

"prize_ids=[]&name='text'&description='text'"
201

Successful response

{
  "bingo_game": {
    "id": "text",
    "name": "text",
    "description": "text",
    "status": "text",
    "prize_ids": [
      "text"
    ],
    "program_id": 1
  }
}

Get the bingo game with the given ID.

get
Authorizations
Path parameters
bingo_game_idstringRequired

the ID of the Bingo game

Responses
200
Successful response
application/json
get
GET /partner-api/v2/admin/bingo-games/{bingo_game_id} HTTP/1.1
Host: 
X-API-Key: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "bingo_game": {
    "id": "text",
    "name": "text",
    "description": "text",
    "status": "text",
    "prize_ids": [
      "text"
    ],
    "program_id": 1,
    "bingo_tasks": [
      "text"
    ]
  }
}

Update a bingo game.

patch
Authorizations
Path parameters
bingo_game_idstringRequired

the ID of the Bingo game

Body
namestringOptional

the name of the Bingo game

descriptionstringOptional

the description of the Bingo game

prize_idsarrayOptional

the prize_ids for the bingo game

statusstringOptional

the status of the Bingo game

Responses
200
Successful response
application/json
patch
PATCH /partner-api/v2/admin/bingo-games/{bingo_game_id} HTTP/1.1
Host: 
X-API-Key: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 67

"name='text'&description='text'&prize_ids=[]&status='text'"
200

Successful response

{
  "bingo_game": {
    "id": "text",
    "name": "text",
    "description": "text",
    "status": "text",
    "prize_ids": [
      "text"
    ],
    "program_id": 1
  }
}