interface address | hostname/openapi/v1/customerOpenApi/updateBalancePointByIncrement | ||
Request header | User-Agent: openApi Content-Type: application/json; charset=utf-8 Accept-encoding: gzip,deflate Time-stamp: 1437528688233 Data-signature: BF706E6AC693BA3B1BABD32E6713431D | ||
Request method | POST | ||
Request body | { "appId": "abcdefghijklmn", "customerUid": 231607639459718452, "balanceIncrement":100, "pointIncrement": 100, "dataChangeTime": "2015-12-16 13:26:23" } | ||
parameter name | Is it necessary | Types of | Instructions |
appId | Yes | String | KYBIO configured access credentials |
customerUid | Yes | Long | The members’ unique credential in KYBIO system |
balanceIncrement | Yes | BigDecimal | Amount of balance increase, the result of the modification is the balance of membership in KYBIO system + balance Increment |
pointIncrement | Yes | BigDecimal | Integral growth amount, the modification result is the member points in the leopard system + point Increment |
dataChangeTime | Yes | String | When the caller changes the amount of money, the format is yyyy-MM-dd hh:mm:ss, which cannot be left blank. |
Return result | { "status": "success", "messages": [], "errorCode":null,//If "status": "success", this field has no value "data": { "customerUid": 231607639459718460, "balanceBeforeUpdate": 400, "balanceAfterUpdate": 500, "balanceIncrement": 100, "pointBeforeUpdate": 300, "pointAfterUpdate": 400, "pointIncrement": 100, "dataChangeTime": "2015-12-16 15:26:43", "updateCustomerTime": "2015-12-16 14:37:30" } } | ||
Field name | Types of | Instructions | |
Status | String | Whether the request is processed correctly, return success or error, case-insensitive | |
Messages | String[] | Processing result message | |
errorCode | Int | Business process error code, see error code table | |
customerUid | Long | The members’ unique credential in KYBIO system | |
balanceBeforeUpdate | BigDecimal | Members’ balance before update | |
balanceAfterUpdate | BigDecimal | Members’ balance after update | |
balanceIncrement | BigDecimal | Balance change | |
pointBeforeUpdate | BigDecimal | Pre-Modify Membership Points | |
pointAfterUpdate | BigDecimal | Revised membership points | |
pointIncrement | BigDecimal | Change in membership points | |
dataChangeTime | String | Date of change of data | |
updateCustomerTime | String | Time of update in KYBIO system |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article