openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SALRT_GET_CATEGORIES:
    post:
      tags:
      - SALRT_CUST
      operationId: /rfc/SALRT_GET_CATEGORIES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IP_BYPASS_BUFFER:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Read directly from database
                IP_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                IP_WITH_CLASSTEXT:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Read Classification Info
                IT_CATEGORY:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Version Number Component
                      LOW:
                        type: string
                        maxLength: 30
                        description: Alert Category
                      HIGH:
                        type: string
                        maxLength: 30
                        description: Alert Category
                IT_CLASS:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Version Number Component
                      LOW:
                        type: string
                        maxLength: 30
                        description: Classification of Alert Category
                      HIGH:
                        type: string
                        maxLength: 30
                        description: Classification of Alert Category
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_CATEGORY:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        CATEGORY:
                          type: string
                          maxLength: 30
                          description: Alert Category
                        CLASS:
                          type: string
                          maxLength: 30
                          description: Classification of Alert Category
                        CLASSSPRAS:
                          type: string
                          maxLength: 1
                          description: Language Key
                        CLASSTEXT:
                          type: string
                          maxLength: 60
                          description: Description of Classification of Alert Category
                        PRIORITY:
                          type: string
                          maxLength: 1
                          description: Alert priority
                        CONTDEF:
                          type: string
                          maxLength: 32
                          description: ID for Parameter Condition
                        MAXDELVRY:
                          type: integer
                          format: int32
                          description: Maximum Number of Alert Deliveries
                        ESCACTIVE:
                          type: string
                          maxLength: 1
                          description: Escalation Active
                        ESCRECIPT:
                          type: string
                          maxLength: 12
                          description: Escalation Recipient
                        ESCTOLTIME:
                          type: integer
                          format: int64
                          description: Tolerance Time for Escalation in Minutes
                        DYNTEXT:
                          type: string
                          maxLength: 1
                          description: Dynamic Text
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language Key
                        DESCR:
                          type: string
                          maxLength: 60
                          description: Description of Alert Category
                        STEXTKEY:
                          type: string
                          maxLength: 70
                          description: Name
                        LTEXTKEY:
                          type: string
                          maxLength: 70
                          description: Name
                        EXPIRYTIME:
                          type: integer
                          format: int64
                          description: Expiry Time in Minutes
                        TTEXTKEY:
                          type: string
                          maxLength: 70
                          description: Name
                        NOEXTID:
                          type: string
                          maxLength: 1
                          description: Do not insert an external alert ID
                        ORIGLANG:
                          type: string
                          maxLength: 1
                          description: Original Language of the Alert Category
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Application Package of the Alert Category
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
