openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_USER_ID_GET:
    post:
      tags:
      - SOA3
      summary: Retrieve SAPoffice user ID
      operationId: /rfc/SO_USER_ID_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                USER_NAME:
                  type: string
                  maxLength: 12
                  description: SAPoffice name of user
              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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
