全部产品

云市场商品查询接口

更新时间:2018-12-05 12:09:29

描述

云市场商品查询接口

用于对云市场商品的详细信息查询。

请注意示例中部分符号为全角,实际请求时应全部使用半角符号。

请求参数

参数 类型 是否必选 示例值 描述
Action String DescribeProduct

商品信息查询

Code String cmjj012245

商品对应商品码

AliUid String 1903130455330569

AliUid

QueryDraft Boolean true

()

返回参数

参数 类型 示例值 描述
Code String cmjj012245

商品对应商品码

Name String LNMP环境(Ubuntu16.04 Nginx PHP5.3)

商品名称

Type String MIRROR

商品类型 目前包括:API DINGDING DOWNLOAD MIRROR WEIKE SERVICE TOOL ROS

PicUrl String https://oss.aliyuncs.com/photogallery/photo/1930532890589852/6245/495d5f19-03e4-4c2e-9c4e-bef9ab6af1e1.png

商品图片URL

Description String
基于阿里云(Ubuntu16.04 64位)系统源码安装,安全、稳定、高效!

商品详情描述,支持HTML。

ShortDescription String 该镜像为LNMP(Ubuntu16.04 64位+Nginx+MySQL5.6+PHP5.3)

商品简介

UseCount Long 10

使用计数

Score Float 5.0

商品评分

ProductSkus

商品规格信息

  └Name String 预付费

规格名称

  └Code String cmjj012245-Package

规格码

  └ChargeType String PREPAY

