Connect SOAP API Developer’s Guide Exploring the Operations

Exploring the Operations

This section describes the operations available using Xactly Connect.

addBatchEventsToQueue

The addBatchEventsToQueue operation enables you to add bulk batches to the pro- cess queue.

Table 96: addBatchEventsToQueue Operation Summary

Screen Shot 2016-07-29 at 8.06.37 AM

 

 

addCommissionReleaseTemplateToQueue

The addCommissionReleaseTemplateToQueue operation enables you to add com- mission release templates to the process queue.

Table 97: addCommissionReleaseTemplateToQueue Operation Summary

Screen Shot 2016-07-29 at 8.09.04 AM

 

 

addPeriodEventsToQueue

The addPeriodEventsToQueue operation enables you to add bulk period events to the queue process to delete staging/processed orders in a period.

Table 98: addPeriodEventsToQueue Operation Summary

Screen Shot 2016-07-29 at 8.09.50 AM

 

 

addProcessGroupEventsToQueue

The addProcessGroupEventsToQueue operation enables you add process group events to the process status queue.

Table 99: addProcessGroupEventsToQueue Operation Summary

Screen Shot 2016-07-29 at 8.11.17 AM

 

 

addReleasePartialHeldCommissionsToQueue

The addReleasePartialHeldCommissionsToQueue operation enables you to add release partial held commissions events to the queue process.

Table 100: addReleasePartialHeldCommissionsToQueue Operation Summary

Screen Shot 2016-07-29 at 8.11.17 AM

 

 

addReleaseHeldResultsToQueue

The addReleaseHeldResultsToQueue operation enables you to add release held credit, commission, or bonus result events to the queue process.

Table 101: addReleaseHeldResultsToQueue Operation Summary

Screen Shot 2016-07-29 at 8.23.26 AM

 

 

addSelectedItemEventsToQueue

The addSelectedItemEventsToQueue operation enables you to add staging/pro- cessed orders by identifier.

Table 102: addSelectedItemEventsToQueue Operation Summary

Screen Shot 2016-07-29 at 8.23.26 AM

 

 

addSinglePeriodProcessingEventsToQueue

The addSinglePeriodProcessingEventsToQueue operation enables you to add single period processes to the process queue. The operation returns a QueueRegionRe- sponse object which contains the queue region ID.

Table 103: addSinglePeriodProcessingEventsToQueue Operation Summary

Screen Shot 2016-07-29 at 8.25.51 AM

addVersion

The addVersion operation enables you to add a new version of an effective dated object, such as a Person and Position.

Table 104: addVersion Operation Summary

Screen Shot 2016-07-29 at 8.26.37 AM

 

calculateBatch

The calculateBatch operation enables you to start the calculation process on a specified batch in Processed Orders (either credit-only or through incentives).

Table 105: calculateBatch Operation Summary

Screen Shot 2016-07-29 at 8.28.15 AM

 

 

calculateBatchWithScenario

The calculateBatchWithScenario operation enables you to calculate batches with scenarios.

Table 106: calculateBatchWithScenario Operation Summary

Screen Shot 2016-07-29 at 8.29.51 AM

 

 

calculateScenario

The calculateScenario operation enables you to calculate one or more scenarios.

Table 107: calculateScenario Operation Summary

Screen Shot 2016-07-29 at 8.31.24 AM

 

 

delete

The delete operation enables you to delete one or more objects.

Table 108: delete Operation Summary

Screen Shot 2016-07-29 at 8.32.43 AM

 

 

deleteCustomReport

The deleteCustomReport operation enables you to delete custom reports.

Table 109: deleteCustomReport Operation Summary

Screen Shot 2016-07-29 at 8.34.12 AM

 

 

deleteEventsFromQueue

The deleteEventsFromQueue operation enables you to delete batch events from the queue.

Table 110: deleteEventsFromQueue Operation SummaryScreen Shot 2016-07-29 at 8.56.56 AM

 

 

deleteOrderDetailsByBatchAsync

The deleteOrderDetailsByBatchAsync operation enables you to delete order details asynchronously by batch.

