Cloud Fax and Notifications API 2.4 Documentation
JobSubmit
Cloud Fax and Notifications API Forums Home  
    prev  next        Table of Contents  JobSubmit  
These pages describe an earlier version of the Cloud Fax and Notifications API.
While that version continues to function, new development should use the current version.
 

31.2 JobSubmitRequest

JobSubmit Overview   JobSubmitResult

Tag Name
& type
#Description
JobSubmitRequest   Namespace of this element is http://premconn.premiereconnect.com/JobSubmit/2009/07
   SubmitId
xs:string
0-1Optional string identifying request, which will be echoed in result.
   DocumentSet
DocumentSetType
0-1This optional tag can be used to contain documents that can be referred to in one or more message tags. If documents are not provided in this segment, then they can be provided directly in the message tags, but putting them here allows them to be used in more than one message without duplicating the entire document. DocumentSet may be empty or may contain one or more Document element children.
   Document
DocumentType
0-A document. See DocumentType.
   Message
MessageType
1-This tag must occur at least once. Each occurrence represents a request for a job to be submitted to an XDDS service.
The ability to include multiple Message elements allows multiple jobs to be submitted with a single Cloud Fax and Notifications API call, and may help users aggregate processing of a group of different job types. The intent is to facilitate processing of related messages (for example, if essentially the same notification is to be sent to both fax and email destinations in separate jobs), rather than to create large batches of distinct messages (for which multiple JobSubmit requests are recommended.) There may be undesirable effects, including long delays and in some cases rejection, for requests including many Message elements - no more than 10 or so is recommended.
   MessageId
xs:string
0-1This optional user-supplied string that may be included to identify the particular Message that contains it. The Cloud Fax and Notifications API will treat this value as opaque data and will return it in the results along with the result information for that particular message tag. The user may use this to relate particular results to parts of the request. This may be useful since each Message tag may succeed or fail independently to create a job, and if successful, will create different job numbers. The Cloud Fax and Notifications API will not know or remember this value outside of the processing of the request (which means that request or job status will not be available based on this value.)
If provided, the MessageId will be used as a "localid". Since the switch will not accept duplicate localids (even from different users!), this provides a way to prevent repeated Cloud Fax and Notifications API requests from generating duplicate jobs (intended as a short-term safeguard should results be lost due to network connection problems.) Localids may not be longer than 80 characters. Since localids must be unique across the whole system, the use of values unlikely to be accidentally duplicated is advisable.
To ensure a unique MessageId value unlikely to collide with those of another user, it is recommended that applications include some user-related string (keeping in mind the 80-character limit) in the value, such as a user id, or company URL or name, or a base64-encoded SHA based on some similar user-specific value.
See Duplicate Submission
   JobOptions
JobOptionsType
1This element contains all processing options for the job to be created from the message that contains it. Some child elements represent generally applicable option settings, and some are containers for options relating to particular kinds of deliveries.
   BillingCode
EncodableStringType
0-1A string of no more than 40 characters that will be used as the billing code of the job. This value is intended for use in invoice preparation, but it may appear in job status results and reports, and may be used to request job status. (See EncodableStringType.)
   CustomerReference
EncodableStringType
0-1A string of no more than 40 characters that will be used as the customer reference of the job. This value may appear in job status results and reports, and may be used to request job status. (See EncodableStringType.)
   Delivery
DeliveryType
0-1This contains items pertaining to the priority and scheduling of the job.
   Schedule
ScheduleType
0-1Indicates the kind of delivery scheduling desired. Legal values are:
  • express
  • offpeak
  • scheduled
If a StartTime is specified, express will be interpreted as scheduled. The default behavior is express.
   StartTime
xs:dateTime
0-1Indicates the time that deliveries should begin to be made. This element is required if the Schedule element is present and has the value "scheduled".
This value is necessary for jobs where VoiceOptions/RecipientTimezoneOption is "yes", in which case the timezone portion (if any) of the value is ignored.
   StopTime
xs:dateTime
0-1Specifies a time after which no more deliveries attempts (initial or retry) will be made.
   EncryptOptions
EncryptOptionsType
0-1Used to request encryption of various documents while stored on the switch.
   EncryptDoc