付费方式: 后付费POSTPAY 预付费PREPAY

  └Constraints String {\”img_id\”:{\”img_version|img_region\”:{\”V1.7|cn-shenzhen-st3-a01\”:[\”m-wz9ho4hmos0lpxcldqoq\”]}}

规格模块约束,支持JSON格式。

  └Hidden Boolean true

隐藏

  └OrderPeriods

可订购周期

    └Name String 小时

订购周期名称

    └PeriodType String HOUR

预付费时间单位

  └Modules

规格模块信息

    └Id String 248220

模块ID

    └Name String 镜像ID

模块名称

    └Code String img_id

规格模块code

    └Properties

模块可选值

      └Name String 镜像ID

中文名称

      └Key String img_id

英文名称

      └ShowType String number

展示类型

      └DisplayUnit String

显示单位

      └PropertyValues

属性值

        └Value String m-28e213e7t

属性值

        └DisplayName String 华北 1_V1.1

展示名称

        └Type String single_string

属性值类型

        └Min String 10

最小

        └Max String 100

最大

        └Step String 10

步进

        └Remark String abc

备注

ProductExtras

商品附加信息: 产品亮点 产品截图 使用指南 售后支持范围 产品资质 产品说明 客户案例

  └Key String product_advantage

扩展项英文标识

  └Values String \”1. 基于阿里云(Ubuntu16.04 64位)系统源码安装,安全、稳定、高效!\”

扩展项数据值

  └Label String 产品亮点

扩展项中文标识

  └Order Integer 0

排序

  └Type String HTML

扩展项类型: HTML LIST JSON SLIDER LINK IMG

ShopInfo

店铺信息

  └Id Long 1597411

店铺ID

  └Name String 北京科学公司

店铺名称

  └Emails String w4645715@163.com

邮箱

  └WangWangs

旺旺

    └UserName String ABC

旺旺用户名

    └Remark String 小二

备注

  └Telephones List<String> {13866581594, 13866581522}

电话

示例

请求示例

  1. /?Action=DescribeProduct&Code=cmjj012245
  2. &AliUid=1903130455330569
  3. &QueryDraft=true
  4. &<公共请求参数>

正常返回示例

XML 格式

  1. <DescribeProductResponse>
  2. <Description><![CDATA[<p>aaa</p>]]></Description>
  3. <Type>APP</Type>
  4. <PicUrl>https://photogallery.oss.aliyuncs.com/photo/1666562244190862/17909/ce4e8f40-1d3e-465d-b884-f78a432cde81.jpg</PicUrl>
  5. <Code>cmgj027381</Code>
  6. <ProductExtras>
  7. <ProductExtra>
  8. <Values>"aaa"</Values>
  9. <Key>product_advantage</Key>
  10. <Type>HTML</Type>
  11. <Order>0</Order>
  12. <Label>产品亮点</Label>
  13. </ProductExtra>
  14. <ProductExtra>
  15. <Values>
  16. <Values>
  17. <Value>["Windows"]</Value>
  18. <Label>适用系统版本</Label>
  19. </Values>
  20. <Values>
  21. <Value>aa</Value>
  22. <Label>版本号</Label>
  23. </Values>
  24. <Values>
  25. <Value>应用软件类</Value>
  26. <Label>交付方式</Label>
  27. </Values>
  28. </Values>
  29. <Key>product_param</Key>
  30. <Type>LIST</Type>
  31. <Order>15</Order>
  32. <Label>产品参数</Label>
  33. </ProductExtra>
  34. </ProductExtras>
  35. <Name>V3【回归】服务类-按周期</Name>
  36. <ShortDescription>aaa</ShortDescription>
  37. <ShopInfo>
  38. <Telephones>
  39. <Telephone>15810167906</Telephone>
  40. </Telephones>
  41. <Name>凌鲲科技有限公司测试</Name>
  42. <Emails>xiaozhe.dxz@alibaba-inc.com</Emails>
  43. <WangWangs>
  44. <WangWang>
  45. <UserName>凌鲲</UserName>
  46. <Remark>凌鲲</Remark>
  47. </WangWang>
  48. </WangWangs>
  49. <Id>1597411</Id>
  50. </ShopInfo>
  51. <ProductSkus>
  52. <ProductSku>
  53. <ChargeType>PREPAY</ChargeType>
  54. <Name>预付费</Name>
  55. <OrderPeriods>
  56. <OrderPeriod>
  57. <Name>一年</Name>
  58. <PeriodType>YEAR</PeriodType>
  59. </OrderPeriod>
  60. </OrderPeriods>
  61. <Modules>
  62. <Module>
  63. <Name>几号数</Name>
  64. <Id>1018040000484633</Id>
  65. <Code>AC</Code>
  66. <Properties>
  67. <Property>
  68. <Name>几号数</Name>
  69. <Key>AC</Key>
  70. <DisplayUnit></DisplayUnit>
  71. <PropertyValues>
  72. <PropertyValue>
  73. <Step>1</Step>
  74. <Type>range_float</Type>
  75. <Max>999</Max>
  76. <Min>1</Min>
  77. </PropertyValue>
  78. <PropertyValue>
  79. <Step>1</Step>
  80. <Type>range_float</Type>
  81. <Max>999999999999999</Max>
  82. <Min>999</Min>
  83. </PropertyValue>
  84. </PropertyValues>
  85. <ShowType>number</ShowType>
  86. </Property>
  87. </Properties>
  88. </Module>
  89. <Module>
  90. <Name>购买个数</Name>
  91. <Id>1018040000484634</Id>
  92. <Code>order_num</Code>
  93. <Properties>
  94. <Property>
  95. <Name>购买个数</Name>
  96. <Key>order_num</Key>
  97. <DisplayUnit/>
  98. <PropertyValues>
  99. <PropertyValue>
  100. <Step>1</Step>
  101. <Type>range_float</Type>
  102. <Max>100</Max>
  103. <Min>1</Min>
  104. </PropertyValue>
  105. </PropertyValues>
  106. <ShowType>number</ShowType>
  107. </Property>
  108. </Properties>
  109. </Module>
  110. <Module>
  111. <Name>购买时长</Name>
  112. <Id>1018040000484740</Id>
  113. <Code>ord_time</Code>
  114. <Properties>
  115. <Property>
  116. <Name>购买时长</Name>
  117. <Key>ord_time</Key>
  118. <DisplayUnit/>
  119. <PropertyValues>
  120. <PropertyValue>
  121. <Value>1:Month</Value>
  122. <Type>single_string</Type>
  123. <DisplayName>1个月</DisplayName>
  124. </PropertyValue>
  125. <PropertyValue>
  126. <Value>2:Month</Value>
  127. <Type>single_string</Type>
  128. <DisplayName>2个月</DisplayName>
  129. </PropertyValue>
  130. <PropertyValue>
  131. <Value>3:Month</Value>
  132. <Type>single_string</Type>
  133. <DisplayName>3个月</DisplayName>
  134. </PropertyValue>
  135. <PropertyValue>
  136. <Value>4:Month</Value>
  137. <Type>single_string</Type>
  138. <DisplayName>4个月</DisplayName>
  139. </PropertyValue>
  140. <PropertyValue>
  141. <Value>5:Month</Value>
  142. <Type>single_string</Type>
  143. <DisplayName>5个月</DisplayName>
  144. </PropertyValue>
  145. <PropertyValue>
  146. <Value>6:Month</Value>
  147. <Type>single_string</Type>
  148. <DisplayName>6个月</DisplayName>
  149. </PropertyValue>
  150. <PropertyValue>
  151. <Value>7:Month</Value>
  152. <Type>single_string</Type>
  153. <DisplayName>7个月</DisplayName>
  154. </PropertyValue>
  155. <PropertyValue>
  156. <Value>8:Month</Value>
  157. <Type>single_string</Type>
  158. <DisplayName>8个月</DisplayName>
  159. </PropertyValue>
  160. <PropertyValue>
  161. <Value>9:Month</Value>
  162. <Type>single_string</Type>
  163. <DisplayName>9个月</DisplayName>
  164. </PropertyValue>
  165. <PropertyValue>
  166. <Value>10:Month</Value>
  167. <Type>single_string</Type>
  168. <DisplayName>10个月</DisplayName>
  169. </PropertyValue>
  170. <PropertyValue>
  171. <Value>11:Month</Value>
  172. <Type>single_string</Type>
  173. <DisplayName>11个月</DisplayName>
  174. </PropertyValue>
  175. <PropertyValue>
  176. <Value>1:Year</Value>
  177. <Type>single_string</Type>
  178. <DisplayName>1年</DisplayName>
  179. </PropertyValue>
  180. <PropertyValue>
  181. <Value>2:Year</Value>
  182. <Type>single_string</Type>
  183. <DisplayName>2年</DisplayName>
  184. </PropertyValue>
  185. <PropertyValue>
  186. <Value>3:Year</Value>
  187. <Type>single_string</Type>
  188. <DisplayName>3年</DisplayName>
  189. </PropertyValue>
  190. </PropertyValues>
  191. <ShowType>radio</ShowType>
  192. </Property>
  193. </Properties>
  194. </Module>
  195. <Module>
  196. <Name>套餐配置</Name>
  197. <Id>1018040000484632</Id>
  198. <Code>package_config</Code>
  199. <Properties>
  200. <Property>
  201. <Name>套餐配置</Name>
  202. <Key>package_config</Key>
  203. <DisplayUnit/>
  204. <PropertyValues>
  205. <PropertyValue>
  206. <Value>yuncode2138100001</Value>
  207. <Type>single_string</Type>
  208. <DisplayName>{"frontShow":true}</DisplayName>
  209. </PropertyValue>
  210. <PropertyValue>
  211. <Value>yuncode2138100002</Value>
  212. <Type>single_string</Type>
  213. <DisplayName>{"frontShow":true}</DisplayName>
  214. </PropertyValue>
  215. <PropertyValue>
  216. <Value>yuncode2138100003</Value>
  217. <Type>single_string</Type>
  218. <DisplayName>{"frontShow":true}</DisplayName>
  219. </PropertyValue>
  220. </PropertyValues>
  221. <ShowType>string</ShowType>
  222. </Property>
  223. </Properties>
  224. </Module>
  225. <Module>
  226. <Name>套餐版本</Name>
  227. <Id>1018040000484631</Id>
  228. <Code>package_version</Code>
  229. <Properties>
  230. <Property>
  231. <Name>套餐版本</Name>
  232. <Key>package_version</Key>
  233. <DisplayUnit/>
  234. <PropertyValues>
  235. <PropertyValue>
  236. <Value>yuncode2138100001</Value>
  237. <Type>single_string</Type>
  238. <DisplayName>月版</DisplayName>
  239. </PropertyValue>
  240. <PropertyValue>
  241. <Value>yuncode2138100002</Value>
  242. <Type>single_string</Type>
  243. <DisplayName>年版</DisplayName>
  244. </PropertyValue>
  245. <PropertyValue>
  246. <Value>yuncode2138100003</Value>
  247. <Type>single_string</Type>
  248. <DisplayName>年月版</DisplayName>
  249. </PropertyValue>
  250. </PropertyValues>
  251. <ShowType>radio</ShowType>
  252. </Property>
  253. </Properties>
  254. </Module>
  255. </Modules>
  256. <Constraints>{"AC":{"package_version":{"yuncode2138100003":[{"min":1,"max":999999999999999,"step":1}]}},"ord_time":{"package_version":{"yuncode2138100001":["1:Month","2:Month","3:Month","4:Month","5:Month","6:Month","7:Month","8:Month","9:Month","10:Month","11:Month"],"yuncode2138100002":["1:Year","2:Year","3:Year"],"yuncode2138100003":["1:Month","2:Month","3:Month","4:Month","5:Month","6:Month","7:Month","8:Month","9:Month","10:Month","11:Month","1:Year","2:Year","3:Year"]}}}</Constraints>
  257. <Hidden>false</Hidden>
  258. <Code>cmgj027381-prepay</Code>
  259. </ProductSku>
  260. </ProductSkus>
  261. <Score>0.0</Score>
  262. </DescribeProductResponse>

JSON 格式

  1. {
  2. "Code":"cmgj027381",
  3. "Description":"<p>aaa</p>",
  4. "Name":"V3【回归】服务类-按周期",
  5. "PicUrl":"https://photogallery.oss.aliyuncs.com/photo/1666562244190862/17909/ce4e8f40-1d3e-465d-b884-f78a432cde81.jpg",
  6. "ProductExtras":{
  7. "ProductExtra":[
  8. {
  9. "Key":"product_advantage",
  10. "Label":"产品亮点",
  11. "Order":0,
  12. "Type":"HTML",
  13. "Values":"\"aaa\""
  14. },
  15. {
  16. "Key":"product_param",
  17. "Label":"产品参数",
  18. "Order":15,
  19. "Type":"LIST",
  20. "Values":[
  21. {
  22. "Label":"适用系统版本",
  23. "Value":"[\"Windows\"]"
  24. },
  25. {
  26. "Label":"版本号",
  27. "Value":"aa"
  28. },
  29. {
  30. "Label":"交付方式",
  31. "Value":"应用软件类"
  32. }
  33. ]
  34. }
  35. ]
  36. },
  37. "ProductSkus":{
  38. "ProductSku":[{
  39. "ChargeType":"PREPAY",
  40. "Code":"cmgj027381-prepay",
  41. "Constraints":"{\"AC\":{\"package_version\":{\"yuncode2138100003\":[{\"min\":1,\"max\":999999999999999,\"step\":1}]}},\"ord_time\":{\"package_version\":{\"yuncode2138100001\":[\"1:Month\",\"2:Month\",\"3:Month\",\"4:Month\",\"5:Month\",\"6:Month\",\"7:Month\",\"8:Month\",\"9:Month\",\"10:Month\",\"11:Month\"],\"yuncode2138100002\":[\"1:Year\",\"2:Year\",\"3:Year\"],\"yuncode2138100003\":[\"1:Month\",\"2:Month\",\"3:Month\",\"4:Month\",\"5:Month\",\"6:Month\",\"7:Month\",\"8:Month\",\"9:Month\",\"10:Month\",\"11:Month\",\"1:Year\",\"2:Year\",\"3:Year\"]}}}",
  42. "Hidden":false,
  43. "Modules":{
  44. "Module":[
  45. {
  46. "Code":"AC",
  47. "Id":"1018040000484633",
  48. "Name":"几号数",
  49. "Properties":{
  50. "Property":[{
  51. "DisplayUnit":"个",
  52. "Key":"AC",
  53. "Name":"几号数",
  54. "PropertyValues":{
  55. "PropertyValue":[
  56. {
  57. "Max":"999",
  58. "Min":"1",
  59. "Step":"1",
  60. "Type":"range_float"
  61. },
  62. {
  63. "Max":"999999999999999",
  64. "Min":"999",
  65. "Step":"1",
  66. "Type":"range_float"
  67. }
  68. ]
  69. },
  70. "ShowType":"number"
  71. }]
  72. }
  73. },
  74. {
  75. "Code":"order_num",
  76. "Id":"1018040000484634",
  77. "Name":"购买个数",
  78. "Properties":{
  79. "Property":[{
  80. "DisplayUnit":"",
  81. "Key":"order_num",
  82. "Name":"购买个数",
  83. "PropertyValues":{
  84. "PropertyValue":[{
  85. "Max":"100",
  86. "Min":"1",
  87. "Step":"1",
  88. "Type":"range_float"
  89. }]
  90. },
  91. "ShowType":"number"
  92. }]
  93. }
  94. },
  95. {
  96. "Code":"ord_time",
  97. "Id":"1018040000484740",
  98. "Name":"购买时长",
  99. "Properties":{
  100. "Property":[{
  101. "DisplayUnit":"",
  102. "Key":"ord_time",
  103. "Name":"购买时长",
  104. "PropertyValues":{
  105. "PropertyValue":[
  106. {
  107. "DisplayName":"1个月",
  108. "Type":"single_string",
  109. "Value":"1:Month"
  110. },
  111. {
  112. "DisplayName":"2个月",
  113. "Type":"single_string",
  114. "Value":"2:Month"
  115. },
  116. {
  117. "DisplayName":"3个月",
  118. "Type":"single_string",
  119. "Value":"3:Month"
  120. },
  121. {
  122. "DisplayName":"4个月",
  123. "Type":"single_string",
  124. "Value":"4:Month"
  125. },
  126. {
  127. "DisplayName":"5个月",
  128. "Type":"single_string",
  129. "Value":"5:Month"
  130. },
  131. {
  132. "DisplayName":"6个月",
  133. "Type":"single_string",
  134. "Value":"6:Month"
  135. },
  136. {
  137. "DisplayName":"7个月",
  138. "Type":"single_string",
  139. "Value":"7:Month"
  140. },
  141. {
  142. "DisplayName":"8个月",
  143. "Type":"single_string",
  144. "Value":"8:Month"
  145. },
  146. {
  147. "DisplayName":"9个月",
  148. "Type":"single_string",
  149. "Value":"9:Month"
  150. },
  151. {
  152. "DisplayName":"10个月",
  153. "Type":"single_string",
  154. "Value":"10:Month"
  155. },
  156. {
  157. "DisplayName":"11个月",
  158. "Type":"single_string",
  159. "Value":"11:Month"
  160. },
  161. {
  162. "DisplayName":"1年",
  163. "Type":"single_string",
  164. "Value":"1:Year"
  165. },
  166. {
  167. "DisplayName":"2年",
  168. "Type":"single_string",
  169. "Value":"2:Year"
  170. },
  171. {
  172. "DisplayName":"3年",
  173. "Type":"single_string",
  174. "Value":"3:Year"
  175. }
  176. ]
  177. },
  178. "ShowType":"radio"
  179. }]
  180. }
  181. },
  182. {
  183. "Code":"package_config",
  184. "Id":"1018040000484632",
  185. "Name":"套餐配置",
  186. "Properties":{
  187. "Property":[{
  188. "DisplayUnit":"",
  189. "Key":"package_config",
  190. "Name":"套餐配置",
  191. "PropertyValues":{
  192. "PropertyValue":[
  193. {
  194. "DisplayName":"{\"frontShow\":true}",
  195. "Type":"single_string",
  196. "Value":"yuncode2138100001"
  197. },
  198. {
  199. "DisplayName":"{\"frontShow\":true}",
  200. "Type":"single_string",
  201. "Value":"yuncode2138100002"
  202. },
  203. {
  204. "DisplayName":"{\"frontShow\":true}",
  205. "Type":"single_string",
  206. "Value":"yuncode2138100003"
  207. }
  208. ]
  209. },
  210. "ShowType":"string"
  211. }]
  212. }
  213. },
  214. {
  215. "Code":"package_version",
  216. "Id":"1018040000484631",
  217. "Name":"套餐版本",
  218. "Properties":{
  219. "Property":[{
  220. "DisplayUnit":"",
  221. "Key":"package_version",
  222. "Name":"套餐版本",
  223. "PropertyValues":{
  224. "PropertyValue":[
  225. {
  226. "DisplayName":"月版",
  227. "Type":"single_string",
  228. "Value":"yuncode2138100001"
  229. },
  230. {
  231. "DisplayName":"年版",
  232. "Type":"single_string",
  233. "Value":"yuncode2138100002"
  234. },
  235. {
  236. "DisplayName":"年月版",
  237. "Type":"single_string",
  238. "Value":"yuncode2138100003"
  239. }
  240. ]
  241. },
  242. "ShowType":"radio"
  243. }]
  244. }
  245. }
  246. ]
  247. },
  248. "Name":"预付费",
  249. "OrderPeriods":{
  250. "OrderPeriod":[{
  251. "Name":"一年",
  252. "PeriodType":"YEAR"
  253. }]
  254. }
  255. }]
  256. },
  257. "Score":0.0,
  258. "ShopInfo":{
  259. "Emails":"xiaozhe.dxz@alibaba-inc.com",
  260. "Id":1597411,
  261. "Name":"凌鲲科技有限公司测试",
  262. "Telephones":{
  263. "Telephone":["15810167906"]
  264. },
  265. "WangWangs":{
  266. "WangWang":[{
  267. "Remark":"凌鲲",
  268. "UserName":"凌鲲"
  269. }]
  270. }
  271. },
  272. "ShortDescription":"aaa",
  273. "Type":"APP"
  274. }

异常返回示例

XML 格式

  1. <Error>
  2. <RequestId>78EBDDE8-AF8B-436C-88A2-10A458A13459</RequestId>
  3. <HostId>market.aliyuncs.com</HostId>
  4. <Code>InternalError</Code>
  5. <Message>The request processing has failed due to some unknown error.</Message>
  6. </Error>

JSON 格式

  1. {
  2. "Code":"InternalError",
  3. "HostId":"market.aliyuncs.com",
  4. "Message":"The request processing has failed due to some unknown error.",
  5. "RequestId":"A077D99E-0C4D-421E-A5D4-F533F6657817"
  6. }