Chest

GetCommonChestReward

URL

https://api.idosgames.com/api/{titleTemplateId}/{titleId}/Client/Chest/GetCommonChestReward  

Description

This action retrieves the reward from a common chest.

HTTP Method

  • POST

Request Body (JSON)

{  
    "WebAppLink": "string",  
    "UsageTime": "int",  
    "ClientSessionTicket": "string",  
    "EntityToken": "string",  
    "UserID": "string"  
}  

Response Codes

  • 200 OK: Returns the ID of the reward item granted.

  • 400 Bad Request: Possible error messages:

    • INVALID_REQUEST_ARGS

    • INVALID_ACTION

    • INCORRECT_TITLE_ID_OR_STATUS_INACTIVE

    • INCORRECT_ACTION

    • INCORRECT_USER_ID

Example Usage

GetRareChestReward

URL

Description

This action retrieves the reward from a rare chest.

HTTP Method

  • POST

Request Body (JSON)

Response Codes

  • 200 OK: Returns the ID of the reward item granted.

  • 400 Bad Request: Possible error messages:

    • INVALID_REQUEST_ARGS

    • INVALID_ACTION

    • INCORRECT_TITLE_ID_OR_STATUS_INACTIVE

    • INCORRECT_ACTION

    • INCORRECT_USER_ID

Example Usage

GetLegendaryChestReward

URL

Description

This action retrieves the reward from a legendary chest.

HTTP Method

  • POST

Request Body (JSON)

Response Codes

  • 200 OK: Returns the ID of the reward item granted.

  • 400 Bad Request: Possible error messages:

    • INVALID_REQUEST_ARGS

    • INVALID_ACTION

    • INCORRECT_TITLE_ID_OR_STATUS_INACTIVE

    • INCORRECT_ACTION

    • INCORRECT_USER_ID

Example Usage

Last updated

Was this helpful?