Terminologieserver - ConceptAssociation - MaintainConceptAssociation
Aus Termserver-CTS2
(Unterschied zwischen Versionen)
(automatisch erstellt vom Webservice-Schnittstellen-Tool) |
(automatisch erstellt vom Webservice-Schnittstellen-Tool) |
||
Zeile 59: | Zeile 59: | ||
<td>association_type</td> | <td>association_type</td> | ||
<td></td> <td id="cardinality_cell">0..1</td> | <td></td> <td id="cardinality_cell">0..1</td> | ||
− | <td> | + | <td>Name of an association. Specialization of code_system_entity_version. The codeSystemEntityVersionId is the same as the versionId of code_system_entity_version</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
Zeile 66: | Zeile 66: | ||
<td>Long</td> | <td>Long</td> | ||
<td></td> <td id="cardinality_cell">1..1</td> | <td></td> <td id="cardinality_cell">1..1</td> | ||
− | <td> | + | <td>Match to the versionId of code_system_entity_version</td> |
</tr> | </tr> | ||
</table> | </table> |
Version vom 23. Juli 2014, 10:10 Uhr
zurück zur Webservice-Übersicht
Inhaltsverzeichnis |
Beschreibung
Edit the associations between two entity versions.
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 | 0..1 | 1 = ontological,
2 = taxonomic, 3 = cross mapping, 4 = link |
|
2 | id | Long | 1..1 | ||
2 | leftId | Long | 0..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 | 0..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 | count | Integer | 1..1 | number of results | |
2 | message | String | 1..1 | an additional message | |
2 | overallErrorCategory | 1..1 | INFO, WARN, ERROR | ||
2 | status | 1..1 | OK, FAILURE |
Beispiele
SOAP
Maintain association
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://conceptAssociation.ws.terminologie.fhdo.de/"> <soapenv:Header/> <soapenv:Body> <con:MaintainConceptAssociation> <parameter> <codeSystemEntityVersionAssociation> <id>1</id> <associationType> <codeSystemEntityVersionId>10</codeSystemEntityVersionId> </associationType> </codeSystemEntityVersionAssociation> <loginToken>INSERT LOGIN TOKEN</loginToken> </parameter> </con:MaintainConceptAssociation> </soapenv:Body> </soapenv:Envelope>