openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_WI_AGENT_EXECUTE_CHECK:
    post:
      tags:
      - RHW1
      summary: Check whether work item may be edited
      operationId: /rfc/RH_WI_AGENT_EXECUTE_CHECK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHECK_ORG_RESTRICTION:
                  type: string
                  maxLength: 1
                INBOX_FCODE:
                  type: string
                  default: ' '
                  maxLength: 70
                  description: Screens, Function Code Triggered by PAI
                INBOX_USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                IV_DO_COMMIT:
                  type: string
                  default: X
                  maxLength: 1
                ORIGIN_OBJID:
                  type: string
                  maxLength: 12
                ORIGIN_OTYPE:
                  type: string
                  maxLength: 2
                SEARCH_DATE:
                  type: string
                  format: date
                  default: SY-DATUM
                WI_ID:
                  type: integer
                  format: int64
                IT_INBOX_VIEW:
                  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
                      REPPR:
                        type: string
                        maxLength: 12
                        description: Substitute Profile
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Substitution Active  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
              required:
              - WI_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_INBOX_VIEW:
                    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
                        REPPR:
                          type: string
                          maxLength: 12
                          description: Substitute Profile
                        ACTIVE:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Substitution Active  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
