openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_WI_ORGTASK_READ:
    post:
      tags:
      - RHW6
      operationId: /rfc/RH_WI_ORGTASK_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                WI_ID:
                  type: integer
                  format: int64
                  description: Work item ID
                WI_AGENTS:
                  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
                WI_ORGTASK:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      WI_ID:
                        type: integer
                        format: int64
                        description: Work item ID
                      ORG_OBJ:
                        type: string
                        maxLength: 14
                        description: Concatenated Identification (Type and ID) of Org.Objects
                      TASK_OBJ:
                        type: string
                        maxLength: 14
                        description: Task ID
                      NO_SEL:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Entry has no Relevance to Selection  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      FORWARD:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Work Item was Forwarded  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
              required:
              - WI_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  WI_AGENTS:
                    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
                  WI_ORGTASK:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        WI_ID:
                          type: integer
                          format: int64
                          description: Work item ID
                        ORG_OBJ:
                          type: string
                          maxLength: 14
                          description: Concatenated Identification (Type and ID) of Org.Objects
                        TASK_OBJ:
                          type: string
                          maxLength: 14
                          description: Task ID
                        NO_SEL:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Entry has no Relevance to Selection  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        FORWARD:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Work Item was Forwarded  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