xs:boolean
0-1This boolean value (1/0/true/false) requests that the message document be encrypted when put in the switch document manager.
   EncryptReportDoc
xs:boolean
0-1This boolean value requests that the report document be encrypted when stored in the switch document manager.
   EncryptRecipientList
xs:boolean
0-1This boolean value requests that the recipient list be encrypted when stored on the switch.
   DatafeedOptions
DatafeedOptionsType
0-1This is used to specify the datafeed options to be used in connection with the job. These generally require prior arrangements to be made with EasyLink, and the child elements may reflect custom provisions for particular customers.
   DDSProcess
DDSProcessType
1Currently the only available type of DatafeedOptions. Not for general use.
   @datafeedName
xs:string
1Must contain specific value previously arranged with EasyLink.
   Domain
xs:string
0-1This allows specification of the EasyLink domain (case-sensitive) to which the job should be submitted for the delivery. If that domain is not available for the requester, the operation will fail.
If not specified, an appropriate domain for the user and message type will be selected for job submission. This selection will take into consideration switch availability and the requester's pre-set domains and failover configuration.
In general, this should not be specified, so that EasyLink processing can route traffic and adjust to circumstances that may be unknown to the requesting user.
   PriorityBoost
xs:boolean
0-1If present and "true" or "1", this element requests that delivery processing use a higher level of scheduling priority. This generally incurs greater cost.
   DeDuplicate
DeDuplicateType
0-1Container for destination deduplication option. This feature allows specification of the destination fields that must match in order to be considered duplicates.
   @deDupOption
DeDupOptionType
0-1This optional attribute can be:
defaultused to specify either that the default deduplication settings be used (controlled by profile and switch settings . the basic setting usually only checks the address type and normalized destination)
noneturns off deduplication processing
If this attribute is present at all, all child DeDuplicateField elements will be ignored.
   DeDuplicateField
DeDuplicateFieldType
0-The text contents of this element is the name of a destination field. If more than one DeDuplicateField is specified, then all of the fields (and only these fields) must match in order for the destinations to be considered duplicates.
   @segment
xs:string
0-1Currently, deduplication is only available using fields in the default ("USER") segment, so this attribute should not be used.
   DeliveryBlackout0-1This element allows a blackout schedule to be specified. The interaction of values specified here with switch and user settings is complex. See Delivery Blackout.
   BlackoutSchedule
BlackoutScheduleType
1-Container for a blackout schedule.
   @addrType
BlackoutAddressType
0-1Specifies the address type, which may be any address type or "default". If not specified, "default" is assumed.
   WeekDayInterval
WeekDayIntervalType
1-Each WeekDayInterval element specifies one continuous period of time during which delivery is to be blocked.
   @weekDay
WeekDayType
0-1Indicates the day of the week. Values include:
  • Sunday
  • Monday
  • Tuesday
  • Wednesday
  • Thursday
  • Friday
  • Saturday
If no weekDay is specified, then the interval will be applied to every day.
   IntervalBegin
HourMinuteType
1A clock time value (00:00-24:00) indicating the start of the period.
   IntervalEnd
HourMinuteType
1A clock time value (00:00-24:00) indicating the end of the period. If this time is earlier than the IntervalBegin value, it will be taken to be in the next day.
   EnhancedJobOptions0-1This is a group of job options primarily created for advanced and specialized applications. Profile default settings may apply if an option is not specified. Some options may only be effective if CDC delivery is used.
   CallingWindowRetry
YesNo
0-1Calling window retry indicates whether delivery-controller-level retries can span calling windows. If this is "no", dc-level retries cannot span calling windows. If "yes", dc-level retries can span calling windows.
   FaxDetection
YesNo
0-1If "yes", and delivery is via CDC, detecting a fax machine on a voice call will cause the CDC to immediately schedule another call to the same number with the document to be faxed.
   IVRMode
xs:string
0-1Determines if the Campaign allows recipient to call in to retrieve the outgoing message. Allowed values:
  • PIN
  • none
   PINExpiration
xs:string
0-1Defines the PIN lifetime. A system default will apply if this is not set. Format is <number>, where <unit> may be "d" (days), or "h" (hours)
   AttemptLogging
