UploadGatewayLog

更新时间:2024-09-19 09:49:07

调用UploadGatewayLog上传网关支持信息。

调用该接口时,您需要注意:

  • 仅支持网关状态为运行中(Running)、已激活(Activated)时调用此接口。

请求参数

名称

类型

是否必选

示例值

描述

名称

类型

是否必选

示例值

描述

Action String UploadGatewayLog

系统规定参数。取值:UploadGatewayLog

GatewayId String gw-0001xv7je3031yzun***

网关ID。

返回数据

名称

类型

示例值

描述

名称

类型

示例值

描述

TaskId String t-0001xv7je3580412f***

任务ID。

Message String successful

请求结果描述。

RequestId String CB300009-3850-4107-B291-59BDB4EDA183

请求ID。

Code String 200

状态码。状态码为200表示请求成功。

Success Boolean true

请求还是否成功。

示例

请求示例

http(s)://[Endpoint]/?Action=UploadGatewayLog
&GatewayId=gw-0001xv7je3031yzun***
&<公共请求参数>

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<UploadGatewayLogResponse>
    <TaskId>t-0001xv7je3580412f***</TaskId>
    <Message>successful</Message>
    <RequestId>CB300009-3850-4107-B291-59BDB4EDA183</RequestId>
    <Code>200</Code>
    <Success>true</Success>
</UploadGatewayLogResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "TaskId" : "t-0001xv7je3580412f***",
  "Message" : "successful",
  "RequestId" : "CB300009-3850-4107-B291-59BDB4EDA183",
  "Code" : "200",
  "Success" : true
}

错误码

HttpCode

错误码

错误信息

描述

HttpCode

错误码

错误信息

描述

400 EmptyGatewayId You must enter a valid ID for the gateway. 网关ID不能为空。
400 GatewayNotExist The specified gateway does not exist. You must specify a valid parameter. 网关不存在,请确认输入参数是否正确。
400 GatewayOperationNotAllowed You cannot perform the operation when the gateway is in the current state. 网关当前状态不允许执行该操作。
400 BadRequest Invalid request. You must specify valid parameters in the request.  非法请求,请检查请求参数。

访问错误中心查看更多错误码。

  • 本页导读 (1)
  • 请求参数
  • 返回数据
  • 示例
  • 错误码
AI助理

点击开启售前

在线咨询服务

你好,我是AI助理

可以解答问题、推荐解决方案等