SyslogService
更新时间: 2026/07/01
在Gitcode上查看源码

ResourceDefinition

uris

  • /redfish/v1/Managers/manager_id/SyslogService

properties

名称类型是否只读取值范围/枚举值说明
@odata.contextstringtruesyslog资源模型的OData描述信息
@odata.idstringtruesyslog资源的访问路径
@odata.typestringtruesyslog资源的类型
Namestringtruesyslog资源的名称
Idstringtruesyslog资源的ID
ServiceEnabledbooleanfalsesyslog服务使能
MessageFormatstringfalse消息格式
● Custom
● RFC3164
ServerIdentitySourcestringfalse主机标识
● BoardSN
● ProductAssetTag
● HostName
AlarmSeveritynull或字符串false告警级别
● Critical (紧急)
● Major (严重及以上)
● Minor (轻微及以上)
● Normal (正常及以上)
● null (不发送告警)
TransmissionProtocolstringfalse传输协议
● UDP
● TCP
● TLS
AuthenticateModestringfalse认证模式
● OneWay
● TwoWay
CrlValidFromstringtrue证书吊销列表有效期起始日期
CrlValidTostringtrue证书吊销列表有效期截止日期
CrlVerificationEnabledbooleantrue证书吊销检查使能
ReportType枚举false上报事件类型:
● OemEvent:自定义事件
● SEL:传感器事件
RootCertificate.Subjectstringtrue证书使用者
RootCertificate.Issuerstringtrue证书签发者
RootCertificate.ValidNotBeforestringtrue生效起始日期
RootCertificate.ValidNotAfterstringtrue生效结束日期
RootCertificate.SerialNumberstringtrue证书序列号
RootCertificate.SignatureAlgorithmstringtrue签名算法
RootCertificate.KeyUsagestringtrue密钥用法
RootCertificate.PublicKeyLengthBitsnumbertrue公钥长度
ClientCertificate.Subjectstringtrue证书使用者
ClientCertificate.Issuerstringtrue证书签发者
ClientCertificate.ValidNotBeforestringtrue生效起始日期
ClientCertificate.ValidNotAfterstringtrue生效结束日期
ClientCertificate.SerialNumberstringtrue证书序列号
ClientCertificate.SignatureAlgorithmstringtrue签名算法
ClientCertificate.KeyUsagestringtrue密钥用法
ClientCertificate.PublicKeyLengthBitsnumbertrue公钥长度
MemberIdstringfalse数组序号
Enabledbooleanfalse通道使能
Addressstringfalse服务器地址
Portnumberfalse服务器端口号
LogTypearrayfalse日志类型
● OperationLog
● SecurityLog
● EventLog
● IntrusionDetectionLog
● SysComLog
● BmcComLog
● DiagnosticLog
● ChipLog
SyslogService.ImportRootCertificateobjecttrue导入syslog根证书
targetstringtrue操作路径
Redfish.ActionInfostringtrue操作信息查询路径
SyslogService.ImportClientCertificateobjecttrue导入syslog本地证书
SyslogService.SubmitTestEventobjecttrue发送测试事件
SyslogService.ImportCrlobjecttrue导入syslog服务器证书吊销列表
SyslogService.DeleteCrlobjecttrue删除syslog服务器证书吊销列表
codestringtrue指示消息注册表中特定消息ID的字符串
messagestringtrue与消息注册表中的消息对应的易读的错误消息
MessageIdstringtrue消息ID
RelatedPropertiesarraytrue消息相关属性
Messagestringtrue详细信息
MessageArgsarraytrue信息参数
Severitystringtrue严重性Redfish支持的严重级别包括:OK、Warning、Critical。
Resolutionstringtrue解决建议
@Message.ExtendedInfostringtrue错误消息扩展信息

supported_methods

  • GET
  • PATCH
  • POST

HTTP methods

GET

命令功能

查询 Syslog 资源信息

命令格式

URL: https://device_ip/redfish/v1/Managers/manager_id/SyslogService

请求头:

