Action 69: Share The Replay Link
Function Description
- Supported games, please refer to the appendix: Slot games of sharing the replay link
- If the game does not support replays, we will replay status
9025
- If the game does not support replays, we will replay status
- Winning Amount must be greater than 0. (except for Buy Feature games)
- If the game record win amount is not greater than 0, we will replay status
9026
- If the game record win amount is not greater than 0, we will replay status
- Only supports game records within 60 days.
- The link returned is valid for 30 days.
Parameter
Parameter | Format | Mandatory | Description |
---|---|---|---|
action | Integer | Y | 69 |
ts | Long | Y | Current system time |
parent | String(50) | Y | Agent ID |
uid | String(50) | Y | PlayerID |
gType | Integer | Y | Game types, only support gType 0, 66 |
historyId | String(100) | Y | Game History ID |
lang | String | N | Language Given any language that is not in the list above will be treated as English in the Open Graph. See Language Code |
Example
{
"action": 69,
"ts": 1704790101741,
"parent": "testag",
"uid": "testplayer",
"gType": 0,
"historyId": 5250228856980,
"lang": "en"
}
Return Results
Parameter | Format | Description |
---|---|---|
status | String(4) | Success: 0000 Error: See Error Codes in Appendix |
url | String | replay link |
err_text | String(255) | Error message |
Operation Sample
// Http Request
http://{API_Address}/apiRequest.do?dc=jb1&x=y1wayxScczy6ABfElfaVwb5CdfHxBN_JGtxyBSvpohLQakP8M2QSetJNojJBzvnrVChhq8YWWgBTdGeXFTH4vSNQQ66epf4NqYeQ-6bJ15pvHctQjQevulv7GHqOifuju_gY0H54FfVdQc9D5tKh1AZ-9KDh9dwcGSszZxU7JOOoHdYITlCO5LhvGmHxPBwZ
// Http Response (success)
{
"status": "0000",
"url": "https://replayrd.jdsdl1688.com/38CA9E05EECD4727C1EB3F0C1A520529"
}
// Http Response (failed)
1. If the game does not support replays, we will respond accordingly:
{
"status": "9025",
"err_text": "Game is not support replay. historyId: 5250228948166 does not support replay"
}
2. If the game record win amount is not greater than 0 (except for Buy Feature games), we will respond accordingly:
{
"status": "9026",
"err_text": "The win amount should be greater than 0. historyId: 5250228948203 is not shareable"
}