Table 111: deleteOrderDetailsByBatchAsync Operation Summary

Screen Shot 2016-07-29 at 8.58.16 AM

 

 

deleteOrderDetailsByPeriodAsync

The deleteOrderDetailsByPeriodAsync operation enables you to delete order details asynchronously by period.

Table 112: deleteOrderDetailsByPeriodAsync Operation Summary

Screen Shot 2016-07-29 at 9.06.30 AM

 

deleteOrderItemsByBatchAsync

The deleteOrderItemsByBatchAsync operation enables you to initiate an asynchronous operation to delete Processed Orders, specified by batch.

Table 113: deleteOrderItemsByBatchAsync Operation Summary

Screen Shot 2016-07-29 at 9.07.45 AMScreen Shot 2016-07-29 at 9.07.53 AM

 

deleteOrderItemsByPeriodAsync

The deleteOrderItemsByPeriodAsync operation enables you to initiate an asynchronous operation to delete Processed Orders, specified by period.

Table 114: deleteOrderItemsByPeriodAsync Operation Summary

Screen Shot 2016-07-29 at 9.09.09 AM

 

deleteOrderItemsResultsByPeriodAsync

The deleteOrderItemsResultsByPeriodAsync operation enables you to delete pro- cessed orders asynchronously, by period name. When using this operation, you can use the getOrderDeleteStatus operation to determine the status of the asynchronous delete operation.

Table 115: deleteOrderItemsResultsByPeriodAsync Operation Summary

Screen Shot 2016-07-29 at 9.09.09 AM

 

 

deleteOrderStageByBatch

The deleteOrderStageByBatch operation enables you to delete orders from order staging, by batch.

Table 116: deleteOrderStageByBatch Operation Summary

Screen Shot 2016-07-29 at 9.16.11 AM

 

 

deleteOrderStageByBatchAsync

The deleteOrderStageByBatchAsync operation enables you to delete orders from order staging asynchronously, by batch.

Table 117: deleteOrderStageByBatchAsync Operation Summary

Screen Shot 2016-07-29 at 9.18.03 AM

 

 

deleteOrderStageByPeriod

The deleteOrderStageByPeriod operation enables you to delete orders from order staging, by period.

Table 118: deleteOrderStageByPeriod Operation Summary

Screen Shot 2016-07-29 at 9.20.25 AM

 

 

deleteOrderStageByPeriodAsync

The deleteOrderStageByPeriodAsync operation enables you to delete orders from order staging asynchronously, by period.

Table 119: deleteOrderStageByPeriodAync Operation Summary

Screen Shot 2016-07-29 at 9.32.11 AM

 

 

deleteProcessedOrderItemsByBatch

The deleteProcessedOrderItemsByBatch operation enables you to delete processed order items by batch.

Table 120: deleteProcessedOrderItemsByBatch Operation Summary

Screen Shot 2016-07-29 at 9.33.07 AM

 

 

deleteProcessedOrderItemsByPeriod

The deleteProcessedOrderItemsByPeriod operation enables you to delete processed order items by period.

Table 121: deleteProcessedOrderItemsByPeriod Operation Summary

Screen Shot 2016-07-29 at 9.34.11 AM

 

deleteVersion

The deleteVersion operation enables you to delete a version of an effective dated object, such as a Person and Position. Note that you can use the deleteVersion operation to delete a PositionHierarchyWSO object.

Table 122: deleteVersion Operation Summary

Screen Shot 2016-07-29 at 9.35.27 AM

 

describeXObject

The describeXObject operation enables you to retrieve metadata for the specified object type including field list, object properties, and data types.

Table 123: describeXObject Operation Summary

Screen Shot 2016-07-29 at 9.39.45 AM

 

 

download

The download operation enables you to download the file specified by the download identifier.

Table 124: download Operation Summary

Screen Shot 2016-07-29 at 9.41.25 AM

 

downloadEx

The downloadEx operation enables you to download objects in Xactly Credit Assignment.

Table 125: downloadEx Operation Summary

Screen Shot 2016-07-29 at 9.44.04 AM

 

downloadQueueEventErrors

