Data Processing
FreshService Data Processing
Zluri fetches the list of users (agents) from FreshService, and this document provides an overview of how Zluri processes FreshService data and how the fetched data can be validated.
How Zluri Fetches the Agents' Data
Zluri retrieves the list of agents from FreshService by calling the following API:
https://api.freshservice.com/#list_all_agents/
Agent LicenseType Mapping
State Mapping:
The logic for processing FreshService agents' type data has been updated. The new processing logic is as follows:
- If active = true and occasional = true, the license is set to ‘Freshservice Occasional Agent License.’
- If active = true and occasional = false, the license is set to ‘Freshservice Full Agent License.’
- If active = false, no license is assigned.
Status Mapping:
The ‘Status’ codes define the user's status.
- Users with the key active = true are marked with ‘User Application Status’ = 'Active'.
- Users with the key active = false are marked with ‘User Application Status’ = ‘Inactive’.
Note: Users coming from earlier syncs, unlike the latest sync, are marked with ‘User Application Status’ = ‘Inactive.’
Reference: For additional information, you can refer https://developers.onelogin.com/api-docs/1/users/update-user
How to validate the data
Validating the Agents’ Licence Type:
- On your FreshService administrator account, navigate to the Agents page to view the list of all agents.
- Filter the agents' list using the ‘Occasional’ or ‘Full-time’ filters and match the count with the ‘Agent LicenseType’ count received from the API.
Validating Active User Count
- On your FreshService administrator account, navigate to the Agents page to view the list of all agents.
- Match the sum of the ‘Occasional’ and ‘Full-time’' counts to match the count of active users received from the API.
Updated about 1 month ago