openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_USER_LIST_READ:
    post:
      tags:
      - SOA3
      operationId: /rfc/SO_USER_LIST_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                USER_GENERIC_NAME:
                  type: string
                  maxLength: 12
                  description: Generic SAPoffice user name
                USER_DISPLAY_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
              required:
              - USER_GENERIC_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  USER_DISPLAY_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.
