Skip to main content

Web Service Method: Create New Concept Scheme

Abstract

Web Service Method: Create New Concept Scheme

Description

Creates a new concept scheme in the given project.

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

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

title

Title in the default language for the newly created ConceptScheme

String

true

description

Description in the default language for the newly created ConceptScheme

String

false

subject

Subject in the default language for the newly created ConceptScheme

String

false

creator

Author of the newly created ConceptScheme

String

false

contributor

Contributor of the newly created ConceptScheme

String

false

publisher

Publisher of the newly created ConceptScheme

String

false

Response

http status code 200 if OK.

String containing URL of the newly created concept scheme.

URL Pattern

POST Request

http://<server-url>/PoolParty/api/thesaurus/<project-id>/createConceptScheme?title=<title>&description=<description-text>&subject=<subject-text>&creator=<name>&contributor=<name-of-contributor>&publisher=<name-of-publisher>

Response

http://<server-url>/<project-id>/<created-conceptscheme-id>
Example

Screenshot of an example call, done with Advanced REST client:

Screen shot of an example call, done with Advanced REST client