Web Service Method: Assign a Concept

Description

Assigns a concept or SKOS-XL label to a user, for example for review purposes.

URL: /PoolParty/api/workflow/{project}/assign

Request

Supported Methods

POST

Content-Type

application/x-www-form-urlencoded

Path Variables

Variable

Comment

{project}

The UUID or the URI supplement (textual identifier) of the project to be used.

HTTP Parameters

Parameter

Comment

Type

Required

resource

IRI of the concept or SKOS-XL label that should be assigned.

Note

The method will detect if the resource is a concept or a SKOS-XL label.

String

true

assignee

IRI of the user who is assigned to do the review process.

String

true

comment

Note that describes the assignment.

String

false

Response

http status code 200if OK.

Request Pattern Example

POST Request

http://<server-url>/PoolParty/api/workflow/<project-Id>/assign?resource=http://test.poolparty.biz/testproject/9&assignee=<username>&comment=Please check altLabels