The downloadQueueEventErrors operation enables you to download errors related to process queue events.

note: This operation currently only supports release commissions by template errors.

Table 126: downloadQueueEventErrors Operation Summary

Screen Shot 2016-07-29 at 9.47.03 AM

 

downloadUploadErrorLog

The downloadUploadErrorLog operation enables you to download errors that have occurred during Order and Quota upload operations.

The UploadResponse object that is returned following an upload operation contains only the first 22 errors. You can use the downloadUploadErrorLog operation to down- load all errors encountered during an upload operation (including the first 22 returned in the UploadResponse object).

To access the upload error log, do the following:

  1. Perform the Order and Quota upload operation.
  2. Check the result field in the UploadResponse object (returned by the upload operation).
  3. If the result is False (indicating an error), call the downloadUploadErrorLog operation (using the uploadId available in the UploadResponse object) to download all error messages.

Table 127: downloadUploadErrorLog Operation Summary

Screen Shot 2016-07-29 at 9.49.04 AM

 

downloadXObjectUploadErrors

The downloadXObjectUploadErrors operation enables you to download errors that have occurred during Hierarchy upload operations.

The UploadXObjectResponse object that is returned following an uploadXObject operation contains only the first 22 errors. You can use the downloadXObjectUpload- Errors operation to download all errors encountered during an uploadXObject operation (including the first 22 returned in the UploadXObjectResponse object).

To access the upload error log, do the following:

  1. Perform the Hierarchy upload operation.
  2. Check the result field in the UploadXObjectResponse object (returned by the uploadXObject operation).
  3. If the result is False (indicating an error), call the downloadXObjectUploadErrors operation (using the uploadId available in the UploadXObjectResponse object) to download all error messages.

Table 128: downloadXObjectUploadErrors Operation Summary

Screen Shot 2016-07-29 at 9.50.28 AM

 

editQueueProcessingState

The editQueueProcessingState operation allows you to modify the queue processing state (either start or stop the queue processing).

Table 129: editQueueProcessingState Operation Summary

Screen Shot 2016-07-29 at 9.51.13 AM

 

getActiveQueueRegions

The getActiveQueueRegions operation enables you to retrieve the active queue regions within a queue.

Table 130: getActiveQueueRegions Operation Summary

Screen Shot 2016-07-29 at 9.52.58 AM

 

getBusinessIdentifierToken

The getBusinessIdentifierToken operation enables you to get the business identifier token for the user that is currently logged in.

Table 131: getBusinessIdentifierToken Operation Summary

Screen Shot 2016-07-29 at 9.53.43 AM

 

getCalculationProcessDiagnostics

The getCalculationProcessDiagnostics operation enables you to retrieve the calcula- tion process diagnostics for the specified batch name. The getCalculationProcessDi- agnostics operation returns a CalculationResponse object.

Table 132: getCalculationProcessDiagnostics Operation Summary

Screen Shot 2016-07-29 at 9.55.54 AM

 

getCalculationProcessDiagnostics

The getCalculationProcessDiagnostics operation enables you to retrieve the calcula- tion process diagnostics for the specified batch name. The getCalculationProcessDi- agnostics operation returns a CalculationResponse object.

Table 133: getCalculationProcessDiagnostics Operation Summary

Screen Shot 2016-07-29 at 9.56.40 AM

 

getCreditAssignmentStatus

The getCreditAssignmentStatus operation enables you to retrieve the status of a credit assignment run.

Table 134: getCreditAssignmentStatus Operation Summary

Screen Shot 2016-07-29 at 9.57.21 AM

 

getEnhancedCalculationDiagnostics

The getEnhancedCalculationDiagnostics operation enables you to retrieve detailed information about a batch calculation process.

Table 135: getEnhancedCalculationDiagnostics Operation Summary

Screen Shot 2016-07-29 at 9.58.10 AM

 

getEventQueueStatus

The getEventQueueStatus operation enables you to retrieve the current queue status (whether the queue is started or paused).

Table 136: getEventQueueStatus Operation Summary

Screen Shot 2016-07-29 at 9.58.56 AM

 

getOrderDeleteStatus

