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).
Interface Description

Interface Description

Request and Response

The standard HTTP request and response include the HTTP header and HTTP packet. The format of the HTTP packet is described in the Content-Type field of the HTTP header. You can specify the format of the response packet supported by the client in the Accept field. Currently the API supports only the XML format. Therefore, specify application/xml for the Content-Type and Accept field values.

  • Request example based on the HTTP header (XML format):
    GET /system/systemInfo HTTP/1.1 
     Host: localhost 
     Accept-Encoding: identity 
     Content-Length: 66 
     Content-type: application/xml 
     Accept: application/xml 
      
     <?xml version="1.0" encoding="UTF-8"?> 
     <systemInfo> 
     </systemInfo>
  • Response example based on the HTTP header (XML format):
    HTTP/1.1 200 OK 
     Cache-Control: no-cache 
     Content-Type: application/xml 
      
      
     <?xml version="1.0" encoding="UTF-8"?> 
     <systemInfo> 
         <sysName>HUAWEI</sysName> 
         <platformName>VRP</platformName> 
         <platformVer>V800R007C00</platformVer> 
         <productName>CE6850</productName> 
         <productVer>V800R007C00</productVer> 
         <patchVer></patchVer> 
         <esn>123456789</esn> 
         <mac>1234-1234-1234</mac> 
     </systemInfo>
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166567

Views: 17942

Downloads: 116

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