openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_USER_ID_FROM_SAPNAM_GET:
    post:
      tags:
      - SOA3
      summary: Retrieve SAPoffice user ID
      operationId: /rfc/SO_USER_ID_FROM_SAPNAM_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                USER_NAME:
                  type: string
                  maxLength: 12
              required:
              - USER_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  USER_ID:
                    type: object
                    properties:
                      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
                      USRNAM:
                        type: string
                        maxLength: 12
                        description: SAPoffice user name
                      SAPNAM:
                        type: string
                        maxLength: 12
                        description: SAP name of a SAPoffice user
                      DELETED:
                        type: string
                        maxLength: 1
                        description: 'SAPoffice: Office user was deleted  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      ADRNAME:
                        type: string
                        maxLength: 35
                        description: Full name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
