参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
tid | int | 1(购买) | 交易id |
cpucount | int | 1,2,4,8,16 | cpu数量 |
memory | int | 1,2,4,8,12 | 内存大小(G) |
disk | int | 10-1000(每次递增单位:10G) | 数据盘大小(G) |
bandwidth | int | 0-100(每次递增单位:1M) | 网络带宽(G) |
input_name | int | 系统类型 | |
yid | int | 1,2,3,4,5,6,7,8,9,12,24,36 | 购买时长(单位:月) |
area_code | int | 4001:郑州 40015:郑州电信 40016:河南联通 | 地域 |
usetype | int | 1.usetype<0或不填:不使用快云币 2.usetype=0:先使用账户中的快云币再扣钱 3.usetype>0:用户可以指定使用多少快云币,如指定的快云币超出限额,则按usetype=0的情况处理 |
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> <info> <ywddh>业务订单号</ywddh> <ipddh>IP订单号(接口去掉,现在不返回。)</ipddh> </info> </result>
{ "code":"0" , "info": { "ywddh": 订单编号, "ipddh": IP订单号(接口去掉,现在不返回。) } }
备注:
郑州地区系统类型:
102 CentOS 6.7 64-bit
105 Debian 7.8 64-bit
107 WD 1.0 64-bit
108 Ubuntu 14.04 64-bit
126 CentOS 7.1 64-bit
128 CentOS 5.8 64-bit
157 Centos 5.11 32-bit
162 Centos 6.8 64-bit
163 Centos 6.8 32-bit
164 Ubuntu 16.04 64-bit
165 Ubuntu 16.04 32-bit
166 Ubuntu 14.04 32-bit
167 Debian 8.7 64-bit
168 Debian 8.7 32-bit
169 Debian 7.11 64-bit
184 Windows 2016 数据中心版 64位中文
187 Windows 2012 标准版 R2 64位中文
189 Windows 2003 企业版 R2 32位中文
198 CentOS 6.7 64-bit
200 CentOS 6.7 64-bit
201 Centos 7.3 64-bit
203 CentOS 7.2 64-bit
206 FreeBSD 10.3 64-bit
208 Windows 2008 数据中心版 R2 64位中文
209 Windows 2008 企业版 R2 64位中文
210 Windows 2012 数据中心版 R2 64位中文
214 Windows win7 专业版 SP1 32位中文
215 Windows 2008 数据中心版 R2 32位中文
217 Windows 2003 企业版 sp2 64位中文
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
did | int | 订单编号 | |
ipdid | int | IP订单号,(现在不传递) | |
password | string | 服务器密码 | |
tid | int | 2(开通) | 交易id |
input_name | int | 选填 | 操作系统编号不填默认购买时的系统类型 |
香港服务器:
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> </result>
新架构服务器:
<?xml version="1.0" encoding="UTF-8" ?> <result> <code>0</code> <info> <overDate>2017-05-25 22:14:46</overDate> <pwd>GaintUI0903</pwd> <remoteport>19860</remoteport> <createDate>2017-05-23 22:14:46</createDate> <user>administrator</user> <bid>9995</bid> <ip>122.114.223.157</ip> </info> </result>
香港服务器:
{ "code":"0" }
新架构服务器:
{ "code":0, "info":{"overDate":"2017-05-25 22:14:46","pwd":"GaintUI0903","remoteport":19860,"createDate":"2017-05-23 22:14:46","user":"administrator","bid":9995,"ip":"122.114.223.157"} }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
bid | int | 服务器业务编号 | |
ipdid | int | ip编号 | |
tid | int | 30(绑定ip) | 交易id |
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> </result>
{ "code":"0" }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
bid | int | 服务器业务编号 | |
ipdid | int | ip编号 | |
tid | int | 31(解除绑定ip) | 交易id |
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> </result>
{ "code":"0" }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
pname | string | cloudserver.server | 产品类型 |
bid | int | 服务器业务编号 | |
usetype | int | 默认为0,使用快云币 | 使用快云币 |
yid | int | 续费时间 | |
tid | int | 3(续费) | 交易id |
1、usetype>0 使用传入的数量,最多使用账户剩余快云币 2、usetype=0 使用账户的快云币 3、usetype<0 不使用快云币
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> <info> <overtime>到期时间</overtime> </info> </result>
{ "code":"0", "info": { "overtime": 到期时间 } }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
pname | string | cloudserver.ip | 产品类型 |
bid | int | ip编号 | |
yid | int | 续费时间 | |
tid | int | 3(续费) | 交易id |
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> <info> <overtime>到期时间</overtime> </info> </result>
{ "code":"0", "info": { "overtime": 到期时间 } }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
yid | int | 取值范围:1-9,12,24,36 | 时间;单位:月 |
tid | int | 33 | 交易id |
keytype | int | 1:购买 2:续费快云服务器 3:续费IP | 交易类型 |
cpucount | int | 1,2,4,8,16 | cpu数量 |
memory | int | 1,2,4,8,12,16,24,32,64 | 内存大小(G) |
disk | int | 10-1000(每次递增单位:10G) | 数据盘大小(G) |
ssd | int | 10-1000(每次递增单位:10G) | 数据盘大小(G) |
bandwidth | int | 0-100(每次递增单位:1M;超过50M,每次递增10M) | 网络带宽(M) |
area_code | int | 郑州:4001(默认) 香港:4002 | 地区编号 |
注意:新购时候,需要传递参数:cpucount,memory,disk,bandwidth 续费服务器,需要参数:cpucount,memory,disk 续费IP,需要传递参数:bandwidth 当前快云服务器用的都是ssd,ssd和disk仅传一个
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> <info> <price>价格</price> </info> </result>
{ "code":"0", "info": { "price": 价格 } }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
pname | string | cloudserver.server | 产品类型 |
bid | int | 服务器业务编号 | |
tid | int | 18 | 交易id |
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> <info> <createDate>创建时间</createDate> <overDate>到期时间</overDate> <username>快云服务器用户名</username> <password>快云服务器密码</password> <input_name>操作系统类型编号</input_name> <ipdz>ip地址<ipdz> <ip_ywbh>ip业务编号<ip_ywbh> <cpucount>cpu数量<cpucount> <memory>内存大小<memory> <bandwidth>网络带宽<bandwidth> <ssddisk>数据盘大小<ssddisk> <nwip>内网ip</nwip> <server_areacode>服务器地区编号</server_areacode> <ywbh>业务编号</ywbh> <payTerm>购买时长</payTerm> <pzbh>配置编号</pzbh> <sysTem>操作系统名称</sysTem> <serviceCode>服务码</serviceCode> <servicepasswd>服务密码</servicepasswd> <authentication>true(是否实名)</authentication> </info> </result>
{ "code":"0", "info": { "createDate": 创建时间, "overDate": 到期时间, "username": 快云服务器用户名, "password": 快云服务器密码, "input_name": 操作系统类型编号, "ipdz": ip地址, "ip_ywbh": ip业务编号, "cpucount": cpu数量, "memory": 内存大小, "bandwidth": 网络带宽, "ssddisk": 数据盘大小, "nwip": 内网ip, "server_areacode": 服务器地区编号, "ywbh": 业务编号, "payTerm": 购买时长, "pzbh": 配置编号, "serviceCode": 服务码, "servicepasswd": 服务密码, "sysTem" : 操作系统名称, "authentication":true } }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
pname | string | cloudserver.ip | 产品名称 |
bid | int | ip业务编号 | |
tid | int | 18 | 交易id |
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> <info> <ipywbh>ip业务编号</ipywbh> <ipdz>IP地址</ipdz> <wldk>网络带宽</wldk> <residue>业务剩余期限</residue> <gmsj>购买时间</gmsj> <dqsj>到期时间</dqsj> <gmqx>购买期限</gmqx> <ip_areacode>ip地区编号</ip_areacode> </info> </result>
{ "code":"0", "info": { "ipywbh":IP业务编号, "ipdz":IP地址, "wldk":网络带宽, "residue":业务剩余期限, "gmsj":购买时间, "dqsj":到期时间, "gmqx":购买期限, "ip_areacode":ip地区编号 } }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
pname | string | cloudserver.server | 产品类型 |
tid | int | 4 | 交易id |
bid | int | 业务编号 | |
cpucount | int | 1,2,4,8,16 | cpu数量 |
memory | int | 1,2,4,8,12 | 内存大小(G) |
disk | int | 10-2000(每次递增10G) | 数据盘大小(G) |
usetype | int | 默认为-1不使用 | 使用快云币 |
1、usetype>0 使用传入的数量,最多使用账户剩余快云币 2、usetype=0 使用账户的快云币 3、usetype<0 不使用快云币
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> </result>
{ "code":"0", }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
pname | string | cloudserver.ip | 产品类型 |
tid | int | 4 | 交易id |
bid | int | 业务编号 | |
bandwidth | int | 0-100(每次递增单位:1M;超过50M,每次递增10M,香港不能超过50M,不能小于当前带宽) | 网络带宽(M) |
usetype | int | 默认为-1不使用 | 使用快云币 |
1、usetype>0 使用传入的数量,最多使用账户剩余快云币 2、usetype=0 使用账户的快云币 3、usetype<0 不使用快云币
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> </result>
{ "code":"0", }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
pname | string | cloudserver.ip | 产品类型 |
tid | int | 53 | 交易id |
bid | int | IP编号 | |
yid | int | (不能超过IP到期时间) | 购买时长(天) |
bandwidth | int | 0-100(每次递增单位:1M;总带宽不能超过100M) | 网络带宽(M) |
usetype | int | 默认为-1不使用 | 使用快云币 |
1、usetype>0 使用传入的数量,最多使用账户剩余快云币 2、usetype=0 使用账户的快云币 3、usetype<0 不使用快云币
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> </result>
{ "code":"0", }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
pname | string | cloudserver.ip | 产品类型 |
tid | int | 20 | 交易id |
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> <ipbh>ip编号</ipbh> </result>
{ "code":"0", "ipbh":ip编号 }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
pname | string | cloudserver.ip | 产品类型 |
tid | int | 8 | 交易id |
bandwidth | int | 0-100(每次递增单位:1M;总带宽不能超过100M) | 网络带宽(M) |
yid | int | 1-36(月) | 购买时长 |
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> <info>"Ip正在申请中,稍后请查看IP列表"</info> </result>
{ "code":"0", "info": { "Ip正在申请中,稍后请查看IP列表" } }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
pname | string | cloudserver.getKVMsystem | 产品类型 |
tid | int | 56(返回系统类型具体版本) | 交易id |
area_code | int | 4001:郑州 | 地区编号 |
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> <info> <Windows><bh>系统编号</bh><description>系统具体版本</description></Windows> <CentOS><bh>系统编号</bh><description>系统具体版本</description></CentOS> <Debian><bh>系统编号</bh><description>系统具体版本</description></Debian> <Ubuntu><bh>系统编号</bh><description>系统具体版本</description></Ubuntu> </info> </result>
{ "code":"0", "info": { "Windows":[{"bh":系统编号,"description":系统具体版本}], "CentOS":[{"bh":系统编号,"description":系统具体版本}], "Debian":[{"bh":系统编号,"description":系统具体版本}], "Ubuntu":[{"bh":系统编号,"description":系统具体版本}] } }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
bid | int | 业务编号 | |
pname | string | cloudserver.server或cloudserver.ip | 产品类型 |
yid | int | 期限 | |
tid | int | 44 | 交易id |
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> <info> <price>价格</price> </info> </result>
{ "code":"0", "info": { "price": 价格 } }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
tid | int | 10(试用) | 交易id |
cpucount | int | 1,2,4,8,16 | cpu数量 |
memory | int | 1,2,4,8,12 | 内存大小(G) |
disk | int | 10-1000(每次递增单位:10G) | 数据盘大小(G) |
bandwidth | int | 1-100(每次递增单位:1M) | 网络带宽(G) |
input_name | int | 系统类型 | |
area_code | int | 4001:郑州 40015:郑州电信 40016:河南联通 | 地域 |
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> <info> <ywddh>业务订单号</ywddh> </info> </result>
{ "code":"0" , "info": { "ywddh": 订单编号, } }
备注:
备注:
郑州地区系统类型:
102 CentOS 6.7 64-bit
105 Debian 7.8 64-bit
107 WD 1.0 64-bit
108 Ubuntu 14.04 64-bit
126 CentOS 7.1 64-bit
128 CentOS 5.8 64-bit
157 Centos 5.11 32-bit
162 Centos 6.8 64-bit
163 Centos 6.8 32-bit
164 Ubuntu 16.04 64-bit
165 Ubuntu 16.04 32-bit
166 Ubuntu 14.04 32-bit
167 Debian 8.7 64-bit
168 Debian 8.7 32-bit
169 Debian 7.11 64-bit
184 Windows 2016 数据中心版 64位中文
187 Windows 2012 标准版 R2 64位中文
189 Windows 2003 企业版 R2 32位中文
198 CentOS 6.7 64-bit
200 CentOS 6.7 64-bit
201 Centos 7.3 64-bit
203 CentOS 7.2 64-bit
206 FreeBSD 10.3 64-bit
208 Windows 2008 数据中心版 R2 64位中文
209 Windows 2008 企业版 R2 64位中文
210 Windows 2012 数据中心版 R2 64位中文
214 Windows win7 专业版 SP1 32位中文
215 Windows 2008 数据中心版 R2 32位中文
217 Windows 2003 企业版 sp2 64位中文
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
did | int | 订单编号 | |
password | string | 服务器密码 | |
testCode | string | 测试码 | |
tid | int | 50(开通) | 交易id |
<?xml version="1.0" encoding="UTF-8" ?> <result> <code>0</code> <info> <overDate>2017-05-25 22:14:46</overDate> <pwd>GaintUI0903</pwd> <remoteport>19860</remoteport> <createDate>2017-05-23 22:14:46</createDate> <user>administrator</user> <bid>9995</bid> <ip>122.114.223.157</ip> </info> </result>
{ "code":0, "info":{"overDate":"2017-05-25 22:14:46","pwd":"GaintUI0903","remoteport":19860,"createDate":"2017-05-23 22:14:46","user":"administrator","bid":9995,"ip":"122.114.223.157"} }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
tid | int | 7 | 交易id |
did | int | 订单编号 | 订单编号 |
<?xml version="1.0" encoding="UTF-8" ?> <code>0</code> <info>13520</info>
{"code":0,"info":13520}
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
tid | int | 69 | 交易id |
bid | int | 老业务业务编号 |
<?xml version="1.0" encoding="UTF-8" ?> <code>0</code> <info> <retmsg> <ywbh></ywbh> <ywip></ywip> </retmsg> </info>
{"code":0, "info": "retmsg": "ywbh":ywbh, "ywip":ywip }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
tid | int | 11 | 交易id |
bid | int | 业务编号 | |
yid | int | 转正期限 |
<?xml version="1.0" encoding="UTF-8" ?> <code>0</code> <info> <dqsj> 2018-11-12 9:09:00 </dqsj> </info>
{"code":0, "info": { "dqsj":"2018-11-12 9:09:00" }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
pname | string | cloudserver.server | 产品类型 |
tid | int | 20 | 交易id |
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> <info>业务编号</info> </result>
{ "code":"0", "info":业务编号 }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
tid | int | 79 | 交易id |
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> <info> <node> <hybh>159772</hybh> <ssddisk>4360</ssddisk> <gmqx>1</gmqx> <cpu>992</cpu> <mem>1015808</mem> <bh>1</bh> <bandwidth>864</bandwidth> </node> <node> <hybh>159772</hybh> <ssddisk>500</ssddisk> <gmqx>2</gmqx> <cpu>100</cpu> <mem>102400</mem> <bh>3</bh> <bandwidth>100</bandwidth> </node> </info> </result>
{ "code":"0", "info":[{"hybh":"123","ssddisk":"20","gmqx":"1","cpu":"1000","mem":"1000","bh":"1","bandwidth":"1000"}] }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
tid | int | 80 | 交易id |
input_name | int | 正整数 | 23接口中返回的bh |
bid | int | 正整数 | 要分割的订单总数 |
cpucount | int | 正整数 | cpu |
memory | int | 正整数 | 内存(G) |
disk | int | 正整数 | 硬盘(G) |
bandwidth | int | 正整数 | 带宽(Mbps) |
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> <info> 分解成功 </info> </result>
{ "code":"0", "info":"分解成功" }
参数 | 参数类型 | 参数值 | 参数描述 |
---|---|---|---|
ptype | string | cloudserver | 产品类型 |
tid | int | 81 | 交易id |
yid | int | 可不填 | 购买期限(月) |
input_name | int | 可不填 | 订单状态(1:成功 6:已付款未开通) |
<? XML version="1.0" encoding="UTF-8" ?> <result> <code>0</code> <info> <node> <ssddisk>10</ssddisk> <zt>6</zt> <ddh>1544686</ddh> <cjsj>2018-12-11 14:39:05.0</cjsj> <cpu>1</cpu><mem>1024</mem> <bandwidth>10</bandwidth> <dgsj>1</dgsj> </node> <node> <ssddisk>10</ssddisk> <zt>6</zt> <ddh>1544687</ddh> <cjsj>2018-12-11 14:39:05.0</cjsj> <cpu>1</cpu> <mem>1024</mem> <bandwidth>10</bandwidth> <dgsj>1</dgsj> </node> </info> </result>
{ "code":"0", "info":[{"ssddisk":"10","zt":"6","ddh":"123456","cjsj":"2018-12-11 14:39:05.0","cpu":"1","mem":"1024","bandwidth":"1","dgsj":"1"}] }
景安网络经营性备案号:豫B2-20070022