public bool DeleteAll(
string inUserID,
string inAccountID,
string inCampaignID,
string inDocumentID,
string inStatus,
string inType,
string inName,
string inCampaignName,
string inAccountName,
string inOrderBy,
int inPageSize,
int inPageIndex,
int inPageJobId,
string inEmailMarketingID
);
Parameters
inUserID
The ID of the uProduce user for whom these jobs are to be deleted.
NoteThis parameter is optional.
inAccountID
The ID of the Account whose jobs are to be deleted.
If this parameter is specified, the inAccountName parameter should
match it or be empty.
NoteThis parameter is optional.
inCampaignID
The ID of the Campaign whose jobs are to be deleted.
If this parameter is specified, the inCampaignName parameter should
match it or be empty.
NoteThis parameter is optional.
inDocumentID
The ID of the Document whose jobs are to be deleted.
NoteThis parameter is optional.
inStatus
The status of the jobs to be deleted. The available job statuses are
listed in the table below.
Value Description
1 Waiting
2 In progress
3 Completed
4 Failed
5 Aborting
6 Aborted
7 Deployed
8 Suspended
NoteThis parameter is optional.
inType
The type of jobs to be deleted. Specify the index of one of the job
types listed below.
Value Description
1 - PRINT A print job
2 - PROOF A proof job
3 - DOWNLOAD_DOCUMENT A Document created from a downloaded Document
package (DPKG)
4 - DOWNLOAD_CAMPAIGN A Campaign created from a downloaded Campaign
package (CPKG)
5 - PROOF_SET A Proof Set
8 - PORT A port
10 - EMAIL_MARKETING Email marketing
NoteThis is the only mandatory parameter.
inName
The name of the job to be deleted.
NoteThis parameter is optional.
inCampaignName
The name of the Campaign whose jobs are to be deleted.
If this parameter is specified, the inCampaignID parameter should
match it or be empty.
NoteThis parameter is optional.
inAccountName
The name of the Account whose jobs are to be deleted.
If this parameter is specified, the inAccountID parameter should match
it or be empty.
NoteThis parameter is optional.
inOrderBy
The property by which jobs to be deleted are to be sorted on the
search results page.
Specify one of the following:
jobID
userID
campaignID
documentID
jobName
jobType
jobSubmitTime
productionStartTime
productionEndTime
jobStatus
outputType
inPageSize
The maximum number of jobs to be deleted that are to be listed per
search results page.
NoteIf you do not wish to set a specific value, set this parameter to
-1.
inPageIndex
The number of the search results page listing the jobs to be deleted.
NoteIf you do not wish to set a specific value, set this parameter to
-1.
inPageJobId
The job ID listed on the search results page whose jobs are to be
deleted.
NoteIf you do not wish to set a specific value, set this parameter to
-1.
inEmailMarketingID
The ID of the email activity whose jobs are to be deleted. .
NoteIf you do not wish to set a specific value, set this parameter to
-1.
Return Value
Cheers ;)