X-Auth-Token: auth_value

请求消息体: 无

参数说明

参数参数说明取值
device_ip登录设备的IP地址IPv4或IPv6地址
auth_value请求消息的鉴权参数可通过/redfish/v1/SessionService/Sessions创建会话时获得

使用指南

使用实例

请求样例: GET https://device_ip/redfish/v1/Managers/manager_id/SyslogService

X-Auth-Token: auth_value 请求消息体:无

响应样例:

json
{
  "@odata.context": "/redfish/v1/$metadata#HwSyslogService.HwSyslogService",
  "@odata.id": "/redfish/v1/Managers/1/SyslogService",
  "@odata.type": "#HwSyslogService.v1_0_0.HwSyslogService",
  "Id": "SyslogService",
  "Name": "Syslog Service",
  "ServiceEnabled": false,
  "MessageFormat": "Custom",
  "ServerIdentitySource": "BoardSN",
  "AlarmSeverity": "Normal",
  "TransmissionProtocol": "TLS",
  "AuthenticateMode": "TwoWay",
  "CrlValidFrom": null,
  "CrlValidTo": null,
  "CrlVerificationEnabled": false,
  "RootCertificate": {
    "Issuer": "CN=xxx, OU=IT, O=xxx, L=, S=GuangDong, C=CN",
    "Subject": "CN=xxx, OU=IT, O=xxx, L=, S=GuangDong, C=CN",
    "ValidNotBefore": "Jan 28 2016 GMT",
    "ValidNotAfter": "Jan 27 2019 GMT",
    "SerialNumber": "d5 39 e6 3a 2d 53 de 90",
    "SignatureAlgorithm": "sha256WithRSAEncryption",
    "KeyUsage": "Certificate Signing, CRL Sign",
    "PublicKeyLengthBits": 2048
  },
  "ReportType": "SEL",
  "ClientCertificate": {
    "Issuer": "CN=Server, OU=IT, O=xxx, L=, S=GuangDong, C=CN",
    "Subject": "CN=Server, OU=, O=, L=, S=, C=LG",
    "ValidNotBefore": "Aug 10 2016 GMT",
    "ValidNotAfter": "Aug 08 2026 GMT",
    "SerialNumber": "ad f2 f4 57 42 02 7a 7e",
    "SignatureAlgorithm": "sha256WithRSAEncryption",
    "KeyUsage": "Certificate Signing, CRL Sign",
    "PublicKeyLengthBits": 2048
  },
  "SyslogServers": [
    {
      "MemberId": "0",
      "Enabled": false,
      "Address": "",
      "Port": 0,
      "LogType": [
        "OperationLog",
        "SecurityLog",
        "EventLog",
        "IntrusionDetectionLog",
        "SysComLog",
        "BmcComLog",
        "DiagnosticLog",
        "ChipLog"
      ]
    },
    {
      "MemberId": "1",
      "Enabled": false,
      "Address": "",
      "Port": 0,
      "LogType": [
        "OperationLog",
        "SecurityLog",
        "EventLog",
        "IntrusionDetectionLog",
        "SysComLog",
        "BmcComLog",
        "DiagnosticLog",
        "ChipLog"
      ]
    },
    {
      "MemberId": "2",
      "Enabled": false,
      "Address": "",
      "Port": 0,
      "LogType": [
        "OperationLog",
        "SecurityLog",
        "EventLog",
        "IntrusionDetectionLog",
        "SysComLog",
        "BmcComLog",
        "DiagnosticLog",
        "ChipLog"
      ]
    },
    {
      "MemberId": "3",
      "Enabled": false,
      "Address": "",
      "Port": 0,
      "LogType": [
        "OperationLog",
        "SecurityLog",
        "EventLog",
        "IntrusionDetectionLog",
        "SysComLog",
        "BmcComLog",
        "DiagnosticLog",
        "ChipLog"
      ]
    }
  ],
  "Actions": {
    "#SyslogService.ImportRootCertificate": {
      "target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.ImportRootCertificate",
      "@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/ImportRootCertificateActionInfo"
    },
    "#SyslogService.ImportClientCertificate": {
      "target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.ImportClientCertificate",
      "@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/ImportClientCertificateActionInfo"
    },
    "#SyslogService.SubmitTestEvent": {
      "target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.SubmitTestEvent",
      "@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/SubmitTestEventActionInfo"
    },
    "#SyslogService.ImportCrl": {
      "target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.ImportCrl",
      "@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/ImportCrlActionInfo"
    },
    "#SyslogService.DeleteCrl": {
      "target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.DeleteCrl",
      "@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/DeleteCrlActionInfo"
    }
  }
}

