已经找到“” 的记录1915条
查询可用区列表

简要描述:

  • 本接口用于查询可用区列表。接口请求地址

参数:

参数名 必选 类型 说明
productId integer 品牌编号
line_no string 线路编号

输入示例

https://www.zzqidc.com/api/cloud-product/areaList?type_id=1&productId=1

返回示例

  1. {
  2. "RequestId":'423369C7-AD6F-3GT6-NMJ7-E2RG5N6HG7D3',
  3. "Code": 0,
  4. "Message" : "返回内容"
  5. "Data": {
  6. "1":{
  7. "Name": "越南一区",
  8. "Area_no": "ap-bangkok-1",
  9. "Line_no": "ap-bangkok",
  10. "Status":1,
  11. },
  12. "2":{
  13. "Super_id": "1",
  14. "Name": "越南二区",
  15. "Area_no": "ap-bangkok-2",
  16. "Status":0,
  17. }
  18.  
  19. }
  20. }

返回参数说明

参数名 类型 说明
RequestId string 请求编号
Code integer 状态码
Message string 返回内容
Name string 可用区名称
Area_no string 可用区编号
Line_no integer 线路编号
Status integer 可用区状态 1:启用 0:禁用

查询可用区关联规格信息

简要描述:

  • 本接口用于查询可用区关联规格信息。接口请求地址

注:

  • 当请求参数 line_no 和 area_no 同时存在,area_no 必须为 line_no 所属线路下的 可用区编号。

参数:

参数名 必选 类型 说明
productId integer 品牌编号
line_no string 线路编号
area_no string 可用区编号
type integer 返回值类别取值范围:1:全部;2:规格组;3:规格信息
detail integer 可用区关联规格,默认值:1取值范围:1:输出;2:不输出

输入示例

https://www.zzqidc.com/api/cloud-product/areaSpec?productId=104&type=1

返回示例
JSON格式

  1. {
  2. "RequestId":'423369C7-AD6F-3GT6-NMJ7-E2RG5N6HG7D3',
  3. "Code": 0,
  4. "Message" : "返回内容"
  5. "Data": {
  6. "group_list":{
  7. "1":{
  8. "Name": "标准型S1",
  9. "Group_id":"D1"
  10. },
  11. "2":{
  12. "Name": "标准型S2",
  13. "Group_id":"D2"
  14. }
  15. },
  16. "spec_list":{
  17. "1":{
  18. "Group_id":"S2",
  19. "Name": "标准型S2",
  20. "Spec_no": "S2.SMALL1",
  21. "Cpu":"1",
  22. "Memory":"1",
  23. "Systemdisk":"",
  24. "Datadisk":"",
  25. "Bandwidth":"",
  26. "Ip":"",
  27. "Defense":"",
  28. "Months":"",
  29. "Months_rate":"",
  30. "Buy_status":"1",
  31. "Upgrade_status":"1",
  32. },
  33. "2":{
  34. "Group_id":"S2",
  35. "Name": "标准型S2",
  36. "Spec_no": "S2.SMALL2",
  37. "Cpu":"1",
  38. "Memory":"2",
  39. "Systemdisk":"",
  40. "Datadisk":"",
  41. "Bandwidth":"",
  42. "Ip":"",
  43. "Defense":"",
  44. "Months":"",
  45. "Months_rate":"",
  46. "Buy_status":"1",
  47. "Upgrade_status":"1",
  48. }
  49. }
  50. "detail":{
  51. "1":{
  52. "Line_no":"ap-beijing",
  53. "Area_no":"ap-beijing-1",
  54. "Group_name":"标准型S1",
  55. "Group_id":"S1",
  56. "Spec_name":"标准型S1",
  57. "Spec_no":"S1.SMALL2",
  58. "Price":""
  59. "Cpu" : "1",
  60. "Memory": "2",
  61. "Trial_time":"",
  62. "Day_rate":"",
  63. "Week_rate":"",
  64. "Months":"",
  65. "Months_rate":"",
  66. "Buy_status":1,
  67. "Status":1,
  68. "Upgrade_status":"",
  69. },
  70. "2":{
  71. "Line_no":"ap-beijing",
  72. "Area_no":"ap-beijing-1",
  73. "Group_name":"标准型S1",
  74. "Group_id":"S1",
  75. "Spec_name":"标准型S1",
  76. "Spec_no":"S1.MEDIUM2",
  77. "Price":""
  78. "Cpu" : "2",
  79. "Memory": "2",
  80. "Trial_time":"",
  81. "Day_rate":"",
  82. "Week_rate":"",
  83. "Months":"",
  84. "Months_rate":"",
  85. "Buy_status":1,
  86. "Status":1,
  87. "Upgrade_status":"",
  88. }
  89. }
  90.  
  91.  
  92. }
  93. }

