CTS2-LE ClaML API: Update

Aus CTS2-LE
Version vom 13. Januar 2021, 20:58 Uhr von Billig (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

CTS2-LE provides an interface for importing terminological resources that are stuctured in Classification MarkUp Language (ClaML). For further information on ClaML please visit the wikipedia page or the documentation provided by DIMDI.


Operation Syntax

POST /WebCts2LE/service/crud/claml/update

Updates a code system. If the resource does not exist, it is created.
Request Body
application/xml
XML input stream in ClaML format
Parameters
resourceId (type: string, occurence: optional) uniquely identifies a resource; if not defined, the XML input attribute /ClaML/Title/@name will be used
version (type: string, occurence: optional) the version of the resource; if not defined, the XML input attribute /ClaML/Title/@version will be used
groupName (type: string, occurence: mandatory) determines the group to which the resource will belong; this is essential for displaying the resource in the navigator
defaultLanguage (type: string, occurence: mandatory) the default language of the resource
isDefaultVersion (type: boolean, occurence: optional, default is true) label the resource as the default version
isSVSOrigin (type: boolean, occurence: optional, default is false) distinguishes a code system that has certain attributes which are specific for SVS (Sharing Value Sets) resources
Responses
application/xml
200 no errors
409 errors specified in XML