响应码:200

PATCH

命令功能

修改指定 Syslog 资源信息

命令格式

URL: https://device_ip/redfish/v1/Managers/manager_id/SyslogService

请求头:

X-Auth-Token: auth_value
Content-Type: header_type
If-Match: ifmatch_value

请求消息体:

json
{
  "ServiceEnabled": ServiceEnabled,
  "MessageFormat": MessageFormat,
  "ServerIdentitySource": ServerIdentitySource,
  "AlarmSeverity": AlarmSeverity,
  "TransmissionProtocol": TransmissionProtocol,
  "AuthenticateMode": AuthenticateMode,
  "ReportType": ReportType_value,
  "SyslogServers": [
    {
      "Enabled": enabled_value,
      "Address": add_value,
      "Port": port_value,
      "LogType": logtype_value
    }
  ]
}

请求头参数说明

参见 请求头参数说明

请求体参数说明

参数参数说明取值
ifmatch_value请求消息的匹配参数可通过对相应资源发起GET操作, 从响应头中获取(对应于“ETag” 参数)
ServiceEnabledSyslog服务使能● true:开启
● false:关闭
MessageFormat消息格式● 自定义:Custom
● RFC3164:RFC3164说明设置为RFC3164消息格式时,“主机标识”字段不支持设置,默认为主机名
ServerIdentitySource主机标志● 单板序列号:BoardSN
● 资产标签:ProductAssetTag
● 主机名:HostName
AlarmSeverity告警级别● Critical(紧急)
● Major(严重及以上)
● Minor(轻微及以上)
● Normal(正常及以上)
● null(不发送告警)
ReportType事件上报类型● OemEvent:自定义事件
● SEL:传感器事件
TransmissionProtocol传输协议● UDP
● TCP
● TLS
AuthenticateModeSyslog认证方式● 单向认证:OneWay
● 双向认证:TwoWay
enabled_value通道使能● true:开启
● false:关闭
add_value服务器地址● IPv4或IPv6地址或FQDN
port_value服务器端口● 1~65535
logtype_value日志类型● 操作日志:OperationLog
● 安全日志:SecurityLog
● 事件日志:EventLog
● 入侵检测日志:IntrusionDetectionLog
● 系统串口日志:SysComLog
● BMC串口日志:BmcComLog
● 故障诊断日志:DiagnosticLog
● 板卡芯片日志:ChipLog

使用指南

可同时设置多个服务的参数。

使用实例

请求样例: PATCH https://device_ip/redfish/v1/Managers/manager_id/SyslogService

X-Auth-Token: auth_value Content-Type: header_type If-Match: ifmatch_value 请求消息体:

json
{
  "ServiceEnabled": ServiceEnabled,
  "MessageFormat": MessageFormat,
  "ServerIdentitySource": ServerIdentitySource,
  "AlarmSeverity": AlarmSeverity,
  "TransmissionProtocol": TransmissionProtocol,
  "AuthenticateMode": AuthenticateMode,
  "ReportType": ReportType_value,
  "SyslogServers": [
    {
      "Enabled": enabled_value,
      "Address": add_value,
      "Port": port_value,
      "LogType": logtype_value
    }
  ]
}

响应样例:

