openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/WK4_LOCAL_WI_FORWARD_01:
    post:
      tags:
      - WK41
      operationId: /rfc/WK4_LOCAL_WI_FORWARD_01
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CHECK_ORG_ASSIGNMENT:
                  type: string
                  default: X
                  maxLength: 1
                I_DEST_USER_PATTERN:
                  type: string
                  maxLength: 35
                I_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                I_USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                I_WIID:
                  type: integer
                  format: int64
                ET_USER_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      SAPNAM:
                        type: string
                        maxLength: 12
                        description: SAP name of a SAPoffice user
                      USRNAM:
                        type: string
                        maxLength: 12
                        description: SAPoffice user name
                      OCSNAM:
                        type: string
                        maxLength: 10
                        description: Name of the SAPoffice user in OCS
                      USRTP:
                        type: string
                        maxLength: 3
                        description: User type from ID
                      USRYR:
                        type: string
                        maxLength: 2
                        description: User year from the ID
                      USRNO:
                        type: string
                        maxLength: 12
                        description: User number from the ID
                      ADRNAME:
                        type: string
                        maxLength: 35
                        description: Name in address management
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_MESSAGE:
                    type: string
                    maxLength: 120
                  E_RETCODE:
                    type: integer
                    format: int32
                  ET_USER_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        SAPNAM:
                          type: string
                          maxLength: 12
                          description: SAP name of a SAPoffice user
                        USRNAM:
                          type: string
                          maxLength: 12
                          description: SAPoffice user name
                        OCSNAM:
                          type: string
                          maxLength: 10
                          description: Name of the SAPoffice user in OCS
                        USRTP:
                          type: string
                          maxLength: 3
                          description: User type from ID
                        USRYR:
                          type: string
                          maxLength: 2
                          description: User year from the ID
                        USRNO:
                          type: string
                          maxLength: 12
                          description: User number from the ID
                        ADRNAME:
                          type: string
                          maxLength: 35
                          description: Name in address management
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
