openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_ALL_TASK_OF_FUNCTION_AREA:
    post:
      tags:
      - RHWC
      operationId: /rfc/RH_ALL_TASK_OF_FUNCTION_AREA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_BEGDA:
                  type: string
                  format: date
                  default: SY-DATUM
                ACT_ENDDA:
                  type: string
                  format: date
                  default: SY-DATUM
                ACT_PLVAR:
                  type: string
                  default: ' '
                  maxLength: 2
                AUTHORITY_CHECK:
                  type: string
                  default: X
                  maxLength: 1
                COUNT_ONLY:
                  type: string
                  maxLength: 1
                FUNCTION_AREA:
                  type: string
                  maxLength: 20
                TASK_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Standard Object Type
                      OBJID:
                        type: integer
                        format: int64
                        description: Object ID of Standard Object
                      SHORT:
                        type: string
                        maxLength: 12
                        description: Object Abbreviation
                      STEXT:
                        type: string
                        maxLength: 40
                        description: Object Name
              required:
              - FUNCTION_AREA
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TASK_COUNT:
                    type: integer
                    format: int32
                  TASK_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Standard Object Type
                        OBJID:
                          type: integer
                          format: int64
                          description: Object ID of Standard Object
                        SHORT:
                          type: string
                          maxLength: 12
                          description: Object Abbreviation
                        STEXT:
                          type: string
                          maxLength: 40
                          description: Object Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
