openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_IC_XML_GETX:
    post:
      tags:
      - CRM_IC_XML_STORAGE
      summary: Get XML document
      operationId: /rfc/CRM_IC_XML_GETX
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COMID:
                  type: string
                  maxLength: 2
                  description: IC component ID
                XMLNAME:
                  type: string
                  maxLength: 32
                  description: XML document name
              required:
              - COMID
              - XMLNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TEXT:
                    type: string
                    maxLength: 32
                    description: Component ID Description
                  XMLDATA:
                    type: string
                    format: byte
                    description: XML data
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