The getOrderDeleteStatus operation enables you to determine the status of the cur- rent asynchronous delete operation. The getOrderDeleteStatus operation returns a DeleteResponse object.

Table 137: getOrderDeleteStatus Operation Summary

Screen Shot 2016-07-29 at 9.59.34 AM

 

getOrdersResultsDeleteStatus

The getOrdersResultsDeleteStatus operation enables you to determine the status of an asynchronous processed orders or staged orders delete operation.

Table 138: getOrdersResultsDeleteStatus Operation Summary

Screen Shot 2016-07-29 at 10.00.18 AM

 

getQueueEventErrors

The getQueueEventErrors operation enables you to retrieve the process queue event errors, in cases when errors were indicated by the getQueueStatusResponse operation (use the same eventWSO parameter as you used with the getQueueStatusResponse operation).

The getQueueEventErrors operation returns a QueueEventResponse object, which contains one or more error codes, with appropriate error messages, indicating any problems with the particular queue event.

Table 139: getQueueEventErrors Operation Summary

Screen Shot 2016-07-29 at 10.01.43 AM

 

getQueueProcessThroughErrorFlag

The getQueueProcessThroughErrorFlag operation enables you to retrieve the QUEUE_PROCESS_THROUGH_ERROR preference value for your business.

Table 140: getQueueProcessThroughErrorFlag Operation Summary

Screen Shot 2016-07-29 at 10.02.58 AM

 

getQueueStatusByRegion

The getQueueStatusByRegion operation enables you to retrieve the queue region status.

Table 141: getQueueStatusByRegion Operation Summary

Screen Shot 2016-07-29 at 10.04.31 AM

 

getQueueStatusResponse

The getQueueStatusResponse operation enables you to determine the status of a specific queue event based on the eventWSO parameter, which includes properties such as the transaction ID, batch name, and batch ID.

The getQueueStatusResponse operation returns a QueueEventResponse object, which has properties that indicate the status of the particular event (including whether the event has started or completed, or if the queue event has errors). If the queue event has errors, you can use the getQueueEventErrors operation to retrieve the errors.

Table 142: getQueueStatusResponse Operation Summary

Screen Shot 2016-07-29 at 10.06.45 AM

 

getUploadXObjectStatus

The getUploadXObjectStatus operation enables you to determine the status of the current asynchronous upload operation. The getUploadXObjectStatus operation returns an UploadXObjectResponse object.

Table 143: getUploadXObjectStatus Operation Summary

Screen Shot 2016-07-29 at 10.07.34 AM

 

getValidationErrorForTransaction

The getValidationErrorForTransaction operation enables you to retrieve the validation errors for the specified transaction ID. The getValidationErrorForTransaction operation returns a ValidationResponse object.

Table 144: getValidationErrorForTransaction Operation Summary

Screen Shot 2016-07-29 at 10.08.56 AM

Screen Shot 2016-07-29 at 10.09.04 AM

 

initiateDownload

The initiateDownload operation enables you to initiate a download by period for OrderStage, Credit, Commission, Bonus, DrawPeriod, CompOrderItem, or PaymentPeriod.

Table 145: initiateDownload Operation Summary

Screen Shot 2016-07-29 at 10.10.42 AM

 

initiateDownloadEx

The initiateDownloadEx operation enables you to initiate the download of objects in Xactly Credit Assignment.

Table 146: initiateDownloadEx Operation Summary

Screen Shot 2016-07-29 at 10.12.01 AM

 

isJobRunning

Xactly prevents you from running a job if it conflicts with another job already running within the system. For example, you cannot upload orders when a delete orders job is running. The isJobRunning operation enables you to determine if it is possible to per- form the job specified in the jobType parameter at the current time.

The operation returns False if there are no conflicting jobs running within Xactly, and returns True when a conflicting job would prevent you from running the specified job.

Table 147: isJobRunning Operation Summary

Screen Shot 2016-07-29 at 10.14.17 AM

 

The following table lists the values you can specify for the jobType parameter:

Table 148: JobType Values

Screen Shot 2016-07-29 at 10.15.01 AM

 

login

