Values missing for columns - Agent Schedules

Team,

We are not gettting values for key columns while querying Agent Schedules API instance.
Can you assist?

post_workforcemanagement_businessunit_week_schedule_agentschedules_query()

BUSINESSUNITID = NULL for every record
WEEK_ID = NULL for every record
METADATA_CREATEDBY_ID = NULL for every record
METADATA_DATECREATED = NULL for every record
WORKPLAN_MANAGEMENTUNIT_ID = NULL for every record
SCHEDULE = NULL for every record

Have you followed/tried the sample code in the SDK documentation

If you believe the API responses are missing data, please open a case with Genesys Cloud Care to investigate as we do not have access to your org's data via the forum.

I believe you're referring to this route here:
POST /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/agentschedules/query
As already mentioned above I can't debug your specific issue in the forums but I can give you some general tips:

  1. This route is a sometimes async route. This means the data can come back via a notification if the request takes too long, via this topic: v2.workforcemanagement.users.{id}.schedules.query. If your initial api response has a state of "Processing" then you need to look for the notification to receive the response. It is recommended to subscribe to this notification topic prior to attempting to make your schedule query. Note the user ID on this topic is the oauth client ID if querying via an oauth client.
  2. We don't typically send back data that you provided in your request, with the understanding that you have that information on hand already. So we don't even include business unit ID, week ID, schedule ID, etc

If you need more specific help please reach out to Care as Tim said above.

Thanks for your inputs Mostafa, Tim and Brian. Will open a case with Genesys Cloud care as suggested.

Cheers,
Sathish

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.