已经找到“” 的记录69条
业务升级询价

简要描述:

  • 本接口用于业务升级询价。接口请求地址

注:

  • 当品牌类别为固定云、拨号VPS时,spec_no 为必传参数。其余升级参数不传

参数:

参数名 必选 类型 说明
suid string 业务标识
bandwidth integer 带宽,单位:M。 升级带宽 为必传参数
ip_nums integer IP数量,单位:个。 升级IP 为必传参数
spec_no string 规格编号。 升级主机规格 为必传参数
package_no string 套餐编号。升级套餐为必传参数。注:除suid外,其余参数不传
harddisks integer 数据盘容量,单位: G 扩容数据盘 为必传参数
defense integer 防御值,单位: G 升级防御值 为必传参数

输入示例

https://www.zzqidc.com/api/cloud-business/upgradePrice?suid=1&bandwidth=2&spec_no=s1

返回示例
JSON格式

  1. {
  2. "RequestId":'423369C7-AD6F-3GT6-NMJ7-E2RG5N6HG7D3',
  3. "Code": 0,
  4. "Message" : "返回内容"
  5. "Data": {
  6. "OriginalPrice": "80",
  7. "TotalPrice": "60"
  8. }
  9. }

返回参数说明

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

业务升级

简要描述:

  • 本接口用于业务升级。接口请求地址

注:

  • 当品牌类别为固定云、拨号VPS时,spec_no 为必传参数。其余升级参数不传
  • 升级规格,必须是已关机状态

参数:

参数名 必选 类型 说明
suid string 业务标识
bandwidth integer 带宽,单位:M。 升级带宽 为必传参数
ip_nums integer IP数量,单位:个。 升级IP 为必传参数
spec_no string 规格编号。 升级主机规格 为必传参数
package_no string 套餐编号。 升级套餐为必传参数。注:除suid外,其余参数不传
harddisks integer 数据盘容量,单位: G 扩容数据盘 为必传参数
defense integer 防御值,单位: G 升级防御值 为必传参数

输入示例

https://www.zzqidc.com/api/cloud-business/upgrade?suid=1&bandwidth=2&spec_no=s1

返回示例
JSON格式

  1. {
  2. "RequestId":'423369C7-AD6F-3GT6-NMJ7-E2RG5N6HG7D3',
  3. "Code": 0,
  4. "Message" : "返回内容",
  5. "Data" : "成功"
  6. }

返回参数说明

参数名 类型 说明
RequestId string 请求编号
Code integer 状态码
Message string 返回内容

查询业务详情

简要描述:

  • 本接口用于查询业务详情。接口请求地址

参数:

参数名 必选 类型 说明
suid string 业务标识

输入示例

https://www.zzqidc.com/api/cloud-business/getDetail?suid=1

返回示例
JSON格式

  1. {
  2. "RequestId":'423369C7-AD6F-3GT6-NMJ7-E2RG5N6HG7D3',
  3. "Code": 0,
  4. "Message" : "返回内容"
  5. "Data": {
  6. "1":{
  7. "Suid": "12154545",
  8. "line_no":"ap-shanghai",
  9. "area_no":"ap-shanghai-1",
  10. "spec_no":"s1.samll",
  11. "spec_name":"标准型",
  12. "Host_id": "1",
  13. "Host_name":"泉州电信1",
  14. "Ip": "192.168.1.1",
  15. "Local_ip": "192.168.1.1",
  16. "Run_status": "1",
  17. "Order_status": "1",
  18. "System_type":"",
  19. "Systemdisks": "40",
  20. "Harddisks_type":""
  21. "Harddiks": "20",
  22. "Bandwidth": "1",
  23. "Defense": "",
  24. "System_no": "sdffsdret",
  25. "System_name": "windows 2012",
  26. "Buy_time": "2020-03-05 16:00:00",
  27. "End_time": "2020-04-05 16:00:00",
  28. "Business_password": "sdsadsa"
  29. }
  30. }
  31. }

返回参数说明

