openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SXMI_LOG_SELECT:
    post:
      tags:
      - SXMI
      summary: Selection of Translated Entries in XMI Log
      operationId: /rfc/SXMI_LOG_SELECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXTUSER:
                  type: string
                  default: '*'
                  maxLength: 16
                  description: Tool user to be viewed
                FROMTIMSTMP:
                  type: integer
                  format: int64
                  description: Start of the period to be viewed
                INTERFACE:
                  type: string
                  default: '*'
                  maxLength: 3
                  description: Interface to be viewed
                OBJECT:
                  type: string
                  default: '*'
                  maxLength: 50
                  description: Object to be viewed
                SESSIONID:
                  type: string
                  default: '*'
                  maxLength: 24
                  description: ID of the XMI session to be viewed
                TOTIMSTMP:
                  type: integer
                  format: int64
                  description: End of the period to be viewed
                LOG:
                  type: array
                  items:
                    type: object
                    properties:
                      LOGID:
                        type: string
                        maxLength: 24
                        description: 'XMI logging: Unique DB key of log entry'
                      LOGTIMSTMP:
                        type: integer
                        format: int64
                        description: Time Stamp (Date and Time)
                      EXTCOMPANY:
                        type: string
                        maxLength: 16
                        description: 'XMI logging: company name of external management tool'
                      EXTPRODUCT:
                        type: string
                        maxLength: 16
                        description: 'XMI logging: Program name of external management tool'
                      SAPUSER:
                        type: string
                        maxLength: 12
                        description: 'XMI logging: SAP user name of external management tool'
                      EXTUSER:
                        type: string
                        maxLength: 16
                        description: 'XMI logging: Name of user in external management tool'
                      INTERFACE:
                        type: string
                        maxLength: 3
                        description: Interface ID (for example, XBP)
                      VERSION:
                        type: string
                        maxLength: 10
                        description: Version of XMI interface delivered for check purposes
                      SESSIONID:
                        type: string
                        maxLength: 24
                        description: ID of XMI session
                      OBJECT:
                        type: string
                        maxLength: 50
                        description: 'XMI logging: Name of object (job name, spool ID ...)'
                      SERVER:
                        type: string
                        maxLength: 20
                        description: 'XMI logging: Name of server, on which XMI action was exectd'
                      AUDITLEVEL:
                        type: integer
                        format: int64
                        description: 'A higher audit level means more detailed logs  enumValues: 1=Log entries: Errors of read actions   (contains 2-9),0=Log entries: Change actions           (contains 1-9),9=For future use,3=Log entries: Actions (detailed)       (contains 4-9),2=Log entries: Read actions             (contains 3-9)'
                        enum:
                        - '1'
                        - '0'
                        - '9'
                        - '3'
                        - '2'
                      MSG:
                        type: string
                        maxLength: 255
                        description: The expanded (translated) message for ext. tools
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NUMBER:
                    type: integer
                    format: int32
                    description: Number of selected log entries
                  TRANSLATED:
                    type: string
                    maxLength: 1
                    description: All log entries are translated
                  TRUNCATED:
                    type: string
                    maxLength: 1
                    description: Messages that are too long were cut off
                  LOG:
                    type: array
                    items:
                      type: object
                      properties:
                        LOGID:
                          type: string
                          maxLength: 24
                          description: 'XMI logging: Unique DB key of log entry'
                        LOGTIMSTMP:
                          type: integer
                          format: int64
                          description: Time Stamp (Date and Time)
                        EXTCOMPANY:
                          type: string
                          maxLength: 16
                          description: 'XMI logging: company name of external management tool'
                        EXTPRODUCT:
                          type: string
                          maxLength: 16
                          description: 'XMI logging: Program name of external management tool'
                        SAPUSER:
                          type: string
                          maxLength: 12
                          description: 'XMI logging: SAP user name of external management tool'
                        EXTUSER:
                          type: string
                          maxLength: 16
                          description: 'XMI logging: Name of user in external management tool'
                        INTERFACE:
                          type: string
                          maxLength: 3
                          description: Interface ID (for example, XBP)
                        VERSION:
                          type: string
                          maxLength: 10
                          description: Version of XMI interface delivered for check purposes
                        SESSIONID:
                          type: string
                          maxLength: 24
                          description: ID of XMI session
                        OBJECT:
                          type: string
                          maxLength: 50
                          description: 'XMI logging: Name of object (job name, spool ID ...)'
                        SERVER:
                          type: string
                          maxLength: 20
                          description: 'XMI logging: Name of server, on which XMI action was exectd'
                        AUDITLEVEL:
                          type: integer
                          format: int64
                          description: 'A higher audit level means more detailed logs  enumValues: 1=Log entries: Errors of read actions   (contains 2-9),0=Log entries: Change actions           (contains 1-9),9=For future use,3=Log entries: Actions (detailed)       (contains 4-9),2=Log entries: Read actions             (contains 3-9)'
                          enum:
                          - '1'
                          - '0'
                          - '9'
                          - '3'
                          - '2'
                        MSG:
                          type: string
                          maxLength: 255
                          description: The expanded (translated) message for ext. tools
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
