openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/UPSIF_CALL_GET_APPLOG_KEYS:
    post:
      tags:
      - UPSIF
      operationId: /rfc/UPSIF_CALL_GET_APPLOG_KEYS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_OBJTYP:
                  type: string
                  maxLength: 10
                  description: Object type
                LOGHDR:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDANT:
                        type: string
                        maxLength: 3
                        description: Client
                      LOGNUMBER:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      OBJECT:
                        type: string
                        maxLength: 20
                        description: 'Application log: Object name (Application code)'
                      SUBOBJECT:
                        type: string
                        maxLength: 20
                        description: 'Application Log: Subobject'
                      EXTNUMBER:
                        type: string
                        maxLength: 100
                        description: 'Application Log: External ID'
                      ALDATE:
                        type: string
                        format: date
                        description: 'Application log: date'
                      ALTIME:
                        type: string
                        maxLength: 6
                        description: 'Application log: time'
                      ALUSER:
                        type: string
                        maxLength: 12
                        description: 'Application log: user name'
                      ALTCODE:
                        type: string
                        maxLength: 20
                        description: 'Application Log: Transaction code'
                      ALPROG:
                        type: string
                        maxLength: 40
                        description: 'Application log: Program name'
                      ALMODE:
                        type: string
                        maxLength: 1
                        description: 'Application Log: Operating mode (Batch,Batch Input,Dialog)  enumValues: I=Batch input processing,D=Dialog processing,B=Batch processing'
                        enum:
                        - I
                        - D
                        - B
                      ALTEXT:
                        type: string
                        maxLength: 28
                        description: 'Application log: Standard text'
                      USEREXITP:
                        type: string
                        maxLength: 40
                        description: 'Application Log: Callback: Program name'
                      USEREXITF:
                        type: string
                        maxLength: 30
                        description: 'Application Log: Callback: Routine name'
                      PROBCLASS:
                        type: string
                        maxLength: 1
                        description: 'Application Log: Log problem class  enumValues: 2=important,4=Additional information,1=very important,3=medium,""=Other'
                        enum:
                        - '2'
                        - '4'
                        - '1'
                        - '3'
                        - ''
                      ALDATE_DEL:
                        type: string
                        format: date
                        description: 'Application log: expiry date'
                      DEL_BEFORE:
                        type: string
                        maxLength: 1
                        description: 'Application Log: Keep log until expiry  enumValues: X=Log cannot be deleted before expiry date,""=Log can be deleted before expiry date'
                        enum:
                        - X
                        - ''
                      ALSTATE:
                        type: string
                        maxLength: 1
                        description: 'Application log: processing status  enumValues: ""=not specified,1=to be processed,3=finished,2=being processed'
                        enum:
                        - ''
                        - '1'
                        - '3'
                        - '2'
                      USEREXITT:
                        type: string
                        maxLength: 1
                        description: 'Application Log: Callback: Type (Ext. Perform, FM, etc.)  enumValues: ""=External perform,F=Function module'
                        enum:
                        - ''
                        - F
                      ALCHDATE:
                        type: string
                        format: date
                        description: 'Application Log: Date of last change'
                      ALCHTIME:
                        type: string
                        maxLength: 6
                        description: 'Application Log: Time of last change'
                      ALCHUSER:
                        type: string
                        maxLength: 12
                        description: 'Application Log: User that changed the log'
                      LOG_HANDLE:
                        type: string
                        maxLength: 22
                        description: 'Application Log: Log Handle'
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: 'Application Log: Context: DDIC structure name'
                      MSG_CNT_AL:
                        type: integer
                        format: int64
                        description: 'Application Log: Total number of messages'
                      MSG_CNT_A:
                        type: integer
                        format: int64
                        description: 'Application Log: Number of A messages'
                      MSG_CNT_E:
                        type: integer
                        format: int64
                        description: 'Application Log: Number of E messages'
                      MSG_CNT_W:
                        type: integer
                        format: int64
                        description: 'Application Log: Number of W messages'
                      MSG_CNT_I:
                        type: integer
                        format: int64
                        description: 'Application Log: Number of I messages'
                      MSG_CNT_S:
                        type: integer
                        format: int64
                        description: 'Application Log: Number of S messages'
                      LAST_MSGNR:
                        type: integer
                        format: int64
                        description: 'ApplicationLog: Last message serial number assigned'
                      TIM_STMP:
                        type: integer
                        format: int64
                        description: 'Application log: Time basis for context nametab'
                      DB_VERSION:
                        type: string
                        maxLength: 4
                        description: 'Application Log: Database repository format  enumValues: 0001=Compressed in table BALDAT, format 0001,""=Distributed to tables BALM, BALMP, BALC, etc.'
                        enum:
                        - '0001'
                        - ''
                      MSG_CNT_P1:
                        type: integer
                        format: int64
                        description: 'Application Log: Number of messages with problem class 1'
                      MSG_CNT_P2:
                        type: integer
                        format: int64
                        description: 'Application Log: Number of messages with problem class 2'
                      MSG_CNT_P3:
                        type: integer
                        format: int64
                        description: 'Application Log: Number of messages with problem class 3'
                      MSG_CNT_P4:
                        type: integer
                        format: int64
                        description: 'Application Log: Number of messages with problem class 4'
                      CLIENT_CRE:
                        type: string
                        maxLength: 3
                        description: 'Application Log: Client in which a log was created'
                      CHAR_SIZE:
                        type: integer
                        format: int64
                        description: 'Application Log: Size of a Character in Bytes  enumValues: 1='
                        enum:
                        - '1'
                OUTITM:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJTYP:
                        type: string
                        maxLength: 10
                        description: 'ALE Distribution Packet: Object Type'
                      OBJID:
                        type: string
                        maxLength: 120
                        description: 'ALE Distribution Packet: Object Key'
                      OBJVAL:
                        type: string
                        maxLength: 20
                        description: 'ALE Distribution Package: Object Validity'
                      MESCOD:
                        type: string
                        maxLength: 3
                        description: 'Activity of Object Status  enumValues: DEL=Deletion,MOD=Maintenance'
                        enum:
                        - DEL
                        - MOD
                      DOCNUM:
                        type: string
                        maxLength: 32
                        description: Message Number
                      SNDDOC:
                        type: string
                        maxLength: 32
                        description: 'ALE Distribution Packet: IDoc Number in Sender'
                      HIELEV:
                        type: integer
                        format: int64
                        description: 'ALE Distribution Package: Object Type Serialization'
                      INSLEV:
                        type: integer
                        format: int64
                        description: 'ALE Distribution Package: Object Instance Serialization'
                      SUBLEV:
                        type: integer
                        format: int64
                        description: 'ALE Distrib. Package: Object Validity Status Serialization'
                      FUNCTION:
                        type: string
                        maxLength: 1
                        description: 'ALE Distribution Packet : Function of Object Entry  enumValues: D=Remove object from distribution packet  (correction packet),""=Object belongs to distribution packet  (correction packet),U=Object distributed by distribution packet again,I=Add object to distribution packet (correction packet),-=Cancel object changes in packet (delta changes)'
                        enum:
                        - D
                        - ''
                        - U
                        - I
                        - '-'
                      DSCRPT:
                        type: string
                        maxLength: 80
                        description: 'ALE Distribution Package: Description of Object Instance'
                      STATUS:
                        type: string
                        maxLength: 10
                        description: Message Status
                      EXISTS:
                        type: string
                        maxLength: 1
                        description: 'ALE Distribution Package: Object Instance Exists  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      STATXT:
                        type: string
                        maxLength: 70
                        description: Message Status Text
                      VALID:
                        type: string
                        maxLength: 1
                        description: 'ALE Distribution Unit: Object Valid?  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
              required:
              - IM_OBJTYP
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LOGHDR:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDANT:
                          type: string
                          maxLength: 3
                          description: Client
                        LOGNUMBER:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        OBJECT:
                          type: string
                          maxLength: 20
                          description: 'Application log: Object name (Application code)'
                        SUBOBJECT:
                          type: string
                          maxLength: 20
                          description: 'Application Log: Subobject'
                        EXTNUMBER:
                          type: string
                          maxLength: 100
                          description: 'Application Log: External ID'
                        ALDATE:
                          type: string
                          format: date
                          description: 'Application log: date'
                        ALTIME:
                          type: string
                          maxLength: 6
                          description: 'Application log: time'
                        ALUSER:
                          type: string
                          maxLength: 12
                          description: 'Application log: user name'
                        ALTCODE:
                          type: string
                          maxLength: 20
                          description: 'Application Log: Transaction code'
                        ALPROG:
                          type: string
                          maxLength: 40
                          description: 'Application log: Program name'
                        ALMODE:
                          type: string
                          maxLength: 1
                          description: 'Application Log: Operating mode (Batch,Batch Input,Dialog)  enumValues: I=Batch input processing,D=Dialog processing,B=Batch processing'
                          enum:
                          - I
                          - D
                          - B
                        ALTEXT:
                          type: string
                          maxLength: 28
                          description: 'Application log: Standard text'
                        USEREXITP:
                          type: string
                          maxLength: 40
                          description: 'Application Log: Callback: Program name'
                        USEREXITF:
                          type: string
                          maxLength: 30
                          description: 'Application Log: Callback: Routine name'
                        PROBCLASS:
                          type: string
                          maxLength: 1
                          description: 'Application Log: Log problem class  enumValues: 2=important,4=Additional information,1=very important,3=medium,""=Other'
                          enum:
                          - '2'
                          - '4'
                          - '1'
                          - '3'
                          - ''
                        ALDATE_DEL:
                          type: string
                          format: date
                          description: 'Application log: expiry date'
                        DEL_BEFORE:
                          type: string
                          maxLength: 1
                          description: 'Application Log: Keep log until expiry  enumValues: X=Log cannot be deleted before expiry date,""=Log can be deleted before expiry date'
                          enum:
                          - X
                          - ''
                        ALSTATE:
                          type: string
                          maxLength: 1
                          description: 'Application log: processing status  enumValues: ""=not specified,1=to be processed,3=finished,2=being processed'
                          enum:
                          - ''
                          - '1'
                          - '3'
                          - '2'
                        USEREXITT:
                          type: string
                          maxLength: 1
                          description: 'Application Log: Callback: Type (Ext. Perform, FM, etc.)  enumValues: ""=External perform,F=Function module'
                          enum:
                          - ''
                          - F
                        ALCHDATE:
                          type: string
                          format: date
                          description: 'Application Log: Date of last change'
                        ALCHTIME:
                          type: string
                          maxLength: 6
                          description: 'Application Log: Time of last change'
                        ALCHUSER:
                          type: string
                          maxLength: 12
                          description: 'Application Log: User that changed the log'
                        LOG_HANDLE:
                          type: string
                          maxLength: 22
                          description: 'Application Log: Log Handle'
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: 'Application Log: Context: DDIC structure name'
                        MSG_CNT_AL:
                          type: integer
                          format: int64
                          description: 'Application Log: Total number of messages'
                        MSG_CNT_A:
                          type: integer
                          format: int64
                          description: 'Application Log: Number of A messages'
                        MSG_CNT_E:
                          type: integer
                          format: int64
                          description: 'Application Log: Number of E messages'
                        MSG_CNT_W:
                          type: integer
                          format: int64
                          description: 'Application Log: Number of W messages'
                        MSG_CNT_I:
                          type: integer
                          format: int64
                          description: 'Application Log: Number of I messages'
                        MSG_CNT_S:
                          type: integer
                          format: int64
                          description: 'Application Log: Number of S messages'
                        LAST_MSGNR:
                          type: integer
                          format: int64
                          description: 'ApplicationLog: Last message serial number assigned'
                        TIM_STMP:
                          type: integer
                          format: int64
                          description: 'Application log: Time basis for context nametab'
                        DB_VERSION:
                          type: string
                          maxLength: 4
                          description: 'Application Log: Database repository format  enumValues: 0001=Compressed in table BALDAT, format 0001,""=Distributed to tables BALM, BALMP, BALC, etc.'
                          enum:
                          - '0001'
                          - ''
                        MSG_CNT_P1:
                          type: integer
                          format: int64
                          description: 'Application Log: Number of messages with problem class 1'
                        MSG_CNT_P2:
                          type: integer
                          format: int64
                          description: 'Application Log: Number of messages with problem class 2'
                        MSG_CNT_P3:
                          type: integer
                          format: int64
                          description: 'Application Log: Number of messages with problem class 3'
                        MSG_CNT_P4:
                          type: integer
                          format: int64
                          description: 'Application Log: Number of messages with problem class 4'
                        CLIENT_CRE:
                          type: string
                          maxLength: 3
                          description: 'Application Log: Client in which a log was created'
                        CHAR_SIZE:
                          type: integer
                          format: int64
                          description: 'Application Log: Size of a Character in Bytes  enumValues: 1='
                          enum:
                          - '1'
                  OUTITM:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJTYP:
                          type: string
                          maxLength: 10
                          description: 'ALE Distribution Packet: Object Type'
                        OBJID:
                          type: string
                          maxLength: 120
                          description: 'ALE Distribution Packet: Object Key'
                        OBJVAL:
                          type: string
                          maxLength: 20
                          description: 'ALE Distribution Package: Object Validity'
                        MESCOD:
                          type: string
                          maxLength: 3
                          description: 'Activity of Object Status  enumValues: DEL=Deletion,MOD=Maintenance'
                          enum:
                          - DEL
                          - MOD
                        DOCNUM:
                          type: string
                          maxLength: 32
                          description: Message Number
                        SNDDOC:
                          type: string
                          maxLength: 32
                          description: 'ALE Distribution Packet: IDoc Number in Sender'
                        HIELEV:
                          type: integer
                          format: int64
                          description: 'ALE Distribution Package: Object Type Serialization'
                        INSLEV:
                          type: integer
                          format: int64
                          description: 'ALE Distribution Package: Object Instance Serialization'
                        SUBLEV:
                          type: integer
                          format: int64
                          description: 'ALE Distrib. Package: Object Validity Status Serialization'
                        FUNCTION:
                          type: string
                          maxLength: 1
                          description: 'ALE Distribution Packet : Function of Object Entry  enumValues: D=Remove object from distribution packet  (correction packet),""=Object belongs to distribution packet  (correction packet),U=Object distributed by distribution packet again,I=Add object to distribution packet (correction packet),-=Cancel object changes in packet (delta changes)'
                          enum:
                          - D
                          - ''
                          - U
                          - I
                          - '-'
                        DSCRPT:
                          type: string
                          maxLength: 80
                          description: 'ALE Distribution Package: Description of Object Instance'
                        STATUS:
                          type: string
                          maxLength: 10
                          description: Message Status
                        EXISTS:
                          type: string
                          maxLength: 1
                          description: 'ALE Distribution Package: Object Instance Exists  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        STATXT:
                          type: string
                          maxLength: 70
                          description: Message Status Text
                        VALID:
                          type: string
                          maxLength: 1
                          description: 'ALE Distribution Unit: Object Valid?  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
