TranslationJob 2.5 UpdateTranslationJob3

Adds/Changes/Deletes objects in the translation job XML.

Parameters

NameTypeDirectionDescription
psAuthContextStringInOutDeprecated proprietary authentication context only used by .ASMX web services based on internal username/password authentication. Claims based security standards drive all the WCF .SVC web services making this parameter redundant.
psTranslationJobIdStringInThe element name of the translation job
pasWriteAccessStringArrayInWrite access list
pasReadAccessStringArrayInRead access list
psXMLMetaDataStringInMetadata XML structure with the metadata that will be set on the current object
psXMLRequiredCurrentMetaDataStringInMetadata XML structure with the metadata that object is required to have set currently. The update of the object is only carried out when the object in Content Manager has exactly the same metadata specification, i.e. the metadata was not changed by someone else.
psXMLTranslationJobContainerListStringInThe Translation Job container List XML structure containing all changes that need to be made to the translation job containers
psXMLTranslationJobWorkflowListStringInThe Translation Job workflow List XML structure containing all changes that need to be made to the translation job workflows

Requirements are:
  • The user must have write access to the translation job which is going to be updated.
Note that:
  • All translation job containers and workflows are passed together with the job definition.
  • Be aware that if the job is not in Definition status, it is probably being processed by the translation builder or translation organizer. Updating such a job could produce unpredictable results and/or fail the job processing.
  • If the job status changes to Sending, the value of the Leased By field is used as a synchronization token to prohibit multiple Translation Organizers from sending multiple translation jobs at the same time. The value of the synchronization token can be checked with Settings 2.5 GetMetaData (Translation Job Leases field FISHTRANSJOBLEASES).
  • If the job status changes from Sending to another status, the Translation Job Leases field (FISHTRANSJOBLEASES) value cleans up.