Bind Invitation And Award API
Request Parameters
| Parameter Name | Parameter Type | Has Value | Description |
|---|---|---|---|
| invite_userid | int | 1 | Inviter's unique user ID |
| invite_roleid | int | 1 | Inviter's game role ID |
| invitee_userid | int | 1 | Invitee's unique user ID |
| invitee_roleid | int | 1 | Invitee's game role ID |
| invitekey | string | 1 | Event invitation identifier |
| timestamp | int | 1 | Timestamp (seconds) |
| ext | json (Array) | 1 | Pass-through parameters (optional) |
| signature | string | 1 | Signature (see below) |
| uniqueid | string | 1 | Unique push identifier (like an order number) |
Signature
md5 => ext + inviteeroleid + inviteeuserid + invitekey + inviteroleid + inviteuserid + timestamp + uniqueid + "encryption key" (the encryption key is agreed upon by both parties and must consist of 8–32 uppercase or lowercase letters or digits, with no special characters)
Interface URL and Submission
The URL is defined by the original manufacturer, and we push the successfully bound invited user information to the original manufacturer [submission method POST form]
Award Conditions
Other award conditions and award operations are determined by the original manufacturer, such as character level, active days, etc.
Response Result
Response Format
Returns in JSON format. If there are other types of codes, please define and provide explanations.
| Parameter Name | Parameter Type | Has Value | Description |
|---|---|---|---|
| code | int | 1 | Status code for receiving push request, 1000 = successful push, 9996 = duplicate push |
| message | string | 1 | Error description |