YesNo
0-1If "yes", all attempts will be logged
   CDCJob
YesNo
0-1"yes" indicates CDC processing is required.
   AnsweringMachineLogic
xs:string
0-1This element may have the following values and meanings:
msgmsgleave primary message on first answering machine and secondary message thereafter
hangupallhangup on all answering machines
hangupmsghangup on all except for the last attempt (in the last window)
msghangupleave primary message on first attempt and hang up thereafter
   LineItemCanc
YesNo
0-1"yes" requests support for line item cancellation.
   TransferTimeout
xs:int
0-1The time in seconds to wait for a call transfer to complete.
   AppType
xs:string
0-1Type of application. Legal values:
  • Preview
   PhoneTypeLists
xs:string
0-1Identifies the list used to determine the phone type of destination phone numbers.
   MultiMode
xs:boolean
0-1Indicates whether multi-mode processing is desired.
If this element is not set, then it will be assumed "true" if more than one option set (explicit or implied) is present in the Message. If only one option set is present, then MultiMode will be assumed to be "false".
If this element is explicitly set to "false", then only one option set may appear in the Message.
If MultiMode is "true", then MailMergeFaxOptions or EmailOptions may not appear in the Message.
   FaxOptions
FaxOptionsType
0-1This contains options relevant to fax deliveries, currently implying the use of XDDS. This tag may be empty, but still must be present to indicate fax delivery. See FaxOptions for the contents of this element.
   EnhancedEmailOptions
EnhancedEmailOptionsType
0-1This contains options relevant to email deliveries, and implies the use of messageREACH®. This tag may be empty, but still must be present to indicate email delivery through messageREACH®. See EnhancedEmailOptions for the contents of this element.
   VoiceOptions
VoiceOptionsType
0-1This contains options relevant to voice deliveries, currently implying the use of XDDS. This tag may be empty, but still must be present to indicate voice content. See VoiceOptions for the contents of this element.
   SmsOptions
SmsOptionsType
0-1This contains options relevant to SMS deliveries, currently implying the use of messageREACH®. (The availability of SMS delivery for your EasyLink service should be checked before using this.) This tag may be empty, but still must be present to indicate SMS content. See SmsOptions for the contents of this element.
   MailMergeFaxOptions
MailMergeFaxOptionsType
0-1Implies delivery through XDDS using MailMERGE service. This set of options is similar to FaxOptions but restricted due to the nature of the mailmerge process. Mailmerge data is always provided in the request as a CSV or Excel file. See MailMergeFaxOptions for the contents of this element.
   EmailOptions
EmailOptionsType
0-1Indicates basic email delivery. This tag may be empty, but still must be present to indicate email delivery through XDDS. In general, use of EnhancedEmailOptions may be preferable for primary email document delivery. See EmailOptions for the contents of this element.
   JobExtensions
JobExtensionsType
0-1This element may be used to permit access to job options not otherwise accessible through the Cloud Fax and Notifications API schema.
   Segment
SegmentType
1-JobExtensions may be divided into categories, and the segment will indicate the category.
   @name
xs:string
0-1The name of the segment. No name will indicate the default (USER) segment.
   Property1-This element will contain the specific extension value
   @name
xs:string
1The name of the extension. The following JobExtensions are currently defined:
SegmentPropertyDescription
USERutf8Used for specialized Mail2Fax jobs. May be "Y or "N".
   @b64charset
xs:string
0-1The value may be base64 encoded to convey data in a particular character set. See EncodableStringType.
   Destinations
DeliveryItemListType
1This element contains one or more destinations. See DeliveryItemListType.
   Reports
ReportOptionsType
0-1This element contains the specification of any reports that are required by the message. If the Reports element is present, only those reports specified will be generated - the Cloud Fax and Notifications API will not automatically request any additional report. If the Reports element is not present, the system will act based on the user profile.
   DeliveryReport0-1Requests the delivery report for the current message. The report may be sent to one or more destinations and the report template can be chosen.
This item has different meanings for different systems. For faxREACH® and voiceREACH®, it means a completion report. For messageREACH®, this means a posting report, i.e. a report sent after all primary deliveries have completed. To order a completion report for messageREACH®, one must specify the FinalReport element.
   DeliveryReportType
