云服务器内容精选

  • 请求说明 表1 请求头参数 序号 名称 参数类型 是否必选 说明 1 X-Auth-Token string True 软件云侧用户access-token值 请求参数 序号 名称 参数类型 是否必选 说明 1 limit int True 每页查询数 小于100 2 offset int True 偏移量 从0开始 3 startDate long false 开始订购时间 时间戳 4 endDate long false 结束订购时间 时间戳
  • 消息样例 场景描述:软件云调用接口查询订购信息 URL:/rest/oma/softwareconsole/tenant/queryresource 请求头: { "X-Auth_Token":"0000000000srLl4pnoBc*************9DvgIB87KzYpxMdE9+vvzLZqYIw=" } 请求体: { "limit":"10", "offset":"0", "startDate":1679558854000, "endDate":1679558854001 } 响应头: { "connection": "keep-alive", "Content-Length": "16", "Content-Type": "application/json%3Bcharset=UTF-8" } 响应体: { "result": [{ "orderId": "251679538126441114", "opType": "newInstance", "remark": null, "skuName": "电销型座席", "modifyTime": 1679558854000, "orderAmount": "36000", "procutName": "包月", "vdnId": "131", "customerId": "20220727032236821699", "company": "ttttttttttttt", "id": "1638814724192780290", "manualStatus": "0", "cecTenantId": "202303232614", "amount": "1", "periodNumber": "2", "productId": "0GbV000000wG80TFeSlU", "autoStatus": "2", "customerName": "zhangsan", "cecExpireTime": 1684829253000, "cecTenantName": "Tenant07323220", "createSource": "GTS", "periodType": "month", "expireTime": 1684722289000, "createTime": 1679558853000, "skuCode": "d52b28fa-e0a7-a8f7-8356-0f0aea54b862" }], "count": 1, "returnCode": "0", "description": "success" }
  • 消息样例 场景描述:软件云调用接口查询订购信息 URL:/rest/oma/softwareconsole/tenant/queryresource 请求头: { "X-Auth_Token":"0000000000srLl4pnoBc*************9DvgIB87KzYpxMdE9+vvzLZqYIw="} 请求体: {"limit":"10", "offset":"0","startDate":1679558854000,"endDate":1679558854001} 响应头: { "connection": "keep-alive", "Content-Length": "16", "Content-Type": "application/json%3Bcharset=UTF-8"} 响应体: {"result": [{"orderId": "251679538126441114","opType": "newInstance","remark": null,"skuName": "电销型座席","modifyTime": 1679558854000,"orderAmount": "36000","procutName": "包月","vdnId": "131","customerId": "20220727032236821699","company": "ttttttttttttt","id": "1638814724192780290","manualStatus": "0","cecTenantId": "202303232614","amount": "1","periodNumber": "2","productId": "0GbV000000wG80TFeSlU","autoStatus": "2","customerName": "zhangsan","cecExpireTime": 1684829253000,"cecTenantName": "Tenant07323220","createSource": "GTS","periodType": "month","expireTime": 1684722289000,"createTime": 1679558853000,"skuCode": "d52b28fa-e0a7-a8f7-8356-0f0aea54b862"}],"count": 1,"returnCode": "0","description": "success"}
  • 请求说明 表1 请求头参数 序号 名称 参数类型 是否必选 说明 1 X-Auth-Token string True 软件云侧用户access-token值 请求参数 序号 名称 参数类型 是否必选 说明 1 limit int True 每页查询数 小于100 2 offset int True 偏移量 从0开始 3 startDate long false 开始订购时间 时间戳 4 endDate long false 结束订购时间 时间戳