json
{
  "@odata.context": "/redfish/v1/$metadata#HwSyslogService.HwSyslogService",
  "@odata.id": "/redfish/v1/Managers/1/SyslogService",
  "@odata.type": "#HwSyslogService.v1_0_0.HwSyslogService",
  "Id": "SyslogService",
  "Name": "Syslog Service",
  "ServiceEnabled": true,
  "MessageFormat": "Custom",
  "ServerIdentitySource": "BoardSN",
  "AlarmSeverity": "Normal",
  "TransmissionProtocol": "TLS",
  "AuthenticateMode": "TwoWay",
  "CrlValidFrom": null,
  "CrlValidTo": null,
  "CrlVerificationEnabled": false,
  "RootCertificate": {
    "Issuer": "CN=xxx, OU=IT, O=xxx, L=, S=GuangDong, C=CN",
    "Subject": "CN=xxx, OU=IT, O=xxx, L=, S=GuangDong, C=CN",
    "ValidNotBefore": "Jan 28 2016 GMT",
    "ValidNotAfter": "Jan 27 2019 GMT",
    "SerialNumber": "d5 39 e6 3a 2d 53 de 90",
    "SignatureAlgorithm": "sha256WithRSAEncryption",
    "KeyUsage": "Certificate Signing, CRL Sign",
    "PublicKeyLengthBits": 2048
  },
  "ReportType": "SEL",
  "ClientCertificate": {
    "Issuer": "CN=Server, OU=IT, O=xxx, L=, S=GuangDong, C=CN",
    "Subject": "CN=Server, OU=, O=, L=, S=, C=LG",
    "ValidNotBefore": "Aug 10 2016 GMT",
    "ValidNotAfter": "Aug 08 2026 GMT",
    "SerialNumber": "ad f2 f4 57 42 02 7a 7e",
    "SignatureAlgorithm": "sha256WithRSAEncryption",
    "KeyUsage": "Certificate Signing, CRL Sign",
    "PublicKeyLengthBits": 2048
  },
  "SyslogServers": [
    {
      "MemberId": "0",
      "Enabled": false,
      "Address": "",
      "Port": 0,
      "LogType": [
        "OperationLog",
        "SecurityLog",
        "EventLog",
        "IntrusionDetectionLog",
        "SysComLog",
        "BmcComLog",
        "DiagnosticLog",
        "ChipLog"
      ]
    },
    {
      "MemberId": "1",
      "Enabled": false,
      "Address": "",
      "Port": 0,
      "LogType": [
        "OperationLog",
        "SecurityLog",
        "EventLog",
        "IntrusionDetectionLog",
        "SysComLog",
        "BmcComLog",
        "DiagnosticLog",
        "ChipLog"
      ]
    },
    {
      "MemberId": "2",
      "Enabled": false,
      "Address": "",
      "Port": 0,
      "LogType": [
        "OperationLog",
        "SecurityLog",
        "EventLog",
        "IntrusionDetectionLog",
        "SysComLog",
        "BmcComLog",
        "DiagnosticLog",
        "ChipLog"
      ]
    },
    {
      "MemberId": "3",
      "Enabled": false,
      "Address": "",
      "Port": 0,
      "LogType": [
        "OperationLog",
        "SecurityLog",
        "EventLog",
        "IntrusionDetectionLog",
        "SysComLog",
        "BmcComLog",
        "DiagnosticLog",
        "ChipLog"
      ]
    }
  ],
  "Actions": {
    "#SyslogService.ImportRootCertificate": {
      "target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.ImportRootCertificate",
      "@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/ImportRootCertificateActionInfo"
    },
    "#SyslogService.ImportClientCertificate": {
      "target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.ImportClientCertificate",
      "@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/ImportClientCertificateActionInfo"
    },
    "#SyslogService.SubmitTestEvent": {
      "target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.SubmitTestEvent",
      "@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/SubmitTestEventActionInfo"
    },
    "#SyslogService.ImportCrl": {
      "target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.ImportCrl",
      "@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/ImportCrlActionInfo"
    },
    "#SyslogService.DeleteCrl": {
      "target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.DeleteCrl",
      "@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/DeleteCrlActionInfo"
    }
  }
}