参数名 类型 说明
RequestId string 请求编号
Code integer 状态码
Message string 返回内容
Suid string 业务标识
Line_no string 线路编号
Area_no string 可用区编号
Spec_no string 规格编号
Spec_name string 规格名称
Host_id integer 宿主机ID,没有值 返回空
Host_name string 宿主机名称,没有值 返回空
Ip string 外网ip
Local_ip string 内网ip,没有值 返回空
Run_status integer 运行状态 。 取值范围: -4:已停止 -1:已关机 0:开通中 1:运行中 2:开机中3:关机中 4:重启中 5:重装中 6:重置密码中
Order_status integer 业务状态。 取值范围: -4:已锁定 -3:失败 0:开通中 1:正常 2:过户中3:已过期
System_type string 系统盘类型, 没有值 返回空
Systemdisks string 系统盘
Harddisks_type string 数据盘类型, 没有值 返回空
Harddiks integer 数据盘
Bandwidth integer 带宽
Defense integer 防御值, 没有值 返回空
System_no string 镜像编号
System_name string 镜像名称
Adsl_name string 宽带账号, 没有值 返回空
Adsl_password string 宽带密码, 没有值 返回空
Buy_time date 购买时间
End_time date 过期时间
Business_password string 面板密码
重新开通

简要描述:

  • 本接口用于操作重新开通。接口请求地址

参数:

参数名 必选 类型 说明
suid string 业务标识

输入示例

https://www.zzqidc.com/api/cloud-business/reopen?suid=value

返回示例
JSON格式

  1. {
  2. "RequestId":'423369C7-AD6F-3GT6-NMJ7-E2RG5N6HG7D3',
  3. "Code": 0,
  4. "Message" : "返回内容"
  5. "Data": {
  6. {
  7. "Suid" : "xxxxxx"
  8. }
  9. }
  10. }

返回参数说明

参数名 类型 说明
RequestId string 请求编号
Code integer 状态码
Message string 返回内容
Suid string 业务标识

查询套餐列表

简要描述:

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

注:

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

参数:

参数名 必选 类型 说明
productId integer 品牌编号
line_no string 线路编号
area_no string 可用区编号
load_rate integer 是否加载费率(星外格式)
1:是;0:否,默认值:0

输入示例

https://zzqidc.com/api/cloud-product/packageList?productId=104

返回示例
JSON格式

  1. {
  2. "RequestId":'423369C7-AD6F-3GT6-NMJ7-E2RG5N6HG7D3',
  3. "Code": 0,
  4. "Message" : "返回内容"
  5. "Data": {
  6. "1":{
  7. "Line_no":"ap-beijing",
  8. "Area_id": 342,
  9. "Area_no":"ap-beijing-1",
  10. "Group_name":"标准型S1",
  11. "Group_id":"S1",
  12. "Area_name":"xxx",
  13. "Line_name":"xxx",
  14. "Spec_name":"标准型S1",
  15. "Spec_no":"S1.SMALL2",
  16. "Cpu" : "1",
  17. "Memory": "2",
  18. "Systemdisk":"40",
  19. "Datadisk":"20",
  20. "Bandwidth":"1",
  21. "Ip":"1",
  22. "Defense":"0",
  23. "Trial_time":"",
  24. "Buy_status":1,
  25. "Status":1,
  26. "Upgrade_status":"",
  27. "Package_no": "1111",
  28. "Basic_price": "2079.65",
  29. "User_price": "2079.65",
  30. "Day_rate": "0.01",
  31. "Week_rate": "0.02",
  32. "Month_rate": "0.1",
  33. "Quarter_rate": "0.301",
  34. "Halfyear_rate": "0.53",
  35. "Year_rate": "1"
  36. },
  37. "2":{
  38. "Line_no":"ap-beijing",
  39. "Area_id": 343,
  40. "Area_no":"ap-beijing-1",
  41. "Group_name":"标准型S1",
  42. "Group_id":"S1",
  43. "Area_name":"xxx",
  44. "Line_name":"xxx",
  45. "Spec_name":"标准型S1",
  46. "Spec_no":"S1.MEDIUM2",
  47. "Cpu" : "2",
  48. "Memory": "2",
  49. "Systemdisk":"40",
  50. "Datadisk":"20",
  51. "Bandwidth":"1",
  52. "Ip":"1",
  53. "Defense":"0",
  54. "Trial_time":"",
  55. "Buy_status":1,
  56. "Status":1,
  57. "Upgrade_status":"",
  58. "Package_no": "2222",
  59. "Basic_price": "2079.65",
  60. "User_price": "2079.65",
  61. "Day_rate": "0.01",
  62. "Week_rate": "0.02",
  63. "Month_rate": "0.1",
  64. "Quarter_rate": "0.301",
  65. "Halfyear_rate": "0.53",
  66. "Year_rate": "1"
  67. }
  68. }
  69. }

