智能应用工作表数据更新
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
app_id | Number | 必须 | 21626 | 智能应用ID | |
table_id | String | 必须 | work-table-test1 | 工作表ID | |
id | String | 必须 | ZkhiSEdHQnVDS3lmdDc1YjRnb01BZz09 | 需变更的数据ID | |
record | String | 必须 | {"contactInformation": "测试测试"} | 需变更的数据 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
count | Number | 1 | 更新记录数 |
1 2 3 4 5 6 7 8 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); SmartappTableDataUpdateRequest req = new SmartappTableDataUpdateRequest(); req.setAppId(21626L); req.setTableId( "work-table-test1" ); req.setId( "ZkhiSEdHQnVDS3lmdDc1YjRnb01BZz09" ); req.setRecord( "{\"contactInformation\": \"测试测试\"}" ); SmartappTableDataUpdateResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 | < smartapp_table_data_update_response > < count >1</ count > </ smartapp_table_data_update_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 > |
错误码 | 错误描述 | 解决方案 |
---|---|---|
isp.ability.execute-error | 系统开小差了,请稍后重试 | 检查出入参正确性 |