响应码:200

POST (ACTION)

ImportRootCertificate

命令功能

导入 Syslog 根证书

说明 须知 此资源已经废弃,仅供兼容性用途使用。建议使用redfish/v1/CertificateService接口 进行CA证书/吊销列表管理 自BMC300 5.2.0.1版本后CA证书升级为资源池,所有BMC业务共用资源池中的CA证 书,此接口导入证书会影响到其他包含根证书的接口。共用CA证书业务包括: Syslog、SMTP、LDAP、SSL证书自动更新、远程HTTPS服务器、双因素登录业务

命令格式

URL: https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.ImportRootCertificate

请求头:

X-Auth-Token: auth_value
Content-Type: header_type

请求消息体:

json
{
  "Type": type,
  "Content": value
}

请求头参数说明

参见 请求头参数说明

请求体参数说明

参数参数说明取值
type导入syslog证书的方式● text,表明value值是证书内容
● URI,表明value值是URI(本地或者远程)
value内容1:可以是证书的内容2:可以是证书本地路径 (只能在/tmp目录下)或者远程路径(支持的文件传输的协议有https、sftp、nfs、cifs、scp) 3:value的含义由type表示

使用指南

使用实例

请求样例: POST https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.ImportRootCertificate

X-Auth-Token: auth_value Content-Type: header_type 请求消息体:

json
{
  "Type": type,
  "Content": value
}

响应样例:

json
{
  "error": {
    "code": "Base.1.0.GeneralError",
    "message": "A general error has occurred. See ExtendedInfo for more information.",
    "@Message.ExtendedInfo": [
      {
        "@odata.type": "#Message.v1_0_0.Message",
        "MessageId": "iBMC.1.0.CertImportOKNone",
        "RelatedProperties": [],
        "Message": "The certificate has been imported successfully.",
        "MessageArgs": [],
        "Severity": "OK",
        "Resolution": "None"
      }
    ]
  }
}

响应码:200

POST (ACTION)

ImportClientCertificate

命令功能

导入 Syslog 本地证书

说明 须知 此资源已经废弃,仅供兼容性用途使用。归一到/redfish/v1/Managers/manager_id/ SecurityService/HttpsCert进行管理

命令格式

URL: https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.ImportClientCertificate

请求头:

X-Auth-Token: auth_value
Content-Type: header_type

请求消息体:

json
{
  "Type": type,
  "Content": value,
  "Password": password
}

请求头参数说明

参见 请求头参数说明

请求体参数说明

参数参数说明取值
type导入本地证书的方式● text,表明value值是证书内容。
● URI,表明value值是URI (本地或者远程)
value内容1:可以是证书内容的BASE64编码2:可以是证书本地路径 (只能在/tmp目录下)或者远程路径(支持的文件传输的协议有https、sftp、nfs、cifs、scp) 3:value的值表示什么意思由type表示
password解密证书的密码为可选参数,未输入表明是空密码

使用指南

使用实例

请求样例: POST https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.ImportClientCertificate

X-Auth-Token: auth_value Content-Type: header_type 请求消息体:

json
{
  "Type": type,
  "Content": value,
  "Password": password
}

响应样例:

json
{
  "error": {
    "code": "Base.1.0.GeneralError",
    "message": "A general error has occurred. See ExtendedInfo for more information.",
    "@Message.ExtendedInfo": [
      {
        "@odata.type": "#Message.v1_0_0.Message",
        "MessageId": "iBMC.1.0.CertImportOKNone",
        "RelatedProperties": [],
        "Message": "The certificate has been imported successfully.",
        "MessageArgs": [],
        "Severity": "OK",
        "Resolution": "None"
      }
    ]
  }
}

响应码:200

POST (ACTION)

SubmitTestEvent

命令功能

Syslog 发送测试事件

命令格式

URL: https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.SubmitTestEvent

请求头:

X-Auth-Token: auth_value
Content-Type: header_type

