openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SODIS_PUSH_OBJECTS_TO_REQUEST:
    post:
      tags:
      - SI_SODIS_INTERFACES
      summary: Get the object list of a transport request
      operationId: /rfc/SODIS_PUSH_OBJECTS_TO_REQUEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IT_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTRIBUTE_NAME:
                        type: string
                        maxLength: 20
                        description: SI-SODIS:Possible attribute (check table)
                      ATTRIBUTE_VALUE:
                        type: string
                        maxLength: 250
                        description: SI-SODIS:Possible attribute values (check table)
                IT_FILEINFORMATION:
                  type: array
                  items:
                    type: object
                    properties:
                      FILE_NAME:
                        type: string
                        description: Filename
                      FILE_PATH:
                        type: string
                        description: Filepath ending with slash
                IV_APPLICATION:
                  type: string
                  maxLength: 8
                  description: SODIS:Application Ids (char 8)
                IV_CREATED_FROM:
                  type: string
                  maxLength: 12
                  description: User Name
                IV_DEVCLASS:
                  type: string
                  maxLength: 30
                  description: Package
                IV_FILE_NAME:
                  type: string
                  maxLength: 255
                  description: Only the filename
                IV_FILE_PATH:
                  type: string
                  maxLength: 255
                  description: The path/folder where the file (IV_FILE_NAME) is located
                IV_MESSAGE_LOG:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: If set then log is written else message-command is used
                IV_REQUEST:
                  type: string
                  maxLength: 20
                  description: Request/Task
                IV_UPLOAD_OS:
                  type: string
                  maxLength: 10
                  description: Operating System of the IV_UPLOAD_SID
                IV_UPLOAD_SID:
                  type: string
                  maxLength: 10
                  description: path to the export folder (client view)
              required:
              - IV_APPLICATION
              - IV_CREATED_FROM
              - IV_MESSAGE_LOG
              - IV_REQUEST
              - IV_UPLOAD_SID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_MESSAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
