大麦麦座用户资产信息变更接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
asset_use_param | AssetUseParam | 必须 | 入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | ResultData | 请求结果 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaDamaiMzCrmAssetModifyRequest req = new AlibabaDamaiMzCrmAssetModifyRequest(); AlibabaDamaiMzCrmAssetModifyRequest.AssetUseParam obj1 = new AlibabaDamaiMzCrmAssetModifyRequest.AssetUseParam(); obj1.setChangeReason( "注册会员赠送xxx积分" ); obj1.setCurrentBalance(10000L); obj1.setChangeType(1L); obj1.setBusinessId( "79312660023113" ); obj1.setAuthorizedToken( "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxOTg5MiIsImlhdCI6MTczMjUyMjk2MSwiZXhwIjoxNzMyNTI2ODYxfQ.2-uNl4RNovPSg8NGz6M5HDy_nY5mQ_F1TvivJr94bp8" ); obj1.setPoint(100L); obj1.setCurrentPoint(100000L); obj1.setAssetBizKey( "1234rewrewq" ); obj1.setBalance(100L); obj1.setMzUserId( "83121114" ); obj1.setBusinessType( "0" ); req.setAssetUseParam(obj1); AlibabaDamaiMzCrmAssetModifyResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 | < alibaba_damai_mz_crm_asset_modify_response > < result > < msg >成功</ msg > < code >200</ code > < success >true</ success > </ result > </ alibaba_damai_mz_crm_asset_modify_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|