The login operation enables you to log in to the Xactly Incent application and start a client session.

note: Only Business Administrators can log into Xactly Incent using Connect. Table 149: login Operation Summary

Screen Shot 2016-07-29 at 10.20.14 AM

 

purgeAllBatchDataAsync

The purgeAllBatchDataAsync operation enables you to delete processed orders, the order stage, and the batch definition asynchronously, by batch name. When using this operation, you can use the getOrderDeleteStatus operation to determine the status of the asynchronous delete operation.

Table 150: purgeAllBatchDataAsync Operation Summary

Screen Shot 2016-07-29 at 10.23.12 AM

 

purgeAllPeriodDataAsync

The purgeAllPeriodDataAsync operation enables you to delete processed orders, the order stage, and the batch definition asynchronously, by period name. When using this operation, you can use the getOrderDeleteStatus operation to determine the status of the asynchronous delete operation.

Table 151: purgeAllPeriodDataAsync Operation Summary

Screen Shot 2016-07-29 at 10.27.22 AM

 

queryDocumentStatus

The queryDocumentStatus operation enables you to query the status of a document.

Table 152: queryDocumentStatus Operation Summary

Screen Shot 2016-07-29 at 10.30.26 AM

 

reassignOrderStageBatch

The reassignOrderStageBatch operation enables you to reassign Order Stage objects from one batch to another batch.

Table 153: reassignOrderStageBatch Operation Summary

Screen Shot 2016-07-29 at 10.32.35 AMScreen Shot 2016-07-29 at 10.32.51 AM

 

releaseBonus

The releaseBonus operation enables you to release a specified bonus result.

Table 154: releaseBonus Operation Summary

Screen Shot 2016-07-29 at 10.36.04 AM

 

releaseCommission

The releaseCommission operation enables you to release a specified commission result.

Table 155: Operation Summary

Screen Shot 2016-07-29 at 10.37.53 AM

 

releaseCredit

The releaseCredit operation enables you to release a specified credit result.

Table 156: releaseCredit Operation Summary

Screen Shot 2016-07-29 at 10.38.33 AM

 

resumeSummaryReportsRefreshProcess

The resumeSummaryReportsRefreshProcess operation enables you to resume the sum- mary reports refresh process for the business. The operation takes effect on the next report refresh run.

Table 157: resumeSummaryReportsRefreshProcess Operation Summary

Screen Shot 2016-07-29 at 10.42.25 AM

 

routeDocument

The routeDocument operation enables you to route documents.

Table 158: routeDocument Operation Summary

Screen Shot 2016-07-29 at 10.43.17 AM

 

runCreditAssignment

The runCreditAssignment operation enables you to trigger a credit assignment run,

Table 159: runCreditAssignment Operation Summary

Screen Shot 2016-07-29 at 10.44.13 AM

 

Save

The save operation enables you to add or update one or more objects (except Order Stage objects). To save Order Stage objects, use the saveOrderStage operation.

Table 160: save Operation Summary

Screen Shot 2016-07-29 at 10.45.01 AM

saveCustomReport

The saveCustomReport operation enables you to save a custom report in PDF and Excel formats.

Table 161: saveCustomReport Operation Summary

Screen Shot 2016-07-29 at 10.52.21 AM

 

saveCustomReport

The saveCustomReport operation enables you to save a custom report in PDF and Excel formats.

Table 162: saveCustomReport Operation Summary

Screen Shot 2016-07-29 at 10.54.53 AM

 

saveExternaltaskResponse

The saveExternaltaskResponse operation enables you to save the status of external processes. The saveExternaltaskResponse operation returns a ExternalTaskRespon- seWSO object.

Table 163: saveExternaltaskResponse Operation Summary

Screen Shot 2016-07-29 at 10.57.28 AM

 

saveOrderStage

The saveOrderStage operation enables you to save an array of orders to Order Stag- ing. Note that you can use the saveOrderStage operation to create new Order Stage objects but not to update existing Order Stage objects.

Table 164: saveOrderStage Operation Summary

Screen Shot 2016-07-29 at 10.58.42 AM

 

saveUserPersonWorkflow