返回参数说明

参数名 类型 说明
RequestId string 请求编号
Code integer 状态码
Message string 返回内容
group_list array 规格组列表,详情请参考group_list数据结构说明
spec_list array 规格信息列表,详情请参考spec_list数据结构说明
detail array 可用区关联规格列表,详情请参考detail数据结构说明
  • group_list数据结构说明
参数名 类型 说明
Name string 规格组名称
Group_id string 规格组编号
  • spec_list数据结构说明
参数名 类型 说明
Group_id string 规格组编号
Name string 规格名称
Spec_no string 规格编号
Cpu integer cpu
Memory decimal 内存
Systemdisk int 系统盘
Datadisk integer 数据盘
Bandwidth integer 带宽
Ip integer ip数
Defense integer 防御值
Buy_status integer 购买状态
Upgrade_status integer 升级状态
  • detail数据结构说明
参数名 类型 说明
Line_no string 线路编号
Area_no string 可用区编号
Group_name string 规格组名称
Group_id string 规格组编号
Spec_name string 规格名称
Spec_no string 规格编号
Price string 销售价格
Cpu integer cpu
Memory decimal 内存
Trial_time string 试用时间
Day_rate string 日付费率
Week_rate string 周付费率
Months string 可选时长 例如:1,3,6,12,24,36
Months_rate string 月付费率 例如:1,3,6,12,24,36
Buy_status integer 购买状态 1:开启 0:关闭
Upgrade_status integer 升级状态 1:开启 0:关闭
Status integer 规格状态 1:开启 0:关闭

查询可用区关联操作系统信息

简要描述:

  • 本接口用于查询可用区关联操作系统信息。接口请求地址

参数:

参数名 必选 类型 说明
productId integer 品牌编号
line_no string 线路编号
area_no string 可用区编号
type integer 返回值类别取值范围:1:全部;2:系统类别;3:系统信息
detail integer 可用区关联系统,默认值:1取值范围:1:输出;2:不输出

输入示例

https://www.zzqidc.com/api/cloud-product/areaSystem?productId=value&type=1

返回示例
JSON格式

  1. {
  2. "RequestId":'423369C7-AD6F-3GT6-NMJ7-E2RG5N6HG7D3',
  3. "Code": 0,
  4. "Message" : "返回内容"
  5. "Data": {
  6. "group_list":{
  7. "1":{
  8. "Name": "windows",
  9. "Attribute": "1",
  10. "Status": "1",
  11. },
  12. "2":{
  13. "Name": "linux",
  14. "Attribute": "1",
  15. "Status": "1",
  16. }
  17. },
  18. "system_list":{
  19. "1":{
  20. "Line_no":"",
  21. "Group_name":"windows",
  22. "Name": "windows 2008",
  23. "System_no": "img-asdsaewf",
  24. "Iogin_name": "administrator",
  25. "Port": "",
  26. "Max_cpu_limit": "",
  27. "Cpu_limit": "",
  28. "Max_memory_limit": "",
  29. "Memory_limit": "",
  30. "Status":"1",
  31. "Type":"",
  32. },
  33. "2":{
  34. "Line_no":"",
  35. "Group_name":"windows",
  36. "Name": "windows 2012",
  37. "System_no": "img-sdfdfv",
  38. "Iogin_name": "administrator",
  39. "Port": "",
  40. "Max_cpu_limit": "",
  41. "Cpu_limit": "",
  42. "Max_memory_limit": "",
  43. "Memory_limit": "",
  44. "Status":"1",
  45. "Type":"create",
  46. }
  47. },
  48. "detail":{
  49. "1":{
  50. "Line_no":"ap-guangzhou",
  51. "Area_no": "ap-guangzhou-1",
  52. "Group_name": "Windows",
  53. "Name": "windows 2008",
  54. "System_no": "img-xxxx",
  55. "Max_memory_limit" : "",
  56. "Memory_limit":"",
  57. "Max_cpu_limit":"",
  58. "Cpu_limit":"",
  59. "Type":"",
  60. "Attribute":"",
  61. "Status":"1"
  62. },
  63. "2":{
  64. "Line_no":"ap-guangzhou",
  65. "Area_no": "ap-guangzhou-1",
  66. "Group_name": "Windows",
  67. "Name": "windows 2012",
  68. "System_no": "img-xxxx",
  69. "Max_memory_limit" : "",
  70. "Memory_limit":"",
  71. "Max_cpu_limit":"",
  72. "Cpu_limit":"",
  73. "Type":"",
  74. "Attribute":"",
  75. "Status":"1"
  76. },
  77. }
  78.  
  79.  
  80. }
  81. }

返回参数说明

