Use for Merchant Get url for start tournament
Method : [Post]
Path : {{domain}}/ext/startTournament/{{prefix}}/{{agentUsername}}
Content-Type : application/json
{
"agentUsername": "{{agentUsername}}",
"key": "{{key}}",
"username": "{{agentUsername}}ninemb01",
"web": "{{whiteLabel}}"
}
Key | Type | Example Value | Description |
---|
agentUsername | String | testag | เอเย่นต์ที่ใช้งาน |
key | String | tnyENKDWvOkBXpvm6UZVa | คีย์ของเอเย่นต์ |
username | String | testagninemb01 | ยูสเซอร์ที่ต้องการดูโปรไฟล์ |
web | String | sportbook101 | เว็บที่ใช้งาน |
{
"code": 0,
"msg": "SUCCESS",
"data": {
"url": "https://dev.askmebettournament.com?token=355803f9823a8a6803c2468b0e5808a4"
}
}
Key | Type | Example Value | Description |
---|
code | Number | 0 | Response code of API |
msg | String | success | description of code |
data | Object | { "url": "https://dev.askmebettournament.com?token=355803f9823a8a6803c2468b0e5808a4" } | url ใช้สำหรับเข้าร่วมทัวร์นาเมนต์ |
Value | msg |
---|
0 | Success |
100001 | Missing 'agent Username' field. |
100002 | Agent username is type string. |
100003 | Missing 'key' field. |
100004 | Key is type string. |
100005 | Missing 'username' field. |
100006 | Username is type string. |
100009 | Your username must be between 8 and 48 character. |
100012 | Key not found. |
100013 | Agent not found. |
100014 | Member not found. |