Skip to main content

Web Service Method: Remove a Custom Type from a Resource

Abstract

Web Service Method: Remove a Custom Type from a Resource

Description

Removes a custom type from a resource.

URL: /PoolParty/api/thesaurus/{project}/removeType

Note

When removing a type from a resource the effect on the data set is checked. For example a check will be made if the removal would affect the required domain or range assertion of some triples already created.

A custom type can be removed from a concept scheme, a concept or a collection.

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

The resource the type should be removed from.

String

true

type

URI of the custom type

String

true

Response

http status code: 200if OK.

Example

POST Request

http://<server-url>/PoolParty/api/thesaurus/APItests/removeType?resource=http://test.info/glossary/2614&type=http://vocabulary.poolparty.biz/PoolParty/schema/Geonames/Continent