Expensify Update Employee

Overview

The Expensify Update Employee Snap updates employee data on an Expensify account.


Expensify Update Employee Overview

Supported Accounts

Prerequisites

A valid Expensify Account.

Snap views

Type Description Examples of upstream and downstream Snaps
Input

This Snap has exactly one document input view. Input request data.

Output

This Snap has at most one document output view. The information about the updated employee.

Learn more about Error handling.

Snap settings

Note: Learn about the common controls in the Snap settings dialog.
Field/Field set Description
Label

String

Required. Specify a unique name for the Snap. Modify this to be more appropriate, especially if more than one of the same Snaps is in the pipeline.

Default value: Expensify Update Employee

Snap execution

Dropdown list
Choose one of the three modes in which the Snap executes. Available options are:
  • Validate & Execute. Performs limited execution of the Snap and generates a data preview during pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during pipeline runtime.
  • Execute only. Performs full execution of the Snap during pipeline execution without generating preview data.
  • Disabled. Disables the Snap and all Snaps that are downstream from it.

Default value: Execute only

Example: Execute only

Supported Attributes for Export Report operation

The details about attributes to be passed as input for update employees operation can be found at following link: update employee attributes.

The data attribute should also be passed to the array element 'data' of the input schema.

JSON for updating employees

{
             "inputSettings": {
            "type": "employees", "policyID":"0123456789ABCDEF", "fileType": "csv" },
               "data":     
            [ {
            "EmployeeEmail":"[email protected]", "ManagerEmail":"[email protected]", "Admin":true,
            "EmployeeUserId":"uid1001", "EmployeePayrollId":"pid1001",
            "ForwardManagerEmail":"[email protected]" }, { "EmployeeEmail":"[email protected]",
            "ManagerEmail":"[email protected]", "Admin":true, "EmployeeUserId":"uid1002",
            "EmployeePayrollId":"pid1002", "ForwardManagerEmail":"[email protected]" } ]
          }