请求消息体:

json
{
  "MemberId": value
}

请求头参数说明

参见 请求头参数说明

请求体参数说明

参数参数说明取值
value序号字符,可用范围0~3。

使用指南

使用实例

请求样例: POST https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.SubmitTestEvent

X-Auth-Token: auth_value Content-Type: header_type 请求消息体:

json
{
  "MemberId": value
}

响应样例:

json
{
  "error": {
    "code": "Base.1.0.GeneralError",
    "message": "A general error has occurred. See ExtendedInfo for more information.",
    "@Message.ExtendedInfo": [
      {
        "@odata.type": "#Message.v1_0_0.Message",
        "MessageId": "Base.1.0.Success",
        "RelatedProperties": [],
        "Message": "Successfully Completed Request",
        "MessageArgs": [],
        "Severity": "OK",
        "Resolution": "None"
      }
    ]
  }
}

响应码:200

POST (ACTION)

ImportCrl

命令功能

导入 Syslog 服务器证书吊销列表

说明 须知 此资源已经废弃,仅供兼容性用途使用。建议使用redfish/v1/CertificateService接口 进行CA证书/吊销列表管理 自BMC300 5.2.0.1版本后CA证书升级为资源池,所有BMC业务共用资源池中的CA证 书,此接口导入证书会影响到其他包含根证书的接口。共用CA证书业务包括: Syslog、SMTP、LDAP、SSL证书自动更新、远程HTTPS服务器、双因素登录业务

命令格式

URL: https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.ImportCrl

请求头:

X-Auth-Token: auth_value
Content-Type: header_type

请求消息体:

json
{
  "Type": "text",
  "Content": crl_text
}

请求头参数说明

参见 请求头参数说明

请求体参数说明

参数参数说明取值
crl_text证书吊销列表文本吊销列表文件的文本内容
tmp_uri证书吊销列表的本地路径证书的本地路径,/tmp/ 目录/文件名,文件拓展名必须是“.crl”
remote_uri证书吊销列表的远程路径远程导入的路径,形如: “sftp:// user:password@ip/ path”;目前支持五种传输协议,https、scp、sftp、cifs、nfs,远程文件的扩展名必须是“.crl”

使用指南

由于rsyslog版本问题,吊销列表导入后不会生效。

使用实例

请求样例: POST https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.ImportCrl

Content-Type: header_type X-Auth-Token: auth_value 请求消息体:

json
{
  "Type": "text",
  "Content": crl_text
}

POST (ACTION)

DeleteCrl

命令功能

删除 Syslog 服务器证书吊销列表

说明 须知 此资源已经废弃,仅供兼容性用途使用。建议使用redfish/v1/CertificateService接口 进行CA证书/吊销列表管理 自BMC300 5.2.0.1版本后CA证书升级为资源池,所有BMC业务共用资源池中的CA证 书,此接口导入证书会影响到其他包含根证书的接口。共用CA证书业务包括: Syslog、SMTP、LDAP、SSL证书自动更新、远程HTTPS服务器、双因素登录业务

命令格式

URL: https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.DeleteCrl

请求头:

X-Auth-Token: auth_value
Content-Type: header_type

请求消息体:

json
{}

请求头参数说明

参见 请求头参数说明

请求体参数说明

使用指南

由于rsyslog版本问题,吊销列表导入后不会生效。

使用实例

请求样例: POST https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.DeleteCrl

Content-Type: header_type X-Auth-Token: auth_value 请求消息体:

json
{}

响应样例:

json
{
  "error": {
    "code": "Base.1.0.GeneralError",
    "message": "A general error has occurred. See ExtendedInfo for more information.",
    "@Message.ExtendedInfo": [
      {
        "@odata.type": "#Message.v1_0_0.Message",
        "MessageId": "Base.1.0.Success",
        "RelatedProperties": [],
        "Message": "Successfully Completed Request",
        "MessageArgs": [],
        "Severity": "OK",
        "Resolution": "None"
      }
    ]
  }
}

响应码:200