openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SALRT_GET_ALERT_TEXTS:
    post:
      tags:
      - SALRT_CUST
      operationId: /rfc/SALRT_GET_ALERT_TEXTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IP_CATEGORY:
                  type: string
                  maxLength: 30
                  description: Alert Category
                IP_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Text Language
                IP_LONGTEXT:
                  type: string
                  default: X
                  maxLength: 1
                  description: Read Long Text
                IP_SHORTTEXT:
                  type: string
                  default: X
                  maxLength: 1
                  description: Read Short Text
                IP_TITLE:
                  type: string
                  default: X
                  maxLength: 1
                  description: Read Title
                IT_CONTAINER:
                  type: array
                  items:
                    type: object
                    properties:
                      ELEMENT:
                        type: string
                        maxLength: 32
                        description: Element
                      TAB_INDEX:
                        type: integer
                        format: int64
                        description: Index for table element
                      ELEMLENGTH:
                        type: integer
                        format: int64
                        description: Length of the field in bytes
                      TYPE:
                        type: string
                        maxLength: 1
                        description: ABAP Type of element
                      VALUE:
                        type: string
                        maxLength: 255
                        description: Character value
              required:
              - IP_CATEGORY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EP_LONG_TEXT:
                    type: string
                    description: Read Long Text
                  EP_SHORT_TEXT:
                    type: string
                    description: Read Long Text
                  EP_TITLE:
                    type: string
                    description: Read Long Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
