openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IWB_STRUCTURE_EXPORT:
    post:
      tags:
      - SI62
      summary: Export structure object
      operationId: /rfc/IWB_STRUCTURE_EXPORT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BAD_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      ERROR_KEY:
                        type: integer
                        format: int64
                        description: 'Error code  enumValues: 03=Missing Entries,04=Name conflict,02=Operation not permitted,06=No authorization,00=Document class not known,01=Object does not exist,05=Error when transferring data'
                        enum:
                        - '03'
                        - '04'
                        - '02'
                        - '06'
                        - '00'
                        - '01'
                        - '05'
                OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      DIRECTORY:
                        type: string
                        maxLength: 255
                        description: Directory on target computer
                      FILE_NAME:
                        type: string
                        maxLength: 255
                        description: Relative storage location of physical document
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BAD_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        ERROR_KEY:
                          type: integer
                          format: int64
                          description: 'Error code  enumValues: 03=Missing Entries,04=Name conflict,02=Operation not permitted,06=No authorization,00=Document class not known,01=Object does not exist,05=Error when transferring data'
                          enum:
                          - '03'
                          - '04'
                          - '02'
                          - '06'
                          - '00'
                          - '01'
                          - '05'
                  OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        DIRECTORY:
                          type: string
                          maxLength: 255
                          description: Directory on target computer
                        FILE_NAME:
                          type: string
                          maxLength: 255
                          description: Relative storage location of physical document
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
