Terminologieserver - ConceptAssociation - CreateConceptAssociation

Aus Termserver-CTS2
Wechseln zu: Navigation, Suche

zurück zur Webservice-Übersicht

Inhaltsverzeichnis

Beschreibung

Creates a new association that links two entity versions with each other.

Request/Response

Request

Level Parameter Typ Länge Kardinalität Beschreibung
1 loginToken String 1..1 Login-Token that ensures the user is logged in.
1 codeSystemEntityVersionAssociation code_system_entity_version_association 1..1 Associates two entity versions with each other.
2 associationKind Integer 1..1 1 = ontological,

2 = taxonomic, 3 = cross mapping,

4 = link
2 codeSystemEntityVersionId1 Long 1..1 Points to the first entity of the association
2 codeSystemEntityVersionId2 Long 1..1 Points to the second entity of the association
2 leftId Long 1..1 Specifies the reading direction of the association, if ID 1 or ID 2 is on the left side. E.g. ID 1 = 12, Id 2 = 14: 12 belongs to 14, or 14 belongs to 12. If the direction should be ID2 -> ID1, forwardName and reverseName have to be reverted as well.
2 associationType association_type 1..1 Name of an association. Specialization of code_system_entity_version. The codeSystemEntityVersionId is the same as the versionId of code_system_entity_version
3 codeSystemEntityVersionId Long 1..1 Match to the versionId of code_system_entity_version


Response

Level Parameter Typ Länge Kardinalität Beschreibung
1 returnInfos ReturnType 1..1 Return information
2 message String 1..1 an additional message
2 overallErrorCategory 1..1 INFO, WARN, ERROR
2 status 1..1 OK, FAILURE
1 codeSystemEntityVersionAssociation code_system_entity_version_association 1..1 Associates two entity versions with each other.
2 id Long 1..1

Beispiele

SOAP

Create a new association between two concepts

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://conceptAssociation.ws.terminologie.fhdo.de/">
   <soapenv:Header/>
   <soapenv:Body>
      <con:CreateConceptAssociation>
         <parameter>
            <loginToken>237b6ee6-a448-4b91-8210-a896bf50258a</loginToken>
            <codeSystemEntityVersionAssociation>
               <associationKind>1</associationKind>
               <associationType>              
                 <codeSystemEntityVersionId>4</codeSystemEntityVersionId>
               </associationType>
               <codeSystemEntityVersionByCodeSystemEntityVersionId1>
                  <versionId>1</versionId>
               </codeSystemEntityVersionByCodeSystemEntityVersionId1>
               <codeSystemEntityVersionByCodeSystemEntityVersionId2>
                  <versionId>2</versionId>
               </codeSystemEntityVersionByCodeSystemEntityVersionId2>
            </codeSystemEntityVersionAssociation>
         </parameter>
      </con:CreateConceptAssociation>
   </soapenv:Body>
</soapenv:Envelope>



zurück zur Webservice-Übersicht

Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Werkzeuge