Ongoing Imports: Configuring the API for Import Map Details
Configure the parameters for the import file.
To configure the API:
- Go to System Admin > Advanced > API Configuration.
The API Configuration dashboard opens. - On the PrismHRAPI item, click (Open).
- Configure as appropriate for your organization. The API Configuration fieldset connects the specific PrismHR installation for the client.
API Type | Select PrismHR API. | ||||||||||||
Application Code | Use a unique value to denote the PrismHR installation, such as PrismHRAPI. | ||||||||||||
Application Name | A description that displays in the ClientSpace lists. Use something to indicate the installation, such as PrismHR API. | ||||||||||||
Username | The username registered with the PrismHR API for this site. | ||||||||||||
Password | The password that is associated with the PrismHR Account Username for this site. | ||||||||||||
Description | Provide a description. | ||||||||||||
Endpoint |
A formatted URL pointing to the API services for the specific PrismHR client and site (must include the trailing / character).
For the GetPayrollBatchCutoffDate parameter, specify version 1.22 or higher of the PrismHR API. Note: Failure to update the version in the API Endpoint config results in the following error in the API log: Error Processing Batch Control Info '202023.104', error=Unexpected character encountered while parsing value: }. Path 'PayrollBatchWithOptionsResponse', line 1, position 35., queue record will be in Pending status. |
||||||||||||
Secondary ID | An identifier that is used to enable the monitoring of all PrismHR clients at an installation. | ||||||||||||
Logging Level |
|
||||||||||||
Active | When this option is selected, the configuration is active (enabled). |
To configure Additional Parameters:
This is where you specify a set of name-value pairs to configure the process.
-
Click Add Parameter.
A new row opens. -
Select from the following list to add parameters.
Parameter |
Value settings |
---|---|
AllowUserTypes |
Defines the types of users included in a user import:
|
BillingBatchCount |
Controls the number of payroll batches processed at once during the PrismHR Import Payroll Batch Complete scheduled process (which is one of two scheduled processes used by the Payroll Batch process.) By default, it is set to 250. This means that an import file containing more than 250 batches is processed in chunks of 250 to reduce impact on the server. Also see Configuring the Payroll Batch Scheduled Processes. |
CanCreateWorkspaces |
Created to support multi-tenant environments where there are multiple PrismHR API imports and a need to specify which PrismHR import feeds create a new workspace from an import record and which do not.
When PrismHR nightly imports run, ClientSpace evaluates each import file to determine if the PEOID in the import file matches the Secondary ID entered on the API Configuration record. If there is a match, ClientSpace then references the CanCreateWorkspaces parameter to determine if a workspace should be created using the following logic:
|
ContactImportBehavior |
|
DefaultProjectCode |
Defines where an employee portal case is created if no workspace match is found. Uses ProjectCode from workspace settings. |
ExcludeCompanyFromSync |
|
ExcludedContractTypes |
ASO and HRO are the PrismHR Service Types that should not be imported into ClientSpace. |
ExcludeEmailDomains |
Email domains that should not be imported into ClientSpace. Supports comma-separated list. |
ExcludeUserNames |
User names that should not be imported into ClientSpace. |
FailureRetryTime |
|
GetPayrollBatchCutoffDate |
Remote Cutoff Date is the deadline for reporting payroll.
GetPayrollBatchCutoffDate parameter requires version 1.22 or higher of the PrismHR API. Specify the version in the URL in Endpoint. For example, https://api.prismhr.com/api-1.22/services/. |
HRPRunImport |
|
NumberOfEvents |
Sets the max number of records to import per subscription record on each run of the HRPAPI_Ongoing import. Setting NumberOfEvents to 0 defaults the max records imported per subscription to 100. This parameter minimizes the risk of imports failing due to large record sets. |
OSHAYearsToProcess |
This parameter denotes the number of years to get the OSHA totals from PrismHR.
|
ProcessVouchers |
|
RequireBillingVouchers |
|
-
Click Save.
For GetPayrollBatchCutoffDate, ensure that the correct version of the PrismHR API is reflected in the Endpoint URL. After the scheduled process runs, review the API log for any errors.