openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SALC_AL_READ_ALERTDATA_BY_AID:
    post:
      tags:
      - SALC
      summary: Read Data about the Alert Addressed by AID (Alert ID)
      operationId: /rfc/SALC_AL_READ_ALERTDATA_BY_AID
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALERTS_GET_ACTIVE:
                  type: string
                  default: X
                  maxLength: 1
                ALERTS_GET_HISTORY:
                  type: string
                  default: ' '
                  maxLength: 1
                AID:
                  type: array
                  items:
                    type: object
                    properties:
                      ALSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      MSEGNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Segment'
                      ALUNIQNUM:
                        type: string
                        maxLength: 10
                        description: 'Alert: Unique Identifier to be used in AID (char10)'
                      ALINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle'
                      ALERTDATE:
                        type: string
                        format: date
                        description: 'Alert: date'
                      ALERTTIME:
                        type: string
                        maxLength: 6
                        description: 'Alert: Time value in timeformat'
                      DUMMYALIGN:
                        type: string
                        maxLength: 2
                        description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                ALERTRC:
                  type: array
                  items:
                    type: object
                    properties:
                      RC:
                        type: integer
                        format: int32
                        description: 'Alert: Return Code'
                      ALSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      MSEGNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Segment'
                      ALUNIQNUM:
                        type: string
                        maxLength: 10
                        description: 'Alert: Unique Identifier to be used in AID (char10)'
                      ALINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle'
                      ALERTDATE:
                        type: string
                        format: date
                        description: 'Alert: date'
                      ALERTTIME:
                        type: string
                        maxLength: 6
                        description: 'Alert: Time value in timeformat'
                      DUMMYALIGN:
                        type: string
                        maxLength: 2
                        description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                      MTSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      MTMCNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Context'
                      MTNUMRANGE:
                        type: string
                        maxLength: 3
                        description: 'Alert: monitoring type number range (perm., temp, ...)'
                      MTUID:
                        type: string
                        maxLength: 10
                        description: 'ALert: Unique Identifier for  Monitoring Types (used in TID)'
                      MTCLASS:
                        type: string
                        maxLength: 3
                        description: 'Alert: monitoring type class (perf., single msg.,...)'
                      MTINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle for TID'
                      EXTINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle for TID'
                      VALUE:
                        type: integer
                        format: int32
                        description: 'Alert: alert value (1 = green, 2 = yellow, ....)'
                      SEVERITY:
                        type: integer
                        format: int32
                        description: 'Alert: severity (alerts, monitoring type custom..)'
                      STATUS:
                        type: integer
                        format: int32
                        description: 'Alert: general status (alert, Customizing, ...)'
                      OBJECTNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Object'
                      FIELDNAME:
                        type: string
                        maxLength: 40
                        description: 'ALert: Name of Monitoring Field'
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      USERID:
                        type: string
                        maxLength: 12
                        description: User Name
                      GONEDATE:
                        type: string
                        format: date
                        description: 'Alert: date'
                      GONETIME:
                        type: string
                        maxLength: 6
                        description: 'Alert: Time value in timeformat'
                      GONEDUMMY:
                        type: string
                        maxLength: 2
                        description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                      REPORTEDBY:
                        type: string
                        maxLength: 16
                        description: 'Alert: User (16 Char)'
                      STATCHGDAT:
                        type: string
                        format: date
                        description: 'Alert: date'
                      STATCHGTIM:
                        type: string
                        maxLength: 6
                        description: 'Alert: Time value in timeformat'
                      STATCHGDUM:
                        type: string
                        maxLength: 2
                        description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                      STATCHGBY:
                        type: string
                        maxLength: 16
                        description: 'Alert: Last Alert Status changed By'
                      TIMEOUTDAT:
                        type: string
                        format: date
                        description: 'Alert: date'
                      TIMEOUTTIM:
                        type: string
                        maxLength: 6
                        description: 'Alert: Time value in timeformat'
                      TIMEOUTDUM:
                        type: string
                        maxLength: 2
                        description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                      MSGCLASS:
                        type: string
                        maxLength: 16
                        description: 'XMI logging: company name of external management tool'
                      MSGID:
                        type: string
                        maxLength: 30
                        description: Message ID for an XMI log entry
                      MSGARG1:
                        type: string
                        maxLength: 128
                        description: Argument string for an XMI log
                      ARGTYPE1:
                        type: string
                        maxLength: 1
                        description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                        enum:
                        - C
                        - U
                        - T
                        - D
                      MSGARG2:
                        type: string
                        maxLength: 128
                        description: Argument string for an XMI log
                      ARGTYPE2:
                        type: string
                        maxLength: 1
                        description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                        enum:
                        - C
                        - U
                        - T
                        - D
                      MSGARG3:
                        type: string
                        maxLength: 128
                        description: Argument string for an XMI log
                      ARGTYPE3:
                        type: string
                        maxLength: 1
                        description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                        enum:
                        - C
                        - U
                        - T
                        - D
                      MSGARG4:
                        type: string
                        maxLength: 128
                        description: Argument string for an XMI log
                      ARGTYPE4:
                        type: string
                        maxLength: 1
                        description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                        enum:
                        - C
                        - U
                        - T
                        - D
                      MSGTEXT:
                        type: string
                        maxLength: 128
                        description: Actual text of message
                      MSG:
                        type: string
                        maxLength: 255
                        description: The expanded (translated) message for ext. tools
                      MSCGLID:
                        type: string
                        maxLength: 50
                        description: 'Alert: Message container: global external line ID'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  AID:
                    type: array
                    items:
                      type: object
                      properties:
                        ALSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        MSEGNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Segment'
                        ALUNIQNUM:
                          type: string
                          maxLength: 10
                          description: 'Alert: Unique Identifier to be used in AID (char10)'
                        ALINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle'
                        ALERTDATE:
                          type: string
                          format: date
                          description: 'Alert: date'
                        ALERTTIME:
                          type: string
                          maxLength: 6
                          description: 'Alert: Time value in timeformat'
                        DUMMYALIGN:
                          type: string
                          maxLength: 2
                          description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                  ALERTRC:
                    type: array
                    items:
                      type: object
                      properties:
                        RC:
                          type: integer
                          format: int32
                          description: 'Alert: Return Code'
                        ALSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        MSEGNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Segment'
                        ALUNIQNUM:
                          type: string
                          maxLength: 10
                          description: 'Alert: Unique Identifier to be used in AID (char10)'
                        ALINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle'
                        ALERTDATE:
                          type: string
                          format: date
                          description: 'Alert: date'
                        ALERTTIME:
                          type: string
                          maxLength: 6
                          description: 'Alert: Time value in timeformat'
                        DUMMYALIGN:
                          type: string
                          maxLength: 2
                          description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                        MTSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        MTMCNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Context'
                        MTNUMRANGE:
                          type: string
                          maxLength: 3
                          description: 'Alert: monitoring type number range (perm., temp, ...)'
                        MTUID:
                          type: string
                          maxLength: 10
                          description: 'ALert: Unique Identifier for  Monitoring Types (used in TID)'
                        MTCLASS:
                          type: string
                          maxLength: 3
                          description: 'Alert: monitoring type class (perf., single msg.,...)'
                        MTINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle for TID'
                        EXTINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle for TID'
                        VALUE:
                          type: integer
                          format: int32
                          description: 'Alert: alert value (1 = green, 2 = yellow, ....)'
                        SEVERITY:
                          type: integer
                          format: int32
                          description: 'Alert: severity (alerts, monitoring type custom..)'
                        STATUS:
                          type: integer
                          format: int32
                          description: 'Alert: general status (alert, Customizing, ...)'
                        OBJECTNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Object'
                        FIELDNAME:
                          type: string
                          maxLength: 40
                          description: 'ALert: Name of Monitoring Field'
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        USERID:
                          type: string
                          maxLength: 12
                          description: User Name
                        GONEDATE:
                          type: string
                          format: date
                          description: 'Alert: date'
                        GONETIME:
                          type: string
                          maxLength: 6
                          description: 'Alert: Time value in timeformat'
                        GONEDUMMY:
                          type: string
                          maxLength: 2
                          description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                        REPORTEDBY:
                          type: string
                          maxLength: 16
                          description: 'Alert: User (16 Char)'
                        STATCHGDAT:
                          type: string
                          format: date
                          description: 'Alert: date'
                        STATCHGTIM:
                          type: string
                          maxLength: 6
                          description: 'Alert: Time value in timeformat'
                        STATCHGDUM:
                          type: string
                          maxLength: 2
                          description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                        STATCHGBY:
                          type: string
                          maxLength: 16
                          description: 'Alert: Last Alert Status changed By'
                        TIMEOUTDAT:
                          type: string
                          format: date
                          description: 'Alert: date'
                        TIMEOUTTIM:
                          type: string
                          maxLength: 6
                          description: 'Alert: Time value in timeformat'
                        TIMEOUTDUM:
                          type: string
                          maxLength: 2
                          description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                        MSGCLASS:
                          type: string
                          maxLength: 16
                          description: 'XMI logging: company name of external management tool'
                        MSGID:
                          type: string
                          maxLength: 30
                          description: Message ID for an XMI log entry
                        MSGARG1:
                          type: string
                          maxLength: 128
                          description: Argument string for an XMI log
                        ARGTYPE1:
                          type: string
                          maxLength: 1
                          description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                          enum:
                          - C
                          - U
                          - T
                          - D
                        MSGARG2:
                          type: string
                          maxLength: 128
                          description: Argument string for an XMI log
                        ARGTYPE2:
                          type: string
                          maxLength: 1
                          description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                          enum:
                          - C
                          - U
                          - T
                          - D
                        MSGARG3:
                          type: string
                          maxLength: 128
                          description: Argument string for an XMI log
                        ARGTYPE3:
                          type: string
                          maxLength: 1
                          description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                          enum:
                          - C
                          - U
                          - T
                          - D
                        MSGARG4:
                          type: string
                          maxLength: 128
                          description: Argument string for an XMI log
                        ARGTYPE4:
                          type: string
                          maxLength: 1
                          description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                          enum:
                          - C
                          - U
                          - T
                          - D
                        MSGTEXT:
                          type: string
                          maxLength: 128
                          description: Actual text of message
                        MSG:
                          type: string
                          maxLength: 255
                          description: The expanded (translated) message for ext. tools
                        MSCGLID:
                          type: string
                          maxLength: 50
                          description: 'Alert: Message container: global external line ID'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