参数名 类型 说明
RequestId string 请求编号
Code integer 状态码
Message string 返回内容
group_list array 系统分类列表,详情请参考group_list数据结构说明
system_list array 系统信息列表,详情请参考system_list数据结构说明
detail array 可用区关联系统列表,详情请参考detail数据结构说明
  • group_list数据结构说明
参数名 类型 说明
RequestId string 请求编号
Code integer 返回编号
Message string 返回内容
Name string 操作系统类别名称
Attribute integer 操作系统类型属性 1:静态 2:动态
Status integer 状态 0:禁用 1:启用
  • system_list数据结构说明
参数名 类型 说明
RequestId string 请求编号
Code integer 返回编号
Message string 返回内容
Line_no string 线路编号
Group_name string 镜像类别
Name string 操作系统名称
System_no string 操作系统编号
Login_name string 登录名
Port string 端口
Max_cpu_limit integer 最大cpu限制
Max_memory_limit integer 最大内存限制
Memory_limit integer 最小内存限制
Status integer 启用状态,0:禁用;1:启用
Type string 支持类型,create:创建;install:重装
  • detail数据结构说明
参数名 类型 说明
Line_no string 线路编号
Area_no string 可用区编号
Group_name string 镜像类别
Name string 镜像名称
System_no string 镜像编号
Max_memory_limit string 内存最大限制值
Memory_limit string 内存最小限制
Max_cpu_limit string CPU最大限制
Cpu_limit string CPU最小限制
Attribute integer 操作系统类型属性 1:静态 2:动态
Type string 操作类型类型:开通create,重装install
Status integer 启用状态,0:禁用;1:启用
查询可用区关联宿主机列表

简要描述:

  • 本接口用于获取云服务器-宿主机列表。接口请求地址

参数:

参数名 必选 类型 说明
productId integer 品牌编号
line_no varchar 线路编号
area_no varchar 可用区编号
host_id integer 宿主机ID查询单台宿主机详情 为必传参数

输入示例:

返回示例

  1. {
  2. "RequestId": "4C467B38-3910-447D-87BC-AC049166F216",
  3. "Code": 0,
  4. "Message" : "返回内容"
  5. "Data": {
  6. "1":{
  7. "Id": "1",
  8. "Line_no": "xxx",
  9. "Area_no": "xxxxx",
  10. "Name": "香港BGP2",
  11. "Remaining_num": "1000",
  12. "Ip_status":"1",
  13. "Broadband_statu":"1",
  14. "Status":"1"
  15. },
  16. "2":{
  17. "Id": "1",
  18. "Line_no": "xxx",
  19. "Area_no": "xxxxx",
  20. "Name": "香港BGP3",
  21. "Remaining_num": "1000",
  22. "Ip_status":"1",
  23. "Broadband_statu":"1",
  24. "Status":"1"
  25. }
  26.  
  27. },
  28. "totalremainnum":"2000"
  29. }

返回参数说明

参数名 类型 说明
RequestId string 请求编号
Code integer 状态码
Message string 返回内容
Id integer 宿主机id
Line_no string 线路编号
Area_no string 可用区编号
Name varchar 宿主机名称
Remaining_num integer 剩余主机数目
Ip_status string IP状态。取值范围:normal:资源充足,剩余IP大于100 [0,99]:剩余 IP具体数值
Broadband_statu string 宽带状态。取值范围:normal:资源充足,剩余宽带大于100 [0,99]:剩余宽带具体数值
Yotalremainnum integer 剩余总数
Status integer 宿主机状态:0:禁用,1:正常
获取账户余额

简要描述:

  • 本接口用于查询账户余额。接口请求地址

    输入示例

https://www.zzqidc.com/api/merchant/getBalance

返回示例
JSON格式

  1. {
  2. "result":true,
  3. "data":"1.00",
  4. "msg":null
  5. }

返回参数说明

参数名 类型 说明
result bool 请求结果
data string 账户余额
msg string 错误信息

备注

  • 此接口不需要额外的参数,公共参数请参考公共参数
密钥列表

简要描述:

  • 获取密钥信息

输入示例:

返回示例
JSON格式

  1. {
  2. "RequestId":"ASDF4ASF-ASDFASF",
  3. "Code": 200,
  4. "Data": {
  5. "1":{
  6. "Authkey": "0HFNP3TW",
  7. "Authpwd": "218DBDA51A4C",
  8. "Remark": null,
  9. "Suid_list": [
  10. {
  11. "Number": 10000,
  12. "Buy_time": "2021-03-17 09:47:34",
  13. "End_time": "2023-03-17 09:47:34",
  14. "Order_status": 1,
  15. "Type": 2,
  16. "Ip_type": 2,
  17. "Resource_available": 10000,
  18. "Resource_no": "SyqLAfghF"
  19. }
  20. ]
  21. },
  22. "2":{
  23. "Authkey": "xxxx",
  24. "Authpwd": "xxxx",
  25. "Remark": null,
  26. "Suid_list": [
  27. {
  28. "Suid": "crgrum1a",
  29. "Number": 1,
  30. "Buy_time": "2021-03-18 11:46:03",
  31. "End_time": "2021-04-18 11:46:03",
  32. "Order_status": 1,
  33. "Type": 2,
  34. "Ip_type": 2
  35. }
  36. ]
  37. }
  38. },
  39. "Message":"获取成功"
  40. }

