openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IWB_IF_GET_UNREAD_MESSAGE:
    post:
      tags:
      - SI19
      operationId: /rfc/IWB_IF_GET_UNREAD_MESSAGE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COUNT:
                  type: integer
                  format: int32
                  description: Attribute Value
                ENTRY_TYPE:
                  type: string
                  maxLength: 64
                  description: Attribute Value
                LAST_USR_EMSG:
                  type: integer
                  format: int32
                  description: Express Message ID
                MESSAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: integer
                        format: int32
                        description: Message ID for System Message
                      EMTEXT:
                        type: string
                        maxLength: 60
                        description: Express message text
                      DATCRE:
                        type: string
                        format: date
                        description: Creation Date of System Message
                      TIMCRE:
                        type: string
                        maxLength: 6
                        description: Creation Time of System Message
                      DATDEL:
                        type: string
                        format: date
                        description: Expiration Date of System Message
                      TIMDEL:
                        type: string
                        maxLength: 6
                        description: Expiration Time of System Message
                      AUTHOR:
                        type: string
                        maxLength: 12
                        description: Author of express message
                      APPLSERVER:
                        type: string
                        maxLength: 20
                        description: Server Name
                      NOROW:
                        type: integer
                        format: int32
                        description: Number of lines in a system message
                      CUROW:
                        type: integer
                        format: int32
                        description: Number of lines in a system message
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      DATREM:
                        type: string
                        format: date
                        description: Deletion Date of a System Message
                      TIMREM:
                        type: string
                        maxLength: 6
                        description: Deletion Time of System Message
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language of System Messages
              required:
              - COUNT
              - ENTRY_TYPE
              - LAST_USR_EMSG
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MESSAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: integer
                          format: int32
                          description: Message ID for System Message
                        EMTEXT:
                          type: string
                          maxLength: 60
                          description: Express message text
                        DATCRE:
                          type: string
                          format: date
                          description: Creation Date of System Message
                        TIMCRE:
                          type: string
                          maxLength: 6
                          description: Creation Time of System Message
                        DATDEL:
                          type: string
                          format: date
                          description: Expiration Date of System Message
                        TIMDEL:
                          type: string
                          maxLength: 6
                          description: Expiration Time of System Message
                        AUTHOR:
                          type: string
                          maxLength: 12
                          description: Author of express message
                        APPLSERVER:
                          type: string
                          maxLength: 20
                          description: Server Name
                        NOROW:
                          type: integer
                          format: int32
                          description: Number of lines in a system message
                        CUROW:
                          type: integer
                          format: int32
                          description: Number of lines in a system message
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        DATREM:
                          type: string
                          format: date
                          description: Deletion Date of a System Message
                        TIMREM:
                          type: string
                          maxLength: 6
                          description: Deletion Time of System Message
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language of System Messages
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
