Terminologieserver - ConceptAssociation - UpdateConceptAssociationStatus
Aus Termserver-CTS2
Version vom 30. September 2014, 12:20 Uhr von Muetzner (Diskussion | Beiträge)
zurück zur Webservice-Übersicht
Inhaltsverzeichnis |
Beschreibung
Update the status of the given association. Look for available status in the domain lists.
Request/Response
Request
Level | Parameter | Typ | Länge | Kardinalität | Beschreibung |
---|---|---|---|---|---|
1 | loginToken | String | 0..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 = ontological,
2 = taxonomic, 3 = cross mapping, 4 = link |
|
2 | associationTypeId | Long | - | Specifies the Type of the association (e.g. 'belongs to') | |
2 | codeSystemEntityVersionId1 | Long | - | Points to the first entity of the association | |
2 | codeSystemEntityVersionId2 | Long | - | Points to the second entity of the association | |
2 | id | Long | 1..1 | ||
2 | insertTimestamp | java.util.Date | - | Point of time, when the association was inserted. | |
2 | leftId | Long | - | 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 | status | Integer | 1..1 | Status of the current entry. Can be taken from a domain. | |
2 | statusDate | java.util.Date | - | Point of time of the last change of the status. |
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
Update the status
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://conceptAssociation.ws.terminologie.fhdo.de/"> <soapenv:Header/> <soapenv:Body> <con:UpdateConceptAssociationStatus> <!--Optional:--> <parameter> <codeSystemEntityVersionAssociation> <id>1</id> <status>2</status> </codeSystemEntityVersionAssociation> <loginToken>INSERT LOGIN TOKEN</loginToken> </parameter> </con:UpdateConceptAssociationStatus> </soapenv:Body> </soapenv:Envelope>