MainReportTypeEnum
1Specifies the type of report to be generated. Legal values are:
  • none
  • summary
  • detail
  • exception
  • conditional
  • pull
  • enhanced
Note that the enhanced option is only processable for jobs handled by messageREACH®.
   ReportAddress
DeliveryItemListType
0-1This element is contains one or more destinations. See DeliveryItemListType.
   ReportTemplate
xs:string
0-1The value must be the name of a previously established report template. The name should not include the internally applied prefix "report_".
Note that templates for enhanced reports are stored differently, and the template name should include an ownership character prefix, and a format suffix. For example, one of the system-wide templates available is "$enhancedposting.pdf".
   FriendReport0-1A friend report reports on new jobs created when recipients use the Send-a-friend feature to forward the original message to their friends. This report is only appropriate when the send-a-friend feature is enabled, which can be done through the use of the JobOptions/EnhancedEmailOptions/AutoSendFriend element.
Friend reports are only possible for jobs handled by messageREACH®.
Privacy dictates that the addresses of the send-a-friend recipients are not disclosed unless those individuals choose to be added to the customer list. The report may be sent to one or more destinations and the report template can be specified.
   FriendReportType
FriendReportTypeEnum
1The type of friend report. Legal values are:
  • none
  • summary
  • detail
  • exception
  • conditional
  • pull
  • enhanced
   ReportAddress
DeliveryItemListType
0-1This element is contains one or more destinations. See DeliveryItemListType.
   FriendReportTemplate
xs:string
0-1The value must be the name of a previously established report template. The name should not include the internally applied prefix "report_".
Note that templates for enhanced reports are stored differently, and the template name should include an ownership character prefix, and a format suffix.
   FinalReport0-1Requests a report on a job when a job completes. Jobs handled by messageREACH® are not "complete" until the job expires, since activity (e.g. pulls) may continue after deliveries are done.
Final reports are only possible for jobs handled by messageREACH®
   ReportType
AllReportTypeEnum
1Type of final report. Legal values are:
  • none
  • summary
  • detail
  • exception
  • conditional
  • pull
  • badaddress
  • enhanced
   ReportAddress
DeliveryItemListType
0-1This element is contains one or more destinations. See DeliveryItemListType.
   ReportTemplate
xs:string
0-1The value must be the name of a previously established report template. The name should not include the internally applied prefix "report_".
Note that templates for enhanced reports are stored differently, and the template name should include an ownership character prefix, and a format suffix.
   ProgressReport0-1This requests a series of reports generated after the job is set up and prior to job completion or expiration and at the specified intervals.
Note that a user profile may contain interval information which is necessary in order to actually get progress reports. Unless that is set, ProgressReportIntervals must be specified here.
   ProgressReportType
AllReportTypeEnum
1Type of progress report. Legal values are:
  • none
  • summary
  • detail
  • exception
  • conditional
  • pull
  • badaddress
  • enhanced
Note that the enhanced option is only processable for jobs handled by messageREACH®.
   ReportAddress
DeliveryItemListType
0-1This element is contains one or more destinations. See DeliveryItemListType.
   ProgressReportTemplate
xs:string
0-1The value must be the name of a previously established report template. The name should not include the internally applied prefix "report_".
Note that templates for enhanced reports are stored differently, and the template name should include an ownership character prefix, and a format suffix.
   ProgressReportIntervals
xs:string
0-1This value may be "no", or a space-separated list of numbers indicating the intervals, in minutes, between progress report generation. For example, the value of "5 10 15 11" indicates that the first report should be generated 5 minutes after the base time indicated by the ProgressReportBase element, another one 10 minutes later, the third one 15 minutes after the second one, etc.
Unless these intervals are set in the user's profile, this element is required to actually get progress reports.
   ProgressReportBase
xs:dateTime
0-1Specifies the time at which progress reports are to commence.
   Contents
ContentsType
1This element specifies the contents of the message being sent. The characteristics of documents that can be used are governed by the type of job being requested - see Message Content Structure.
   Part
ContentPartType
1-Indicates a document to be used in the message and additional directions for how the document is to be used.
A document is indicated using either a DocRef or Document element.
   DocRef
