openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_IC_XML_LIST:
    post:
      tags:
      - CRM_IC_XML_STORAGE
      summary: Get list of XML documents.
      operationId: /rfc/CRM_IC_XML_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COMID:
                  type: string
                  maxLength: 2
                  description: IC component ID
                LANGUAGE:
                  type: string
                  maxLength: 1
                  description: Language Key
                XMLLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      XMLNAME:
                        type: string
                        maxLength: 32
                        description: XML Document Name
                      UNAME:
                        type: string
                        maxLength: 12
                        description: Last Changed By
                      PNAME:
                        type: string
                        maxLength: 40
                        description: Program Name
                      DATEM:
                        type: string
                        format: date
                        description: Date
                      TIMEM:
                        type: string
                        maxLength: 6
                        description: Time
                      TEXT:
                        type: string
                        maxLength: 32
                        description: XML Profile Description
              required:
              - COMID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  XMLLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        XMLNAME:
                          type: string
                          maxLength: 32
                          description: XML Document Name
                        UNAME:
                          type: string
                          maxLength: 12
                          description: Last Changed By
                        PNAME:
                          type: string
                          maxLength: 40
                          description: Program Name
                        DATEM:
                          type: string
                          format: date
                          description: Date
                        TIMEM:
                          type: string
                          maxLength: 6
                          description: Time
                        TEXT:
                          type: string
                          maxLength: 32
                          description: XML Profile Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
