apps/wbflex/documents/{id}/workflow/status

This method provides information about the document workflow status.

The method returns the workflow status for each target locale depending on the workflow job's progress.

URL

(GET) /api/apps/wbflex/documents/{id}/workflow/status

PARAMETERS

URL parameters are:

id

Specify either a document ID (such as 1000) or a job ID (such as c300).

string, Mandatory

RESULTS

The result is a JSON array.

loc

The field refers to a specific target language. It contains the language code.

string

loct

The field refers to a specific target language. It contains the language text (name).

string

status

The workflow status as a number.

string

statusText

The workflow status name.

string

EXAMPLES

Show flex document workflow status for document with ID equals 300:

(GET) /apps/wbflex/documents/300/workflow/status

Results are:

[ { "loc": "en", "loct": "English", "status": 0, "statusText": "InProgress"}, { "loc": "fr", "loct": "Frensh", "status": 1, "statusText": "Finished"}, { "loc": "es", "loct": "Spanish", "status": 2, "statusText": "Waiting"}, { "loc": "es", "loct": "Spanish", "status": 3, "statusText": "Blocked"} ]

 

 

Copyright Wordbee - Buzzin' Outside the Box since 2008