How can i retrieve workers who have a particular hire date?
`/hcmRestApi/resources/11.13.18.05/workers?q=HireDate='2011-11-01'&onlyData=true`
When i run the above in Postman, i get the following message:
URL request parameter q with value HireDate='2011-11-01' is not valid.
Any ideas how i can restrict worker data by HireDate or even CreationDate?!
Thanks in advance, Zaf
I think the CreationDate
field is not queryable.
However if you can use the HireDate
then you can use "Like" or between query in the URL.
Example:
/hcmRestApi/resources/11.13.18.05/workers?q=CreationDate like '%2019-05-19%'
/hcmRestApi/resources/11.13.18.05/workers?q= HireDate between '2021-01-01' and '2021-01-01'
You can found more details about query parameters of Oracle Rest API in the following link:
Otherwise it will be a report that the responsible team will create for you and provide the corresponding API for it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.