向大润发提供cgf数据查询服务
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
gtin_code | String | 可选 | 6923644287627 | 条码值 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | ResultDo | demo | 返回结果 |
|
1 2 3 4 5 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); ItemBarcodeGsGetRequest req = new ItemBarcodeGsGetRequest(); req.setGtinCode( "6923644287627" ); ItemBarcodeGsGetResponse 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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | < item_barcode_gs_get_response > < result > < error_map >demo</ error_map > < module > < cgf_outer_info > < stacking_factor >1</ stacking_factor > < count_of_each_specific_products > < string >1</ string > </ count_of_each_specific_products > < gtin_of_the_contained_products > < string >06970999038114</ string > </ gtin_of_the_contained_products > < total_count_of_all_products >9</ total_count_of_all_products > < number_of_different_products >3</ number_of_different_products > < gtin >06970999038114</ gtin > < packaging_type >箱</ packaging_type > < product_packaging_level >单品</ product_packaging_level > < height >210</ height > < height_unit_of_measure >毫米</ height_unit_of_measure > < width >210</ width > < width_unit_of_measure >毫米</ width_unit_of_measure > < deep >210</ deep > < deep_unit_of_measure >毫米</ deep_unit_of_measure > < gross_weight >13574</ gross_weight > < gross_weight_unit_of_measure >克</ gross_weight_unit_of_measure > </ cgf_outer_info > < cgf_middle_info > < count_of_each_specific_products > < string >3</ string > </ count_of_each_specific_products > < gtin_of_the_contained_products > < string >demo</ string > </ gtin_of_the_contained_products > < total_count_of_all_products >9</ total_count_of_all_products > < number_of_different_products >3</ number_of_different_products > < gtin >demo</ gtin > < packaging_type >箱</ packaging_type > < product_packaging_level >中包或内包装</ product_packaging_level > < height >210</ height > < height_unit_of_measure >毫米</ height_unit_of_measure > < width >210</ width > < width_unit_of_measure >毫米</ width_unit_of_measure > < deep >210</ deep > < deep_unit_of_measure >毫米</ deep_unit_of_measure > < gross_weight >13574</ gross_weight > < gross_weight_unit_of_measure >克</ gross_weight_unit_of_measure > </ cgf_middle_info > < handling_info > < handling_instructions >有毒有害</ handling_instructions > < stacking_factor >3</ stacking_factor > </ handling_info > < cgf_tax_info > < tax_percentage >0</ tax_percentage > < tax_type_code >demo</ tax_type_code > </ cgf_tax_info > < regulatory_info > < third_party_accreditation_symbols > < third_party_accreditation_symbol > < markings_description >保健食品蓝帽子标志</ markings_description > < third_party_accreditation_symbol_on_product_package >保健食品蓝帽子标志</ third_party_accreditation_symbol_on_product_package > </ third_party_accreditation_symbol > </ third_party_accreditation_symbols > < regulation_type_code >REGULATED_BY_AGENCY</ regulation_type_code > < regulatory_permit_identification >SC10661102601128</ regulatory_permit_identification > < regulatory_act >GB/T 20977-2007</ regulatory_act > </ regulatory_info > < product_spec > < model_number >E27</ model_number > < size_dimension >容量:120升</ size_dimension > < net_content_statement >20克*10袋</ net_content_statement > </ product_spec > < product_info > < product_variant >燕麦拿铁</ product_variant > < product_variant_type_code >FLAVOUR</ product_variant_type_code > < product_range >产品系列</ product_range > < sub_brand_name >经典</ sub_brand_name > < minimum_daysof_shelf_life_from_production >90</ minimum_daysof_shelf_life_from_production > < consumer_storage_instructions >开封后冷藏,避免阳光直射</ consumer_storage_instructions > < warning_copy_description >危险</ warning_copy_description > < trade_item_feature_benefit >demo</ trade_item_feature_benefit > < consumer_usage_instructions >开袋即食</ consumer_usage_instructions > < nutriens > < nutriens > < nutrient_base_lists > < nutrient_base_list > < nutrient_values > < nutrient_value > < daily_nutrient_value_percentage >10</ daily_nutrient_value_percentage > < daily_nutrient_value_percentage_precision_code >大于或等于</ daily_nutrient_value_percentage_precision_code > < nutrient_quantity_unit >克</ nutrient_quantity_unit > < nutrient_quantity >脂肪</ nutrient_quantity > < nutrient_value_precision_code >大于或等于</ nutrient_value_precision_code > < nutrient_code >蛋白质</ nutrient_code > </ nutrient_value > </ nutrient_values > < nutritional_preparation_code >未制备的</ nutritional_preparation_code > < nutrient_basis_type_code >每100克</ nutrient_basis_type_code > < unit_of_measure >克</ unit_of_measure > < serving_size >55毫克</ serving_size > < nutrient_basis_unit >克</ nutrient_basis_unit > < nutrient_basis >每100克</ nutrient_basis > </ nutrient_base_list > </ nutrient_base_lists > < nutrient_basis_quantity_description >营养成分表</ nutrient_basis_quantity_description > </ nutriens > </ nutriens > < non_food_ingredient_statement >demo</ non_food_ingredient_statement > < ingredient_statement >demo</ ingredient_statement > < communication_channel > < contact_type_code >DSU</ contact_type_code > < contact_method_code >TELEPHONE</ contact_method_code > < contact_details >100100100</ contact_details > </ communication_channel > < provenance_statement >长白山</ provenance_statement > < ingredient_name >水,奶</ ingredient_name > < manufacturer_address > < string >xx省xx市</ string > </ manufacturer_address > < manufacturer_names > < string >xx厂</ string > </ manufacturer_names > < origin_declarations > < string >浙江省杭州市</ string > </ origin_declarations > < country_subdivisionof_origin_codes > < string >浙江省</ string > </ country_subdivisionof_origin_codes > < country_of_origins > < string >中国大陆</ string > </ country_of_origins > < brand_owner_name >demo</ brand_owner_name > </ product_info > < base_info > < product_type_description >洗衣液</ product_type_description > < update_time >demo</ update_time > < brand_owner_name >demo</ brand_owner_name > < net_content_unit_of_measure >100</ net_content_unit_of_measure > < net_content >克</ net_content > < gpc_description >demo</ gpc_description > < product_category >demo</ product_category > < country_of_sale >demo</ country_of_sale > < product_images > < product_image > < digital_asset_type_code >demo</ digital_asset_type_code > < digital_asset_file_name >demo</ digital_asset_file_name > < product_image_url >demo</ product_image_url > </ product_image > </ product_images > < product_title >demo</ product_title > < brand_name >demo</ brand_name > < effective_date_time >demo</ effective_date_time > < gtin >06970999038114</ gtin > < packaging_type >箱</ packaging_type > < product_packaging_level >外箱</ product_packaging_level > < height >210</ height > < height_unit_of_measure >毫米</ height_unit_of_measure > < width >210</ width > < width_unit_of_measure >毫米</ width_unit_of_measure > < deep_unit_of_measure >毫米</ deep_unit_of_measure > < deep >210</ deep > < gross_weight >13574</ gross_weight > < gross_weight_unit_of_measure >克</ gross_weight_unit_of_measure > </ base_info > </ module > < success >true</ success > </ result > </ item_barcode_gs_get_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 > |
错误码 | 错误描述 | 解决方案 |
---|