openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_MULTIPLE_OBJ_WI_SELECT:
    post:
      tags:
      - RHW3
      summary: 'PD: Read Work Items for Several Org. Objects'
      operationId: /rfc/RH_MULTIPLE_OBJ_WI_SELECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_OBJID:
                  type: string
                  maxLength: 12
                ACT_OTYPE:
                  type: string
                  maxLength: 2
                SEARCH_DATE:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Date for which data is read
                SEARCH_WEGID:
                  type: string
                  maxLength: 8
                WI_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      WI_ID:
                        type: integer
                        format: int64
                        description: Work item ID
                      GEN_WI:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      OBJID:
                        type: string
                        maxLength: 12
                        description: Agent ID in Organizational Management
              required:
              - ACT_OBJID
              - ACT_OTYPE
              - SEARCH_WEGID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  WI_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        WI_ID:
                          type: integer
                          format: int64
                          description: Work item ID
                        GEN_WI:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        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.
