Class ExternalLinksResource
java.lang.Object
org.odpi.openmetadata.viewservices.externallinks.server.spring.ExternalLinksResource
@RestController
@RequestMapping("/servers/{serverName}/api/open-metadata/{urlMarker}")
public class ExternalLinksResource
extends Object
The ExternalLinksResource provides part of the server-side implementation of the External Links OMVS.
=
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExternalIdentifier(String serverName, String urlMarker, String elementGUID, NewExternalIdRequestBody requestBody) Add the description of a specific external identifier and link it to the associated metadata element.confirmSynchronization(String serverName, String urlMarker, String externalIdLinkGUID, UpdateRelationshipRequestBody requestBody) Confirm that the values of a particular metadata element have been synchronized.createExternalReference(String serverName, String urlMarker, NewElementRequestBody requestBody) Create an external reference.createExternalReferenceFromTemplate(String serverName, String urlMarker, TemplateRequestBody requestBody) Create a new metadata element to represent an external reference using an existing metadata element as a template.deleteExternalIdentifier(String serverName, String urlMarker, String externalIdGUID, DeleteElementRequestBody requestBody) Remove an external identifier from an existing open metadata element.deleteExternalReference(String serverName, String urlMarker, String externalReferenceGUID, DeleteElementRequestBody requestBody) Delete an external reference.detachCitedDocumentReference(String serverName, String urlMarker, String elementGUID, String externalReferenceGUID, DeleteRelationshipRequestBody requestBody) Detach an element from its external document reference.detachCitedDocumentReference(String serverName, String urlMarker, String citedDocumentLinkRelationshipGUID, DeleteRelationshipRequestBody requestBody) Remove a cited document link relationship.detachExternalIdFromElement(String serverName, String urlMarker, String elementGUID, String externalIdGUID, DeleteRelationshipRequestBody requestBody) Detach an external identifier from the element that it identifies.detachExternalReference(String serverName, String urlMarker, String elementGUID, String externalReferenceGUID, DeleteRelationshipRequestBody requestBody) Detach an external reference from an element.detachExternalReference(String serverName, String urlMarker, String externalReferenceLinkRelationshipGUID, DeleteRelationshipRequestBody requestBody) Remove a external reference link relationship.detachMediaReference(String serverName, String urlMarker, String elementGUID, String externalReferenceGUID, DeleteRelationshipRequestBody requestBody) Detach an external media reference from an element.detachMediaReference(String serverName, String urlMarker, String mediaReferenceRelationshipGUID, DeleteRelationshipRequestBody requestBody) Remove a media reference relationship.findExternalIds(String serverName, String urlMarker, SearchStringRequestBody requestBody) Retrieve the list of external ids metadata elements that contain the search string.findExternalReferences(String serverName, String urlMarker, SearchStringRequestBody requestBody) Retrieve the list of external reference metadata elements that contain the search string.getExternalIdByGUID(String serverName, String urlMarker, String externalIdGUID, GetRequestBody requestBody) Return the properties of a specific external id.getExternalIdsByName(String serverName, String urlMarker, FilterRequestBody requestBody) Returns the list of external ids with a particular name.getExternalReferenceByGUID(String serverName, String urlMarker, String externalReferenceGUID, GetRequestBody requestBody) Return the properties of a specific external reference.getExternalReferencesByName(String serverName, String urlMarker, FilterRequestBody requestBody) Returns the list of external references with a particular name.linkCitedDocumentReference(String serverName, String urlMarker, String elementGUID, String externalReferenceGUID, NewRelationshipRequestBody requestBody) Attach an element to its external document reference.linkExternalIdToElement(String serverName, String urlMarker, String elementGUID, String externalIdGUID, NewRelationshipRequestBody requestBody) Attach an existing external identifier to the element that it identifies.linkExternalReference(String serverName, String urlMarker, String elementGUID, String externalReferenceGUID, NewRelationshipRequestBody requestBody) Attach an external reference to an element.linkMediaReference(String serverName, String urlMarker, String elementGUID, String externalReferenceGUID, NewRelationshipRequestBody requestBody) Attach an external media reference to an element.updateCitedDocumentReference(String serverName, String urlMarker, String citedDocumentLinkRelationshipGUID, UpdateRelationshipRequestBody requestBody) Update the properties of a cited document link relationship.updateExternalIdentifier(String serverName, String urlMarker, String externalIdGUID, UpdateElementRequestBody requestBody) Update the properties of a specific external identifier.updateExternalReference(String serverName, String urlMarker, String externalReferenceGUID, UpdateElementRequestBody requestBody) Update the properties of an external reference.updateExternalReferenceLink(String serverName, String urlMarker, String externalReferenceLinkRelationshipGUID, UpdateRelationshipRequestBody requestBody) Update the properties of a external reference link relationship.updateMediaReference(String serverName, String urlMarker, String mediaReferenceRelationshipGUID, UpdateRelationshipRequestBody requestBody) Update the properties of a media reference relationship.
-
Constructor Details
-
ExternalLinksResource
public ExternalLinksResource()Default constructor
-
-
Method Details
-
createExternalReference
@PostMapping(path="/external-references") public GUIDResponse createExternalReference(@PathVariable String serverName, @PathVariable String urlMarker, @RequestBody(required=false) NewElementRequestBody requestBody) Create an external reference.- Parameters:
serverName- name of called server.urlMarker- view service URL markerrequestBody- properties for the external reference.- Returns:
- unique identifier of the newly created element InvalidParameterException one of the parameters is invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
createExternalReferenceFromTemplate
@PostMapping(path="/external-references/from-template") public GUIDResponse createExternalReferenceFromTemplate(@PathVariable String serverName, @PathVariable String urlMarker, @RequestBody(required=false) TemplateRequestBody requestBody) Create a new metadata element to represent an external reference using an existing metadata element as a template. The template defines additional classifications and relationships that should be added to the new element.- Parameters:
serverName- calling userurlMarker- view service URL markerrequestBody- properties that override the template- Returns:
- unique identifier of the new metadata element InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
updateExternalReference
@PostMapping(path="/external-references/{externalReferenceGUID}/update") public BooleanResponse updateExternalReference(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String externalReferenceGUID, @RequestBody(required=false) UpdateElementRequestBody requestBody) Update the properties of an external reference.- Parameters:
serverName- name of called server.urlMarker- view service URL markerexternalReferenceGUID- unique identifier of the external reference (returned from create)requestBody- properties for the new element.- Returns:
- boolean or InvalidParameterException one of the parameters is invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
linkExternalReference
@PostMapping(path="/elements/{elementGUID}/external-references/{externalReferenceGUID}/attach") public GUIDResponse linkExternalReference(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String elementGUID, @PathVariable String externalReferenceGUID, @RequestBody(required=false) NewRelationshipRequestBody requestBody) Attach an external reference to an element.- Parameters:
serverName- name of called serverurlMarker- view service URL markerelementGUID- unique identifier of the elementexternalReferenceGUID- unique identifier of the IT profilerequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
updateExternalReferenceLink
@PostMapping(path="/external-reference-links/{externalReferenceLinkRelationshipGUID}/update") public VoidResponse updateExternalReferenceLink(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String externalReferenceLinkRelationshipGUID, @RequestBody(required=false) UpdateRelationshipRequestBody requestBody) Update the properties of a external reference link relationship.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerexternalReferenceLinkRelationshipGUID- unique identifier of the relationshiprequestBody- properties for the request- Returns:
- response object InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
detachExternalReference
@PostMapping(path="/external-reference-links/{externalReferenceLinkRelationshipGUID}/detach") public VoidResponse detachExternalReference(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String externalReferenceLinkRelationshipGUID, @RequestBody(required=false) DeleteRelationshipRequestBody requestBody) Remove a external reference link relationship.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerexternalReferenceLinkRelationshipGUID- unique identifier of the relationshiprequestBody- properties for the request- Returns:
- response object InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
linkMediaReference
@PostMapping(path="/elements/{elementGUID}/media-references/{externalReferenceGUID}/attach") public GUIDResponse linkMediaReference(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String elementGUID, @PathVariable String externalReferenceGUID, @RequestBody(required=false) NewRelationshipRequestBody requestBody) Attach an external media reference to an element.- Parameters:
serverName- name of called serverurlMarker- view service URL markerelementGUID- unique identifier of the elementexternalReferenceGUID- unique identifier of the IT profilerequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
updateMediaReference
@PostMapping(path="/media-reference-links/{mediaReferenceRelationshipGUID}/update") public VoidResponse updateMediaReference(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String mediaReferenceRelationshipGUID, @RequestBody(required=false) UpdateRelationshipRequestBody requestBody) Update the properties of a media reference relationship.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markermediaReferenceRelationshipGUID- unique identifier of the relationshiprequestBody- properties for the request- Returns:
- response object InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
detachMediaReference
@PostMapping(path="/media-reference-links/{mediaReferenceRelationshipGUID}/detach") public VoidResponse detachMediaReference(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String mediaReferenceRelationshipGUID, @RequestBody(required=false) DeleteRelationshipRequestBody requestBody) Remove a media reference relationship.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markermediaReferenceRelationshipGUID- unique identifier of the relationshiprequestBody- properties for the request- Returns:
- response object InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
linkCitedDocumentReference
@PostMapping(path="/elements/{elementGUID}/cited-document-references/{externalReferenceGUID}/attach") public GUIDResponse linkCitedDocumentReference(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String elementGUID, @PathVariable String externalReferenceGUID, @RequestBody(required=false) NewRelationshipRequestBody requestBody) Attach an element to its external document reference.- Parameters:
serverName- name of called serverurlMarker- view service URL markerelementGUID- unique identifier of the elementexternalReferenceGUID- unique identifier of the IT profilerequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
updateCitedDocumentReference
@PostMapping(path="/cited-document-references/{citedDocumentLinkRelationshipGUID}/update") public VoidResponse updateCitedDocumentReference(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String citedDocumentLinkRelationshipGUID, @RequestBody(required=false) UpdateRelationshipRequestBody requestBody) Update the properties of a cited document link relationship.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markercitedDocumentLinkRelationshipGUID- unique identifier of the relationshiprequestBody- properties for the request- Returns:
- response object InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
detachCitedDocumentReference
@PostMapping(path="/cited-document-references/{citedDocumentLinkRelationshipGUID}/detach") public VoidResponse detachCitedDocumentReference(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String citedDocumentLinkRelationshipGUID, @RequestBody(required=false) DeleteRelationshipRequestBody requestBody) Remove a cited document link relationship.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markercitedDocumentLinkRelationshipGUID- unique identifier of the relationshiprequestBody- properties for the request- Returns:
- response object InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
deleteExternalReference
@PostMapping(path="/external-references/{externalReferenceGUID}/delete") public VoidResponse deleteExternalReference(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String externalReferenceGUID, @RequestBody(required=false) DeleteElementRequestBody requestBody) Delete an external reference.- Parameters:
serverName- name of called serverurlMarker- view service URL markerexternalReferenceGUID- unique identifier of the element to deleterequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
getExternalReferencesByName
@PostMapping(path="/external-references/by-name") public OpenMetadataRootElementsResponse getExternalReferencesByName(@PathVariable String serverName, @PathVariable String urlMarker, @RequestBody(required=false) FilterRequestBody requestBody) Returns the list of external references with a particular name.- Parameters:
serverName- name of the service to route the request tourlMarker- view service URL markerrequestBody- string to find in the properties- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
findExternalReferences
@PostMapping(path="/external-references/by-search-string") public OpenMetadataRootElementsResponse findExternalReferences(@PathVariable String serverName, @PathVariable String urlMarker, @RequestBody(required=false) SearchStringRequestBody requestBody) Retrieve the list of external reference metadata elements that contain the search string.- Parameters:
serverName- name of the service to route the request tourlMarker- view service URL markerrequestBody- string to find in the properties- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
getExternalReferenceByGUID
@PostMapping(path="/external-references/{externalReferenceGUID}/retrieve") public OpenMetadataRootElementResponse getExternalReferenceByGUID(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String externalReferenceGUID, @RequestBody(required=false) GetRequestBody requestBody) Return the properties of a specific external reference.- Parameters:
serverName- name of the service to route the request tourlMarker- view service URL markerexternalReferenceGUID- unique identifier of the required elementrequestBody- string to find in the properties- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
addExternalIdentifier
@PostMapping(path="/elements/{elementGUID}/external-identifiers/add") public VoidResponse addExternalIdentifier(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String elementGUID, @RequestBody NewExternalIdRequestBody requestBody) Add the description of a specific external identifier and link it to the associated metadata element. Note, the external identifier is anchored to the scope.- Parameters:
serverName- name of the service to route the request to.urlMarker- view service URL markerelementGUID- unique identifier (GUID) of the element in the open metadata ecosystemrequestBody- unique identifier of this element in the external asset manager plus additional mapping properties- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException problem accessing the property server
-
updateExternalIdentifier
@PostMapping(path="/external-identifiers/{externalIdGUID}/update") public BooleanResponse updateExternalIdentifier(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String externalIdGUID, @RequestBody(required=false) UpdateElementRequestBody requestBody) Update the properties of a specific external identifier.- Parameters:
serverName- name of the service to route the request to.urlMarker- view service URL markerexternalIdGUID- unique identifier (GUID) of the element in the open metadata ecosystemrequestBody- unique identifier of this element in the external asset manager plus additional mapping properties- Returns:
- boolean or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException problem accessing the property server
-
deleteExternalIdentifier
@PostMapping(path="/external-identifiers/{externalIdGUID}/delete") public VoidResponse deleteExternalIdentifier(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String externalIdGUID, @RequestBody(required=false) DeleteElementRequestBody requestBody) Remove an external identifier from an existing open metadata element. The open metadata element is not affected.- Parameters:
serverName- name of the service to route the request to.urlMarker- view service URL markerexternalIdGUID- unique identifier (GUID) of the external idrequestBody- additional mapping properties- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException problem accessing the property server
-
confirmSynchronization
@PostMapping(path="/external-identifiers/links/{externalIdLinkGUID}/synchronized") public VoidResponse confirmSynchronization(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String externalIdLinkGUID, @RequestBody(required=false) UpdateRelationshipRequestBody requestBody) Confirm that the values of a particular metadata element have been synchronized. This is important from an audit point of view, and to allow bidirectional updates of metadata using optimistic locking.- Parameters:
serverName- name of the service to route the request to.urlMarker- view service URL markerexternalIdLinkGUID- unique identifier (GUID) of the external Id Link relationshiprequestBody- details of the external identifier and its scope- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException problem accessing the property server
-
getExternalIdsByName
@PostMapping(path="/external-identifiers/by-name") public OpenMetadataRootElementsResponse getExternalIdsByName(@PathVariable String serverName, @PathVariable String urlMarker, @RequestBody(required=false) FilterRequestBody requestBody) Returns the list of external ids with a particular name.- Parameters:
serverName- name of the service to route the request tourlMarker- view service URL markerrequestBody- string to find in the properties- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
findExternalIds
@PostMapping(path="/external-identifiers/by-search-string") public OpenMetadataRootElementsResponse findExternalIds(@PathVariable String serverName, @PathVariable String urlMarker, @RequestBody(required=false) SearchStringRequestBody requestBody) Retrieve the list of external ids metadata elements that contain the search string.- Parameters:
serverName- name of the service to route the request tourlMarker- view service URL markerrequestBody- string to find in the properties- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
getExternalIdByGUID
@PostMapping(path="/external-identifiers/{externalIdGUID}/retrieve") public OpenMetadataRootElementResponse getExternalIdByGUID(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String externalIdGUID, @RequestBody(required=false) GetRequestBody requestBody) Return the properties of a specific external id.- Parameters:
serverName- name of the service to route the request tourlMarker- view service URL markerexternalIdGUID- unique identifier of the required elementrequestBody- string to find in the properties- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
linkExternalIdToElement
@PostMapping(path="/elements/{elementGUID}/external-ids/{externalIdGUID}/attach") public VoidResponse linkExternalIdToElement(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String elementGUID, @PathVariable String externalIdGUID, @RequestBody(required=false) NewRelationshipRequestBody requestBody) Attach an existing external identifier to the element that it identifies.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementexternalIdGUID- unique identifier of the external identifierrequestBody- properties for the relationship- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
detachExternalIdFromElement
@PostMapping(path="/elements/{elementGUID}/external-ids/{externalIdGUID}/detach") public VoidResponse detachExternalIdFromElement(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String elementGUID, @PathVariable String externalIdGUID, @RequestBody(required=false) DeleteRelationshipRequestBody requestBody) Detach an external identifier from the element that it identifies.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementexternalIdGUID- unique identifier of the external identifierrequestBody- delete options- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
detachCitedDocumentReference
@PostMapping(path="/elements/{elementGUID}/cited-document-references/{externalReferenceGUID}/detach") public VoidResponse detachCitedDocumentReference(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String elementGUID, @PathVariable String externalReferenceGUID, @RequestBody(required=false) DeleteRelationshipRequestBody requestBody) Detach an element from its external document reference.- Parameters:
serverName- name of called serverurlMarker- view service URL markerelementGUID- unique identifier of the elementexternalReferenceGUID- unique identifier of the IT profilerequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request. This is a multi-link relationship, so this request removes every cited document link relationship between the two elements. Use the request that takes the relationship's own unique identifier to remove just one of them.
-
detachExternalReference
@PostMapping(path="/elements/{elementGUID}/external-references/{externalReferenceGUID}/detach") public VoidResponse detachExternalReference(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String elementGUID, @PathVariable String externalReferenceGUID, @RequestBody(required=false) DeleteRelationshipRequestBody requestBody) Detach an external reference from an element.- Parameters:
serverName- name of called serverurlMarker- view service URL markerelementGUID- unique identifier of the elementexternalReferenceGUID- unique identifier of the IT profilerequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request. This is a multi-link relationship, so this request removes every external reference link relationship between the two elements. Use the request that takes the relationship's own unique identifier to remove just one of them.
-
detachMediaReference
@PostMapping(path="/elements/{elementGUID}/media-references/{externalReferenceGUID}/detach") public VoidResponse detachMediaReference(@PathVariable String serverName, @PathVariable String urlMarker, @PathVariable String elementGUID, @PathVariable String externalReferenceGUID, @RequestBody(required=false) DeleteRelationshipRequestBody requestBody) Detach an external media reference from an element.- Parameters:
serverName- name of called serverurlMarker- view service URL markerelementGUID- unique identifier of the elementexternalReferenceGUID- unique identifier of the IT profilerequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request. This is a multi-link relationship, so this request removes every media reference relationship between the two elements. Use the request that takes the relationship's own unique identifier to remove just one of them.
-