openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LWE_USER_SEARCH:
    post:
      tags:
      - LWE_INSTANCE
      operationId: /rfc/LWE_USER_SEARCH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SEARCH_STRING:
                  type: string
                  default: '*'
                USER_NAME_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      BNAME:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                      PERSNUMBER:
                        type: string
                        maxLength: 10
                        description: Person number
                      NAME_LAST:
                        type: string
                        maxLength: 40
                        description: Last name
                      NAME_TEXT:
                        type: string
                        maxLength: 80
                        description: Full Name of Person
                      MC_NAMEFIR:
                        type: string
                        maxLength: 25
                        description: First name in upper case for search help
                      MC_NAMELAS:
                        type: string
                        maxLength: 25
                        description: Last name in upper-case for search help
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  USER_NAME_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        BNAME:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        PERSNUMBER:
                          type: string
                          maxLength: 10
                          description: Person number
                        NAME_LAST:
                          type: string
                          maxLength: 40
                          description: Last name
                        NAME_TEXT:
                          type: string
                          maxLength: 80
                          description: Full Name of Person
                        MC_NAMEFIR:
                          type: string
                          maxLength: 25
                          description: First name in upper case for search help
                        MC_NAMELAS:
                          type: string
                          maxLength: 25
                          description: Last name in upper-case for search help
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
