TranslationJob 2.5 UpdateTranslationJob3
Adds/Changes/Deletes objects in the translation job XML.
Parameters
| Name | Type | Direction | Description |
|---|---|---|---|
| psAuthContext | String | InOut | Deprecated 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. |
| psTranslationJobId | String | In | The element name of the translation job |
| pasWriteAccess | StringArray | In | Write access list |
| pasReadAccess | StringArray | In | Read access list |
| psXMLMetaData | String | In | Metadata XML structure with the metadata that will be set on the current object |
| psXMLRequiredCurrentMetaData | String | In | Metadata 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. |
| psXMLTranslationJobContainerList | String | In | The Translation Job container List XML structure containing all changes that need to be made to the translation job containers |
| psXMLTranslationJobWorkflowList | String | In | The 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
Definitionstatus, 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 theLeased Byfield 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 fieldFISHTRANSJOBLEASES). - If the job status changes from
Sendingto another status, the Translation Job Leases field (FISHTRANSJOBLEASES) value cleans up.