openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_NAMES_GET:
    post:
      tags:
      - SO13
      operationId: /rfc/SO_NAMES_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXTERN_ADDRESS:
                  type: string
                  default: X
                  maxLength: 1
                  description: Identification of a user or address
                INTERN_USER:
                  type: string
                  default: X
                  maxLength: 1
                  description: Identification of a user or address
                SAPOFFICE_USER_ONLY:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Search for internal addresses only
                SINGLE_SELECTION:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: only single selection possible
                SUPPRESS_DIALOG:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: No dialog, only list of selected users
                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
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  F_CANCELED:
                    type: string
                    maxLength: 1
                    description: No dialog, only list of selected users
                  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.
