Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Provides access to the tasks stored in translate5.

URL:

/editor/task/[ID]

Available Methods:

GET / POST / PUT / DELETE

Specialities:

Since on a POST request the import data is given, the POST must be transmitted as “multipart/form-data”.

By setting the userState to the value “edit” the task is registered as to be edited by the current user.

Setting it back to the userState “open” means that the the task is open again for all users.

Special Task Export URLs

URL to get the edited task data in a ZIP container:

/editor/task/export/id/[ID]/

As above, but with diff tags:

/editor/task/export/id/[ID]/diff/1

MQM Statistic Export:

/editor/qmstatistics/index/taskGuid/[GUID]/?type=[TYPE]

Where [ID] is the value of the mysql-id field, [GUID] the mysql-taskGuid and [TYPE] a valid field type of the task (field type refers to the column the MQM has been used on in the editor).

Task Resource Layout

Name

Type

Info

id

int

GET only

taskGuid

string

GET only

entityVersion

integer

GET only, set by server

taskNr

string

 

foreignIdstringoptional, is a 120 character long freetext field, not shown in the GUI. Can be used in installations where translate5 is used embedded only, to track the taskId of the management system for example.

taskName

string

 

foreignNamestringoptional, is a 255 character long, see foreignId.

sourceLang

integer

 

targetLang

integer

 

relaisLang

integer

 

locked

date

GET only

lockingUser

string

GET only

lockingUsername

string

GET only

lockedInternalSessionUniqIdstringGET only

state

string

 

workflow

string

The name of the workflow used in the task

workflowStepintegerThe workflow step nr
workflowStepNamestringThe name of the current workflow step

pmGuid

string

 

pmName

string

 

wordCount

integer

 

targetDeliveryDate

date

 

realDeliveryDate

date

 

referenceFiles

boolean

GET only

terminologie

boolean

GET only

orderdate

date

 

edit100PercentMatch

boolean

POST only

lockLocked

boolean

POST only

enableSourceEditing

boolean

POST only

qmSubEnabled

boolean

GET only

qmSubFlags

auto

GET only

qmSubSeverities

auto

GET only

userState

string

As defined by the workflow.

userRole

string

GET only

userStep

string

GET only

segmentFieldsautoGET only, list with associated segment fields
userPrefsautoGET only, list with associated default user preferences

users

auto

GET only, list with associated users

tmmtsauto

userCount

integer

GET only

fileCountintegerGET only
exportRunningstringGET only

defaultSegmentLayout

boolean

GET only

importUpload

HTTP Upload

POST only

  • No labels