返回参数说明

参数名 类型 说明
RequestId string 请求编号
Code integer 状态码
Message string 返回内容
Line_no string 线路编号
Area_id string 可用区ID
Area_no string 可用区编号
Group_name string 规格组名称
Group_id string 规格组编号
Spec_name string 规格名称
Area_name string 可用区名称
Line_name string 线路名称
Spec_no string 规格编号
Cpu integer cpu
Memory decimal 内存
Systemdisk integer 系统盘,单位:G
Datadisk integer 数据盘,单位:G
Bandwidth integer 带宽,单位:M
Ip integer ip数,单位:个
Defense integer 防御值,单位:G
Trial_time string 试用时间
Buy_status integer 购买状态 1:开启 0:关闭
Upgrade_status integer 升级状态 1:开启 0:关闭
Status integer 规格状态 1:开启 0:关闭
package_no string 套餐编号
Basic_price string 基础价格
User_price string 会员价格
Day_rate string 日费率
Week_rate string 周费率
Month_rate string 月费率
Quarter_rate string 季度费率
Halfyear_rate string 半年费率
查询线路列表

简要描述:

  • 本接口用于查询线路列表。接口请求地址

参数:

参数名 必选 类型 说明
productId integer 品牌编号

输入示例

https://www.zzqidc.com/api/cloud-product/lineList?productId=104

返回示例
JSON格式

  1. {
  2. "RequestId":'423369C7-AD6F-3GT6-NMJ7-E2RG5N6HG7D3',
  3. "Code": 0,
  4. "Message" : "返回内容"
  5. "Data": {
  6. "1":{
  7. "Name": "'亚太地区(曼谷)",
  8. "Line_no": "ap-bangkok",
  9. "Line_status":1,
  10. "Buy_status":1,
  11. "Grade_status":1,
  12. "Renew_status":1,
  13. "Defense_status":1,
  14. "Install_status":1,
  15. "Ip_type":"",
  16. "Vpc_type":""
  17. },
  18. "2":{
  19. "Name": "华北地区(北京)",
  20. "Line_no": "ap-beijing",
  21. "Line_status":1,
  22. "Buy_status":1,
  23. "Grade_status":1,
  24. "Renew_status":1,
  25. "Defense_status":1,
  26. "Install_status":1,
  27. "Ip_type":"",
  28. "Vpc_type":""
  29. }
  30. }
  31. }

返回参数说明

参数名 类型 说明
RequestId string 请求编号
Code integer 状态码
Message string 返回内容
Line_no string 线路编号
Name string 线路名称
Line_status integer 线路状态 1:启用 0:禁用
Buy_status integer 购买状态 1:启用 0:禁用
Grade_status integer 升级状态 1:启用 0:禁用
Renew_status integer 续费状态 1:启用 0:禁用
Defense_status integer 防御状态 1:启用 0:禁用
Install_status integer 重装状态 1:liunx与windows允许互装 2:禁止互装
Ip_type string 弹性公网IP的类型 5_bgp:全动态BGP 5_sbgp:静态BGP
Vpc_type string vpc类型 19_bgp:全动态BGP 19_sbgp:静态BGP
查询可用区列表

简要描述:

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

参数:

参数名 必选 类型 说明
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:正常

客户热线:037125966675