openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_NAME_CONVERT:
    post:
      tags:
      - SOA3
      operationId: /rfc/SO_NAME_CONVERT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DELETED_INCLUDED:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Flag: also deleted users are converted'
                NAME_IN:
                  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
                NO_ADDRESS_NAME:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Field string for SAPoffice names and SAP names
                NO_INSERT:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Field string for SAPoffice names and SAP names
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NAME_OUT:
                    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.
