Forum Stats

  • 3,874,354 Users
  • 2,266,730 Discussions
  • 7,911,830 Comments

Discussions

hcmRestApi workers query name.LastName not working?

Martin...
Martin... Member Posts: 6 Green Ribbon
edited Dec 2, 2021 1:08PM in HCM Cloud Service

Hi,

On this page:

There is an example which says the API can be called as:

GET "https://<host>:<port>/hcmRestApi/resources/11.13.18.05/workers?q=names.LastName='Doe'"

When I try a query of this form, the response is always:

URLrequestparameterqwithvaluenames.LastName='Doe'isnotvalid.

Is it possible to confirm:

  1. Does this type of call work?
  2. Am I using the correct calling syntax?

Or am I missing something?

Tagged:

Answers