Outbound namespace

From Genesys Documentation
Revision as of 17:53, March 25, 2021 by Julie.munn@genesys.com (talk | contribs) (Published)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This topic is part of the manual Service Client API Reference for version Current of Developer.

Learn about the Outbound namespace methods in the Service Client API.

Methods

The Outbound namespace includes the following methods:

getCampaigns

Signature <static> getCampaigns(succeeded, failed)
Description Get the details of all outbound campaigns (loaded or active) for the current agent.
Parameters
Name Type Description
succeeded string The callback function to use if the operation succeeded.
failed string The callback function to use if the operation failed.

getPreviewRecord

Signature <static> getPreviewRecord(campaignName, succeeded, failed)
Description Get a preview record from Outbound Contact Server.
Parameters
Name Type Description
campaignName string The name of the outbound campaign.
succeeded string The callback function to use if the operation succeeded.
failed string The callback function to use if the operation failed.

callPreviewRecord

Signature <static> callPreviewRecord(interactionId,succeeded, failed)
Description Make a call using the preview record.
Parameters
Name Type Description
interactionId string The unique identifier for the interaction.
succeeded string The callback function to use if the operation succeeded.
failed string The callback function to use if the operation failed.

rejectPreviewRecord

Signature <static> rejectPreviewRecord(succeeded, failed)
Description Reject a pull preview, push preview, or direct push preview record.
Parameters
Name Type Description
succeeded string The callback function to use if the operation succeeded.
failed string The callback function to use if the operation failed.

cancelPreviewRecord

Signature <static> cancelPreviewRecord(succeeded, failed)
Description Cancel a pull preview, push preview, or direct push preview record.
Parameters
Name Type Description
succeeded string The callback function to use if the operation succeeded.
failed string The callback function to use if the operation failed.

startDirectPushPreview

Signature <static> startDirectPushPreview(succeeded, failed)
Description Send a Dialing Mode Start request to Outbound Contact Server to start sending direct push preview records to the agent.
Parameters
Name Type Description
succeeded string The callback function to use if the operation succeeded.
failed string The callback function to use if the operation failed.

stopDirectPushPreview

Signature <static> stopDirectPushPreview(succeeded, failed)
Description Send a Dialing Mode Stop request to Outbound Contact Server to stop sending direct push preview records to the agent.
Parameters
Name Type Description
succeeded string The callback function to use if the operation succeeded.
failed string The callback function to use if the operation failed.
Comments or questions about this documentation? Contact us for support!