openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DNO_OW_EXTERN_SELECT:
    post:
      tags:
      - DNO_OW_EXTERN
      summary: Select notifications
      operationId: /rfc/DNO_OW_EXTERN_SELECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_DATE_FROM:
                  type: string
                  format: date
                I_DATE_TO:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: End of selection
                I_STATUS:
                  type: string
                  default: '1'
                  maxLength: 1
                  description: Notification Status
                I_TYPE_NOTIF:
                  type: string
                  default: SLF1
                  maxLength: 6
                  description: Message category
                TE_MESSAGE_NUMBERS:
                  type: array
                  items:
                    type: object
                    properties:
                      NUMB:
                        type: string
                        maxLength: 12
                        description: Notification Number (External)
                      GUIDH:
                        type: string
                        format: byte
                        description: GUID Notification
              required:
              - I_DATE_FROM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TE_MESSAGE_NUMBERS:
                    type: array
                    items:
                      type: object
                      properties:
                        NUMB:
                          type: string
                          maxLength: 12
                          description: Notification Number (External)
                        GUIDH:
                          type: string
                          format: byte
                          description: GUID Notification
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
