Send Props API (Optional)
Description
By asking the original API interface, the player's character is distributed with props
The interface for the game all the pipeline operation. Grant stored value props
The basic parameters include: product type (elementType), item number (elementId), the number of items (count) platform, ID (userId), the message header (title), mail (content) server, CODE (serverCode), the current time stamp (timeStamp), MD5 signature (sign).
Domain name from the original factory and our products of negotiation.
The KEY value in the sign signature is provided by the original factory (e.g., 8–32 characters consisting of uppercase and lowercase letters or digits, with no special characters)
Processing Flow

Request URL (Use the get mode, and suggest supporting the post mode) The test server links such as:
http://domain.xxx.com/user/sendProps?elementType=1&elementId=0&userId=3258506&count=1&serverCode=ld4&timeStamp=1378456412008&roleId=12045897&sign=1faec808b862af2d5a726f993477529b&title=abc&content=12334Request Parameters
| Parameter description | ||
|---|---|---|
| serverCode | Server CODE | Required |
| userId | User ID | Required |
| elementType | The payment of goods such as type: ; Equipped with =5 card volume =7 ; God iron =6 diamond =9 ; Hero =8 essence =12 ; Hero soul =10 dust =13 ; Dragon soul =14 =16 card | Optional |
| elementId | The payment of goods to the corresponding data available in number[such as]: elementType ; When elementType ; For cards, card equipment, iron God, soul, hero, hero soul ; ElementId item number, For other types, elementId fill in 0 | Required |
| count | The number of items issued | Required |
| timeStamp | Time stamp | Required |
| sign | Signature: MD5(serverCode+ userId + elementType + elementId + count + KEY+ timeStamp); the KEY must consist of 8–32 uppercase or lowercase letters or digits, with no special characters | Required |
| title | Mail header | Optional |
| content | Mail content | Optional |
| roleId | Role ID | Optional |
Response Result
| Returns the standard JSON format | ||
|---|---|---|
| Success | {"ret":0, "msg": "ok"} | "ret":0 Receive success |
| Failure | {"ret":1001, "msg": "Parameter error"} | ret Not 0 is wrong, Note: if there is a definition of wrong coding instructions, please inform me |
Response JSON Fields
| Parameter description | ||
|---|---|---|
| ret | Return status | Required |
| msg | Return information description | Required |
Error Codes
1001 Parameter error 1002 The user does not exist 1003 Sign error 1004 Repeat submission 1008 Account disabled 65535 Server error