返回参数说明

参数名 类型 说明
RequestId string 请求编号
Code integer 返回状态码
Message string 返回内容
Authkey string Authkey
Authpwd string Authpwd
Remark string 备注
Suid_list array 关联的业务列表

关联的业务列表参数说明

参数名 类型 说明
Number integer 资源包:ip数;按时:通道数
Connect integer IP类型为隧道时,连接数;IP类型为动态或静态时,连接数限制
Buy_time string 购买时间
End_time string 到期时间
Order_status string 状态 1:正常, 3:过期
Type integer 资源类型 1:独享,2:共享
Ip_type integer IP类型 1:静态,2:动态,3:隧道
Resource_available integer 按量业务余量
Resource_no string 按量业务标识
Suid string 按时业务标识
按量产品购买询价

简要描述:

  • 按量产品购买询价

输入参数:

参数名 必选 类型 说明
spec_id integer 按量产品ID
resource_number integer 购买数量

输入示例:

返回示例
JSON格式

  1. {
  2. "RequestId":"ASDF4ASF-ASDFASF",
  3. "Code": 200,
  4. "Data": {
  5. "OriginPrice"134
  6. "TotalPrice":68
  7. },
  8. "Message":"获取成功"
  9. }

返回参数说明

参数名 类型 说明
RequestId string 请求编号
Code integer 返回状态码
Message string 返回内容
OriginPrice float 原价
TotalPrice float 应付价格

按时业务购买询价

简要描述:

  • 业务购买询价

输入参数:

参数名 必选 类型 说明
spec_id integer 按时产品ID
duration string 购买时长 单位:
- s: 小时,免费试用时长 例:2s(2小时)
- d: 天 例:1d(1天)
- w: 周 例:1w(1周)
- m: 月 例:1m(1个月)
number integer 通道数,IP类型为静态或动态时必传;IP类型为隧道时不需要传
connect integer 连接数,IP类型为隧道时必传;IP类型为静态或动态时不需要传

输入示例:

返回示例
JSON格式

  1. {
  2. "RequestId":"ASDF4ASF-ASDFASF",
  3. "Code": 200,
  4. "Data": {
  5. "OriginPrice"134
  6. "TotalPrice":68
  7. },
  8. "Message":"获取成功"
  9. }

返回参数说明

参数名 类型 说明
RequestId string 请求编号
Code integer 返回状态码
Message string 返回内容
OriginPrice float 原价
TotalPrice float 应付价格

备注

  • 更多返回错误代码请看首页的错误代码描述
按时业务续费询价

简要描述:

  • 业务续费询价

输入参数:

参数名 必选 类型 说明
suid string 业务标识
duration string 续费时长 单位:
- d: 天 例:1d(1天)
- w: 周 例:1w(1周)
- m: 月 例:1m(1个月)

输入示例:

返回示例
JSON格式

  1. {
  2. "RequestId":"ASDF4ASF-ASDFASF",
  3. "Code": 0,
  4. "Data": {
  5. "TotalPrice": "1231",
  6. "OriginalPrice": "12154545",
  7. "EndTime": "2020-05-20 00:00:00",
  8. },
  9. "Message":"获取成功",
  10. }

返回参数说明

参数名 类型 说明
RequestId string 请求编号
Code integer 返回状态码
Message string 返回内容
TotalPrice float 应付价格
OriginalPrice float 原价
EndTime date 业务到期时间

备注

  • 更多返回错误代码请看首页的错误代码描述
按时业务续费

简要描述:

  • 业务续费

输入参数:

参数名 必选 类型 说明
suid string 业务标识
duration string 续费时长 单位:
- d: 天 例:1d(1天)
- w: 周 例:1w(1周)
- m: 月 例:1m(1个月)

输入示例:

返回示例
JSON格式

  1. {
  2. "RequestId":'423369C7-AD6F-3GT6-NMJ7-E2RG5N6HG7D3',
  3. "Code": 200,
  4. "Message": "订单支付成功!",
  5. "Data": {
  6. "EndTime": "2022-03-29 14:35:54"
  7. },
  8. }

返回参数说明

参数名 类型 说明
RequestId string 请求编号
Code integer 返回状态码
Message string 返回内容
EndTime date 业务到期时间

备注

  • 更多返回错误代码请看首页的错误代码描述

客户热线:037125966675