Discussions

Ask a Question
Back to All

GET Position break rules API

Hi there,
I am raise this discuss to sort out our concerns on the API v2. It's appreciated for your help in advance.

First one is related to GET Poistion break rules API, according to the documentation page, the API is:
https://www.humanity.com/api/v2/positions/schedule_id/breakrules?access_token=xxxxxxx

Particularly, I need need to supply a schedule_id for this API call. But what is a schedule in general, is it referring to shift?

Second question is more concerning to us, it's we are not able to fetch any results when we try to get shifts data for a child company. When can this endpoint:
https://www.humanity.com/api/v2/shifts/?child_company_id=xxxxxxxxx

The result returned with empty array for the data field. But if we remove the child_company_id we were able to fetch some data.

I hope I have made myself clear, and we could quickly jump on a call to discuss this further, it would be great.

Thanks again, for your kind help.

Regards,
Xi