openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_AGENTS_OF_TASK_GET:
    post:
      tags:
      - RHWF
      operationId: /rfc/RH_AGENTS_OF_TASK_GET
      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
                  maxLength: 2
                ACT_TASK:
                  type: string
                  maxLength: 14
                ACT_WEGID:
                  type: string
                  default: TASK_USR
                  maxLength: 8
                AUTHORITY_CHECK:
                  type: string
                  default: X
                  maxLength: 1
                READ_NAME:
                  type: string
                  maxLength: 1
                AGENTS_NAME:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECT:
                        type: string
                        maxLength: 14
                        description: Concatenated Identification (Type and ID) of Org.Objects
                      STEXT:
                        type: string
                        maxLength: 40
                        description: Object Name
                AGENTS_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      OBJID:
                        type: string
                        maxLength: 12
                        description: Agent ID in Organizational Management
              required:
              - ACT_TASK
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  AGENTS_NAME:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECT:
                          type: string
                          maxLength: 14
                          description: Concatenated Identification (Type and ID) of Org.Objects
                        STEXT:
                          type: string
                          maxLength: 40
                          description: Object Name
                  AGENTS_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        OBJID:
                          type: string
                          maxLength: 12
                          description: Agent ID in Organizational Management
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
