No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

RESTful API Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes the OPS APIs supported by the device, including OPS-supported operations, request examples, elements in the requests, response examples, elements in the responses, and response status codes.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
System Information

System Information

Global Attribute

Operation

URI

Description

GET

/system/systemInfo

Obtains the global system information, such as the system name, ESN number, and system MAC address.

  • Request example:
    <?xml version="1.0" encoding="UTF-8"?> 
    <systemInfo> 
    </systemInfo>
  • Response example (XML format):
    <?xml version="1.0" encoding="UTF-8"?> 
    <systemInfo>
    <sysName>HUAWEI</sysName>
    <sysContact>R&D Beijing, Huawei Technologies co.,Ltd.</sysContact>
    <sysLocation>Beijing China</sysLocation>
    <sysDesc>Huawei Versatile Routing Platform Software 
    VRP (R) software, Version 8.180 (NE40E-X16 V800R018C00SPC500B036) 
    Copyright (C) 2012-2018 Huawei Technologies Co., Ltd. 
    HUAWEI NE40E-X16 
    </sysDesc>
    <sysObjectId>1.3.6.1.4.1.2011.2.62.2.10</sysObjectId>
    <sysGmtTime>1530527777</sysGmtTime>
    <sysUpTime>30167</sysUpTime>
    <sysService>78</sysService>
    <platformName>VRP</platformName>
    <platformVer>V800R018C00SPC500</platformVer>
    <productName>NE40E-X16</productName>
    <productVer>V800R018C00SPC500</productVer>
    <patchVer>
    </patchVer>
    <esn>391091252449570</esn>
    <mac>38BA-ABE5-1F05</mac>
    <lsRole>admin</lsRole>
    <authenFlag>false</authenFlag>
    </systemInfo>

    Table 3-4 shows the description of elements in response.

    Table 3-4  The description of elements in response

    Element

    Description

    sysName

    Host name of the device

    platformName

    Platform name

    platformVer

    Platform version

    productName

    Product name

    productVer

    Product version

    patchVer

    Patch version

    esn

    ESN number of a device

    mac

    MAC address of a device

    Table 3-5 shows the description of status codes in response.

    Table 3-5  The description of status codes in response

    Status Code

    Description

    200 OK

    The operation succeeds.

    400 Bad Request

    The request cannot be implemented because the request is incorrect in syntax or the information attribute in the request is incorrect.

    500 Internal Server Error

    Internal errors in services cause a request failure or an unidentified request.

Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166567

Views: 27849

Downloads: 123

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next