Skip to content

Searches for relationships (searchRelationshipsService)

Request

Searches for — and can update — existing relationships involving a Provider entity, using optional filters such as subject Link ID, object Link ID, or relationship verb. Use this to look up which relationships already exist, or to modify attributes or status on an existing relationship.

Security
basicAuth
Bodyapplication/json
trackingIdstring

Optional client-defined correlation ID.

contentobject(UpdateRelationshipWsRequest)
curl -i -X POST \
  -u '<username>:<password>' \
  https://yourveratodomain.com/provider-link-ws/svc/searchRelationshipsService \
  -H 'Content-Type: application/json' \
  -d '{
    "trackingId": "string",
    "content": {
      "relationship": {
        "id": "string",
        "relationshipVerb": "string",
        "inverseRelationshipVerb": "string",
        "subjectVeratoId": "string",
        "objectVeratoId": "string",
        "domain": "string",
        "status": "string",
        "trustFactor": "string",
        "startDate": "2019-08-24T14:15:22Z",
        "endDate": "2019-08-24T14:15:22Z",
        "details": {
          "property1": null,
          "property2": null
        }
      }
    }
  }'

Responses

Search/update relationship response

Bodyapplication/json
auditIdstring

Unique audit identifier for correlating requests and responses.

successboolean

Indicates whether the business operation succeeded.

warningsArray of strings

Non-fatal warnings generated by the operation.

retryableErrorboolean

Indicates whether an error is transient and the request may be retried.

messagestring

Human-readable status message.

errorsArray of strings

Error messages if success is false.

trackingIdstring

Echo of the request trackingId, if provided.

contentobject(UpdateRelationshipWsResponse)
Response
{ "auditId": "string", "success": true, "warnings": [ "string" ], "retryableError": true, "message": "string", "errors": [ "string" ], "trackingId": "string", "content": { "relationship": { … } } }