openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_INBOX_ENTRIES_COUNT:
    post:
      tags:
      - SO02
      operationId: /rfc/SO_INBOX_ENTRIES_COUNT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SAPNAME:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: SAPuser whose inbox is to be viewed
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  COUNTER_APPT:
                    type: integer
                    format: int32
                    description: '>0 : unread messages'
                  COUNTER_EXPRESS:
                    type: integer
                    format: int32
                    description: '>= : unread express messages'
                  COUNTER_READ:
                    type: integer
                    format: int32
                    description: '>0 : unread messages'
                  COUNTER_RESUB:
                    type: integer
                    format: int32
                    description: '>0 : unread resubmissions'
                  COUNTER_WORKITEM:
                    type: integer
                    format: int32
                    description: '>0 : unread messages'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
