感谢您的反馈!
渠道配置接口列表
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| version_id | Number | 可选 | 1 | versionId | |
| online_id | Number | 可选 | 1 | onlineId | |
| id | Number | 可选 | 1 | id | |
| uri | String | 可选 | 1 | uri | |
| channel_id | Number | 可选 | 1 | channelId | |
| dispose_id | Number | 可选 | 1 | disposeId |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | CommonResponse | 1 | result |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaShuqiOriginalCopyrightCpapiGetcpapilistRequest req = new AlibabaShuqiOriginalCopyrightCpapiGetcpapilistRequest();
req.setVersionId(1L);
req.setOnlineId(1L);
req.setId(1L);
req.setUri("1");
req.setChannelId(1L);
req.setDisposeId(1L);
AlibabaShuqiOriginalCopyrightCpapiGetcpapilistResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alibaba_shuqi_original_copyright_cpapi_getcpapilist_response>
<result>
<data>
<ognv_cp_interface_list>
<ognv_cp_interface_dto>
<resp_type>1</resp_type>
<cr_time>1626427609</cr_time>
<enable_state>1</enable_state>
<req_templates>
<req_template>
<check_condition_key_fields>
<string>1</string>
</check_condition_key_fields>
<target_field_type>1</target_field_type>
<default_value>1</default_value>
<check_condition>1</check_condition>
<covert_rule_key_fields>
<string>1</string>
</covert_rule_key_fields>
<req_field_type>1</req_field_type>
<check_condition_json>1</check_condition_json>
<convert_rule_json>1</convert_rule_json>
<convert_rule>1</convert_rule>
<target_field_name>chapterOrd</target_field_name>
<rule_id>demo</rule_id>
<req_field_must>1</req_field_must>
<req_field_name>cdsv</req_field_name>
<field_id>111</field_id>
</req_template>
</req_templates>
<req_method>2</req_method>
<description>demo</description>
<pub_state>1</pub_state>
<uri>/grgiw/fweg</uri>
<up_time>1626427619</up_time>
<resp_templates>
<resp_template>
<level>1</level>
<target_field_type>1</target_field_type>
<default_value>22</default_value>
<covert_rule_key_fields>
<string>1</string>
</covert_rule_key_fields>
<convert_rule_json>1</convert_rule_json>
<resp_field_type>0</resp_field_type>
<convert_rule>1</convert_rule>
<sub_template_keys>
<string>1</string>
</sub_template_keys>
<sub_templates>
<resp_templateg>
<level>1</level>
<target_field_type>1</target_field_type>
<default_value>22</default_value>
<covert_rule_key_fields>
<string>1</string>
</covert_rule_key_fields>
<convert_rule_json>1</convert_rule_json>
<resp_field_type>0</resp_field_type>
<convert_rule>1</convert_rule>
<sub_template_keys>
<string>1</string>
</sub_template_keys>
<sub_templates>
<resp_templateg>
<level>1</level>
<target_field_type>1</target_field_type>
<default_value>22</default_value>
<covert_rule_key_fields>
<string>1</string>
</covert_rule_key_fields>
<convert_rule_json>1</convert_rule_json>
<resp_field_type>0</resp_field_type>
<convert_rule>1</convert_rule>
<sub_template_keys>
<string>1</string>
</sub_template_keys>
<sub_templates>
<resp_templateg>
<level>1</level>
<target_field_type>1</target_field_type>
<default_value>22</default_value>
<covert_rule_key_fields>
<string>1</string>
</covert_rule_key_fields>
<convert_rule_json>1</convert_rule_json>
<resp_field_type>0</resp_field_type>
<convert_rule>1</convert_rule>
<sub_template_keys>
<string>1</string>
</sub_template_keys>
<sub_templates>
<string>1</string>
</sub_templates>
<resp_field_name>ffwef</resp_field_name>
<target_field_name>chapterBookId</target_field_name>
<rule_id>demo</rule_id>
<field_id>110</field_id>
<file_router>1</file_router>
</resp_templateg>
</sub_templates>
<resp_field_name>ffwef</resp_field_name>
<target_field_name>chapterBookId</target_field_name>
<rule_id>demo</rule_id>
<field_id>110</field_id>
<file_router>1</file_router>
</resp_templateg>
</sub_templates>
<resp_field_name>ffwef</resp_field_name>
<target_field_name>chapterBookId</target_field_name>
<rule_id>demo</rule_id>
<field_id>110</field_id>
<file_router>1</file_router>
</resp_templateg>
</sub_templates>
<resp_field_name>ffwef</resp_field_name>
<target_field_name>chapterBookId</target_field_name>
<rule_id>demo</rule_id>
<field_id>110</field_id>
<file_router>1</file_router>
</resp_template>
</resp_templates>
<xml_resp_templates>
<xml_resp_template>
<level>1</level>
<sub_templates>
<xml_resp_template>
<child_tag_name>1</child_tag_name>
<child_property_name>1</child_property_name>
<child_property_is_cre>1</child_property_is_cre>
<child_fields>
<string>1</string>
</child_fields>
<child_property_val>1</child_property_val>
<self_property_name>1</self_property_name>
<self_property_val>1</self_property_val>
<sub_templates>
<xml_resp_template>
<child_tag_name>1</child_tag_name>
<child_property_name>1</child_property_name>
<child_property_is_cre>1</child_property_is_cre>
<child_property_val>1</child_property_val>
<child_fields>
<string>1</string>
</child_fields>
<self_property_name>1</self_property_name>
<self_property_val>1</self_property_val>
<self_property_is_cre>1</self_property_is_cre>
<field_type>1</field_type>
<sub_templates>
<string>1</string>
</sub_templates>
<level>1</level>
<field_name>1</field_name>
</xml_resp_template>
</sub_templates>
<level>1</level>
<self_property_is_cre>1</self_property_is_cre>
<field_type>1</field_type>
<field_name>1</field_name>
</xml_resp_template>
</sub_templates>
<self_property_is_cre>1</self_property_is_cre>
<self_property_val>1</self_property_val>
<self_property_name>1</self_property_name>
<child_fields>
<string>1</string>
</child_fields>
<child_property_val>1</child_property_val>
<child_property_is_cre>1</child_property_is_cre>
<child_property_name>1</child_property_name>
<child_tag_name>1</child_tag_name>
<field_name>1</field_name>
<field_type>1</field_type>
</xml_resp_template>
</xml_resp_templates>
<online_id>216</online_id>
<uri_name>/grgiw/fweg</uri_name>
<id>388</id>
<category>2</category>
<channel_id>10944</channel_id>
<req_content_type>1</req_content_type>
<sync_type>1</sync_type>
<req_header_templates>
<req_header_template>
<req_field_type>1</req_field_type>
<default_value>1</default_value>
<req_field_name>1</req_field_name>
</req_header_template>
</req_header_templates>
<req_url_templates>
<req_template>
<check_condition_key_fields>
<string>1</string>
</check_condition_key_fields>
<target_field_type>1</target_field_type>
<default_value>1</default_value>
<check_condition>1</check_condition>
<covert_rule_key_fields>
<string>1</string>
</covert_rule_key_fields>
<req_field_type>1</req_field_type>
<check_condition_json>1</check_condition_json>
<convert_rule_json>1</convert_rule_json>
<convert_rule>1</convert_rule>
<target_field_name>chapterOrd</target_field_name>
<rule_id>demo</rule_id>
<req_field_must>1</req_field_must>
<req_field_name>cdsv</req_field_name>
<field_id>111</field_id>
</req_template>
</req_url_templates>
</ognv_cp_interface_dto>
</ognv_cp_interface_list>
</data>
<state>200</state>
<message>ok</message>
</result>
</alibaba_shuqi_original_copyright_cpapi_getcpapilist_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|