Skip to main content

Using Workflow Status Information

Abstract

Using Workflow Status Information

You can request details about the Workflow Status of concepts via API, providing http request parameter workflowStatus = true.

Note

Please see details about using Workflow in PoolParty projects here: Approval Workflow

The following calls provide workflow status information by request:

The result of a Workflow Status request looks like the following:

Example request

http://<server>/PoolParty/api/thesaurus/1DCE0ED2-D7E8-0001-86A1-18652DF0D7A0/concept?concept=http://test.semantic-web.at/test/bca7bc6d-6709-48b8-ae52-fe194c212398&workflowStatus=true

Example response format Workflow Status

[
    {
        "uri": "http://test.poolparty.biz/TestProject/5",
        "prefLabel": "Free statistical software",
        "definitions": [
            "Cool definition"
        ],
        "state": "DRAFT",
        "assignee": "huberf",
        "comment": "",
        "date": "Mon Jan 18 16:09:18 CET 2016"
    }
]

Note

In addition there are services to edit Workflow Status programmatically via API: Project Workflow Services