Genesys Python SDK Returing Different Methods

Hello,

I'm testing Genesys Webhook on Upflow and I'm getting a different API definition (some methods are missing) than when I run it locally. Specifically, the following methods are not present when running via Upflow:

    ['delete_workforcemanagement_calendar_url_ics', 
    'delete_workforcemanagement_managementunit_timeofflimit', 
    'delete_workforcemanagement_managementunit_timeoffplan', 
    'get_workforcemanagement_adherence_historical_job', 
    'get_workforcemanagement_calendar_data_ics',
     'get_workforcemanagement_calendar_url_ics', 
     'get_workforcemanagement_managementunit_timeofflimit', 
     'get_workforcemanagement_managementunit_timeofflimits', 
     'get_workforcemanagement_managementunit_timeoffplan', 
     'get_workforcemanagement_managementunit_timeoffplans', 
     'get_workforcemanagement_managementunit_user_timeoffrequest_timeofflimits', 
     'get_workforcemanagement_timeoffrequest_waitlistpositions', 
     'patch_workforcemanagement_managementunit_timeofflimit', 
     'patch_workforcemanagement_managementunit_timeoffplan', 
     'post_workforcemanagement_businessunit_week_schedule_update', 
     'post_workforcemanagement_businessunit_week_schedule_update_uploadurl', 
     'post_workforcemanagement_businessunit_week_schedules_import', 
     'post_workforcemanagement_businessunit_week_schedules_import_uploadurl', 
     'post_workforcemanagement_businessunit_week_shorttermforecasts_import', 
     'post_workforcemanagement_businessunit_week_shorttermforecasts_import_uploadurl', 
     'post_workforcemanagement_calendar_url_ics', 'post_workforcemanagement_managementunit_timeofflimits', 
     'post_workforcemanagement_managementunit_timeofflimits_values_query', 
     'post_workforcemanagement_managementunit_timeoffplans', 
     'post_workforcemanagement_managementunit_timeoffrequests_waitlistpositions_query', 
     'post_workforcemanagement_timeofflimits_available_query', 
      'put_workforcemanagement_managementunit_timeofflimit_values']

Any idea what could be causing this? This is specifically what I'm attempting to run that brought to my attention some methods are missing: https://developer.genesys.cloud/devapps/sdk/docexplorer/purecloudpython/WorkforceManagementApi#get_workforcemanagement_adherence_historical_job

Regards,
Maurice

If you're looking for information on Genesys Cloud Webhooks, you can find that information here: https://developer.genesys.cloud/platform/webhooks/. However, everything other than the title of your post seems to relate to the Python SDK, not webhooks.

I spot checked several of the methods in the list, and they are definitely in the SDK's source code. My best guess is that Uplift is pulling in an older version of the SDK that does not contain those resources. Verification of those methods in the SDK: https://github.com/MyPureCloud/platform-client-sdk-python/blob/master/build/PureCloudPlatformClientV2/apis/workforce_management_api.py#L643

Thanks for the speedy response @tim.smith . I've updated the title of the thread to make it less confusing.

Is there anything we need to add to the config to hit the latest version of the SDK at all times? Here's a screenshot of what's being passed currently. Any specific port that we need to add?

Genesys Cloud only supports HTTPS, so you must always use the standard port of 443.

I'm not familiar with Upflow or how it's consuming our Python SDK. I'd recommend contacting Upflow for assistance configuring their service. If you have any specific questions about Genesys Cloud, we can help with those here.

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