---
title: "UserInput"
url: "https://developers.vzconnect.com/apis/user-api/versions/8058c80f-08ad-4baf-8fda-034794ba017a/schemas/UserInput"
---

> Full API specification: https://developers.vzconnect.com/apis/user-api/versions/8058c80f-08ad-4baf-8fda-034794ba017a.md

# UserInput

The request body fields provided when creating (POST) or editing (PUT) a user record.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: User API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
components:
  schemas:
    UserInput:
      type: object
      description: The request body fields provided when creating (POST) or editing
        (PUT) a user record.
      required:
        - FirstName
        - LastName
        - EmailAddress
        - EmployeeId
      properties:
        FirstName:
          type: string
          description: The first name of the user.
          example: Lonny
        LastName:
          type: string
          description: The last name of the user.
          example: Arking
        EmailAddress:
          type: string
          description: The email address for the user. The email address is also the
            REVEAL username login and is mandatory when creating a user record.
          example: user@example.com
        EmployeeId:
          type: integer
          description: Employee ID is the unique identifier for the user within REVEAL.
            Not a mandatory field within the REVEAL account, but required for
            the API.
          example: 777099
        MobileNumber:
          type: string
          nullable: true
          description: The phone number for the user.
          example: null
        IsAdministrator:
          type: boolean
          default: false
          description: Boolean field for true or false. Default is false. True indicates
            that the user is an Administrator for the referenced REVEAL account.
          example: true
        IsRegionalAdministrator:
          type: boolean
          default: false
          description: Boolean field for true or false. Default is false. Can only be set
            to true if the corresponding REVEAL account is enabled with Regional
            Administration permission.
          example: false
        Role:
          type: string
          nullable: true
          description: "The name of the role applied to the user. Required when creating a
            user: it must match the name of an existing role in the REVEAL
            account, including for Administrators and Regional Administrators."
          example: Demo
        TimeZone:
          type: string
          nullable: true
          description: The time zone selection for the user. Follows ISO time zone
            abbreviations. If NULL, defaults to the Account Preferences
            selection.
          example: null
        Region:
          type: string
          nullable: true
          description: The Region selection for the user. Follows ISO alpha 3 country codes.
          example: null
        Language:
          type: string
          nullable: true
          description: The Language selection for the user. Follows IETF language tags.
          example: null
        IsDriver:
          type: boolean
          default: false
          description: Boolean field for true or false. Default is false. If the user
            should also be a Driver, a unique Driver Number must also be
            provided.
          example: false
        DriverNumber:
          type: string
          nullable: true
          description: The Driver Number is the unique identifier used to reference the
            driver within the API. Required for the API when the user is a
            Driver.
          example: null
```
