Web Service Method: Reject a Concept

Description

Allows to reject a concept or SKOS-XL label during workflow process.

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

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

URI of the concept or SKOS-XL label that should be rejected.

Note

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

String

true

comment

Note that describes the rejection.

String

false

Response

http status code 200if OK.

Request Pattern Example

POST Request

http://<server-url>/PoolParty/api/workflow/<project-Id>/reject?resource=http://test.poolparty.biz/testproject/9&comment=new description is wrong