xs:string
1This indicates the use of a Document specified in the DocumentSet section of the JobSubmitRequest. The value of this element must match the Ref element of one such Document.
Document
DocumentType
1This puts the document right in the Contents section. See DocumentType.
   Treatment
TreatmentType
0-1Indicates the intended use of the document indicated by the part. If Treatment is not specified, it will be assumed to be "body". Legal values are:
body
this is the primary delivery document
attachment
indicates a "push" attachment for email delivery, or a component of a voice text-to-speech or voice script delivery.
pullfile
indicates a "pull" attachment; only appropriate when EnhancedEmailOptions is specified
voice_all
message to play in all circumstance; only appropriate when VoiceOptions is specified
voice_live
message to play if call answered by real person per PAMD algorithm; only appropriate when VoiceOptions is specified
voice_voicemail
message to play if call answered by answering machine per PAMD algorithm; only appropriate when VoiceOptions is specified
voice_whisper
TTS template used to generate the "whisper" content. Whisper is a .wav file that is played to the recipient of the transfer call to tell the call center operator who is transferring in.
voice_call_control
TTS template that is played to tell the recipient what their call control options are (like "press 1 to replay, 2 to pause, etc."). It is rendered from a TTS to a WAV by the system and played to the recipient at the beginning or end of the outbound message.
ezBanner
Causes document to be used as ezBanner template. Only appropriate when FaxOptions is specified.
docfx
Causes document to be used as docfx template. Only appropriate when FaxOptions is specified.
   PullfileOptions
PullfileOptionsType
0-1Only applicable when Treatment is "pullfile".
   Security
SecurityType
0-1Specifies the strength of the security to be used. Legal values are:
ValueDescription
noneNormal security. Implies use of standard http protocol.
40bitBetter security using 40bit keys. Implies use of https protocol.
128bitThe best security using 128bit keys. Implies use of https protocol.
   AutoPull
YesNo
0-1May have the values "yes" or "no". When set to "yes", messageREACH® automatically creates pull links or completes any that message body already contains. The default value is normally "yes".
   PasswordNeeded
YesNo
0-1Accepts the values of "yes" or "no. Indicates whether password protection is required for the current pull file. Not all the pull file have to have the password protection. If PasswordNeeded is set to "yes", then either the master password (JobOptions/EnhancedEmailOptions/PullPassword) or an individual destination password (Internet/Password) will be used to control access to the file.
   PasswordLimit
xs:int
0-1The number of times an unsuccessful password entry should be tried before generating a longer-lived error.
   AddrTypeUse
AddressType
0-Indicates the type of destination for which this Part is to be used. Currently, only these values are accepted:
  • fax
  • internet
  • voice
  • sms
  • URL
Specifying an AddrTypeUse implies the use of the associated option set, and will trigger multimode processing and validation. If AddrTypeUse is not specified, the Part will be used for all option sets present in the Message.
   Preview
xs:string
0-1If present, a preview will be generated and returned in the result. The resulting document format is determined by the value of this element. Valid values are:
  • TIFF
  • PDF
At least one fax address must be included in the Destinations. If the preview is successfully generated), the preview document will be returned in the JobSubmitResult.
It may take a little time to generate the preview document - generally the delay is less than a minute, but delays of several minutes are possible. Internally, the attempt will be abandoned if no result is obtained within 15 minutes.
Once a preview is generated, the job is "held" for up to an hour. The JobReviewAction function can be used to either accept the job, allowing it to proceed to delivery, or reject it, terminating processing.
If a duplicate request (detectable if and only if a MessageId is supplied) is received that requests Preview, the state of the previous submission will be checked. If the previous submission did not request Preview, or if it has already passed through the entire preview process (including accept/reject/timeout), then the duplicate request will be rejected. If the previous submission requested Preview, and the result is now available, then it will be returned. If the result is not yet available, then the Cloud Fax and Notifications API will wait for up to 15 minutes in case it becomes available.
 
    prev  next        Table of Contents  JobSubmit  
© Copyright 2020 OpenText Corp. All Rights Reserved.
Privacy Policy | Cookie Policy
This information is subject to change. Please check frequently for updates.
Modified October 06, 2020