小程序端-查询协议 1、id 和 type 都为空,查询【1,2,3】类型的协议 2、否则 根据 id or type 查询
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param_list_agreements4_chat_req | ListAgreements4ChatReq | 可选 | 小程序端查询协议入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | QueryAgreementDomainRsList | 小程序端查询协议出参 | |
|
1 2 3 4 5 6 7 8 9 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripFuturehotelContentAgreementListRequest req = new AlitripFuturehotelContentAgreementListRequest(); AlitripFuturehotelContentAgreementListRequest.ListAgreements4ChatReq obj1 = new AlitripFuturehotelContentAgreementListRequest.ListAgreements4ChatReq(); obj1.setId(1L); obj1.setLoginUserId( "1" ); obj1.setType( "1" ); req.setParamListAgreements4ChatReq(obj1); AlitripFuturehotelContentAgreementListResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | < alitrip_futurehotel_content_agreement_list_response > < result > < fh_code ></ fh_code > < fh_msg ></ fh_msg > < fh_success >true</ fh_success > < query_agreement_domain_r_s_list > < query_agreement_domain_rs > < content >《巴拉巴拉小魔仙》</ content > < contents > < agreement_api_content_rs > < content ></ content > < type ></ type > </ agreement_api_content_rs > </ contents > < fh_code ></ fh_code > < fh_msg ></ fh_msg > < fh_success ></ fh_success > < id >116</ id > < id_string >5913962129100786</ id_string > < title >会员卡续费协议</ title > < type >6</ type > < version >20210305115227</ version > </ query_agreement_domain_rs > </ query_agreement_domain_r_s_list > </ result > </ alitrip_futurehotel_content_agreement_list_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 > |
错误码 | 错误描述 | 解决方案 |
---|