BlockAutoBackupDelete

Delete Auto-Backup Blocking Based on Game Zones

Version requirements: TcaplusOMS3.46.1 or above

Request address

POST
http://OmsAddress/app/newoms.php/webservice/business/block-auto-backup/delete?cmd=10019&ip-type=webservicerest&access-token=AccessTokenVal

POST request parameter description

Parameter format Description Required or not
app_id int App ID Yes
zone_id int Game zone ID Yes

Data Parameters

Use json format to represent the record related information. The following is an example:

{
    "app_id": 2,
    "zone_id": 3
}

Return Syntax

Return Parameter Description

  1. When the returned status code is not 200, it indicates that the addition was unsuccessful, and the returned data is error information

  2. When the returned status code is 200, it means the transaction was successful, where success means the information of the zone that was successfully deleted, and failed means the information of the zone that failed to be deleted.

Request Example

Send A Request through the Curl Method

For the parameters in the command, please refer to the "Description of POST Request Parameters" on this page. For the method to obtain access-token, see: Get access-token

curl -H "Content-type: application/json" -X "POST" -d '{
    "app_id": 2,
    "zone_id": 3
}' http://omsaddress/app/newoms.php/webservice/business/block-auto-backup/delete?cmd=10019&ip-type=webservicerest&access-token=\

Return Example

Successful Return Example

Status of http request = 200

{
    "ret": 0,
    "msg": "delete success."
}

Failed Return Example

Status of http request != 200

{
    "name": "Unauthorized",
    "message": "You are requesting with an invalid credential.",
    "code": 0,
    "status": 401,
    "type": "yii\\web UnauthorizedHttpException"
}
{
    "source_ip": "ip:10.29.89.51 not in whitelist"
}

results matching ""

    No results matching ""