The saveUserPersonWorkflow operation enables you to save User, Person, Position, and Position Hierarchy objects in a single operation.

note: This operation is intended to be used only for setting up new hires.

Table 165: saveUserPersonWorkflow Operation Summary

Screen Shot 2016-07-29 at 10.59.51 AM

 

saveVersion

The saveVersion operation enables you to save a version of an effective dated object, such as a Person and Position.

Table 166: saveVersion Operation Summary

Screen Shot 2016-07-29 at 11.00.34 AM

 

Search

The search operation enables you to perform a query against a specified object (using Query By Example).

You can also use the search and searchMore operations to search queue events and queue errors. To search for queue events, create a QueueEventWSO object and pass the queueRegionId and/or batchName search text values. By default, the search operation fetches 200 records.

If there are more than 200 records, you can make subsequent calls using the search- More operation using a startIndex and QueueEventWSO object. In this case, the queueRegionId parameter is mandatory and the batchName search text is optional.

To search for queue event errors, create a QueueEventErrorWSO object and pass the queueRegionId and/or batchName search text values. You can search for more than 200 records using the searchMore operation, as described earlier.

Table 167: search Operation Summary

Screen Shot 2016-07-29 at 11.01.22 AM

 

searchMore

The searchMore operation enables you to retrieve the next batch of objects from the search query.

Table 168: searchMore Operation Summary Screen Shot 2016-07-29 at 11.02.25 AM

 

submitForRankGroupPublish

The submitForRankGroupPublish operation enables you to submit a request to publish ranking data.

Table 169: submitForRankGroupPublish Operation Summary

Screen Shot 2016-07-29 at 11.03.02 AM

 

suspendSummaryReportRefreshProcess

The suspendSummaryReportRefreshProcess operation enables you to suspend the summary report refresh process for the business. The suspension affects all upcoming report refresh runs, and remains effective until the number of hours specified in the suspendThreshold parameter has elapsed.

Table 170: suspendSummaryReportRefreshProcess Operation Summary

Screen Shot 2016-07-29 at 11.12.31 AM

 

updateQueueProcessThroughErrorFlag

The updateQueueProcessThroughErrorFlag operation enables you to update the QUEUE_PROCESS_THROUGH_ERROR preference value for your business.

Table 171: updateQueueProcessThroughErrorFlag Operation Summary

Screen Shot 2016-07-29 at 11.13.54 AM

 

upload

The upload operation enables you to upload Excel .xls templates for CurrencyRate, OrderStage, Named Relationship, Person, Position, Quota, RateTable, and User objects. You can also upload Draw assignments and OrderStage objects using CSV (Comma Separated Value) format.

Note that you can upload Quotas based on assignments instead of Quota objects. Similarly, you can upload Rate Tables based on assignments instead of Rate Table objects. This means that you can update Quota and Rate Table assignments across multiple Quotas and Rate Tables respectively using a single upload.

note: Unlike the Xactly Incent application, Xactly Connect does not enable you to specify the following option when uploading Quotas: Allow mid-period dates and align to period start date.

Table 172: upload Operation Summary

Screen Shot 2016-07-29 at 11.15.59 AM Screen Shot 2016-07-29 at 11.16.11 AM

note: Contact Xactly Right Support for the template to upload Draw assignments.

uploadEx

The uploadEx operation enables you to perform upload operations in Xactly Credit Assignment.

Table 173: uploadEx Operation Summary

Screen Shot 2016-07-29 at 11.17.23 AM

 

uploadXObject

The uploadXObject operation enables you to upload Excel .xls templates for Hierarchy objects.

Table 174: uploadXObject Operation Summary

Screen Shot 2016-07-29 at 11.19.05 AM

 

validateBatch

The validateBatch operation enables you to start the validation process on a specified batch in Order Staging.

Table 175: validateBatch Operation Summary

Screen Shot 2016-07-29 at 11.20.02 AM

 

validateBatchWithScenario

The validateBatchWithScenario operation enables you to validate batches with scenarios.

Table 176: validateBatchWithScenario Operation Summary

Screen Shot 2016-07-29 at 11.21.24 AM