提供外部调用数据采集数据同步服务接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
type | String | 必须 | type | 类型 | |
data_json | String | 必须 | {"value1":"1","value2":2} | 同步数据 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
total | Number | 0 | 数量 |
data | String | 返回内容 | 返回值 |
exec_sql | String | Aasda213SA2a | 加密返回参数 |
result_code | String | 200 | 状态码 |
err_level_code | Number | 500 | 错误码 |
err_level_msg | String | 错误描述 | 错误描述 |
1 2 3 4 5 6 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaNtNtfinanceopenGeneraldataOutinnersyncRequest req = new AlibabaNtNtfinanceopenGeneraldataOutinnersyncRequest(); req.setType( "type" ); req.setDataJson( "{\"value1\":\"1\",\"value2\":2}" ); AlibabaNtNtfinanceopenGeneraldataOutinnersyncResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 | < alibaba_nt_ntfinanceopen_generaldata_outinnersync_response > < total >0</ total > < data >返回内容</ data > < exec_sql >Aasda213SA2a</ exec_sql > < result_code >200</ result_code > < err_level_code >500</ err_level_code > < err_level_msg >错误描述</ err_level_msg > </ alibaba_nt_ntfinanceopen_generaldata_outinnersync_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 > |
错误码 | 错误描述 | 解决方案 |
---|