openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_NAMES_FIND:
    post:
      tags:
      - SO13
      operationId: /rfc/SO_NAMES_FIND
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXTERNAL:
                  type: string
                  default: X
                  maxLength: 1
                INTERNAL:
                  type: string
                  default: X
                  maxLength: 1
                SINGLE_SELECTION:
                  type: string
                  default: ' '
                  maxLength: 1
                SUPPRESS_DIALOG:
                  type: string
                  default: ' '
                  maxLength: 1
                USE:
                  type: string
                  default: ' '
                  maxLength: 70
                USER:
                  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
                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
              required:
              - USER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  F_CANCELLED:
                    type: string
                    maxLength: 1
                  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.
