Issue retrieving pseudonymised employees

Posts about the simPRO API. Help/support/how-to etc.
Forum rules
  • Check the documentation first. Before posting questions, please check the documentation to ensure it doesn't already cover what you need.
  • No spam. All automated messages, advertisements, and links to competitor websites will be deleted immediately.
  • Post in relevant sub-forums only. Messages posted in the wrong topic area will be removed and placed in the correct sub-forum by moderators.
  • Respect other users. No flaming or abusing fellow forum members. Users who continue to post inflammatory, abusive comments will be deleted from the forum after two warnings are issued by moderators.
  • Harassment. No threats or harassment of other users will be tolerated. Any instance of threatening or harassing behavior is grounds for deletion from the forums.
  • Adult content. No profanity or pornography is allowed. Posts containing adult material will be deleted.
  • Bandwidth. All images and signatures must be 500 x 500 pixels or smaller. Posts containing over-sized images and signatures will be removed.
  • Illegal content. No re-posting of copyrighted materials or other illegal content is allowed. Any posts containing illegal content or copyrighted materials will be deleted.
Post Reply
JackEcuyer
Posts: 22
Joined: Tue Mar 12, 2024 3:32 pm

Issue retrieving pseudonymised employees

Post by JackEcuyer » Mon Nov 11, 2024 3:46 pm

There is an issue in the API related to retrieving pseudonymised employees.
They aren't returned via the retrieve all employees endpoint (/api/v1.0/companies/4/employees/)
and can only be retrieved via their specific ID (/api/v1.0/companies/4/employees/{ID})
i.e there are 100 employees in a company, if 2 are pseudonymised, the /employees/ endpoint returns 98 results
SimproAPITeam
Posts: 831
Joined: Wed May 01, 2024 2:31 am

Re: Issue retrieving pseudonymised employees

Post by SimproAPITeam » Thu Nov 14, 2024 11:39 pm

Hi JackEcuyer,
I'm not familiar with the pseudonymise function, this is not available through the API but there are some references in our Simpro documentation.

As described, all references are removed and their login credentials are deleted so they will not be returned on a regular GET query. Please note that regular archived employees are also not returned on the GET endpoint, only if you specify Archived to be false.

As the references to the pseudonymised employee is removed they can't be retrieved when getting data in the list view. With the correct ID the record can still be retrieved directly.

Regards
Simpro API Team | Simpro Software Group
Post Reply