[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations

Get Relationships

Description

If the optional query parameter ‘relationshipType’ is specified, relations of that particular Relationship Type are returned. Few sample URLs are shown below. /api/resources/{resourceId}/relationships?relationshipType=CHILD /api/resources/{resourceId}/relationships?relationshipType=PARENT

Request

Request

URL

URL


get
https://localhost/suite-api/api/resources/{id}/relationships
Copy

Path Parameters

Path Parameters

string
id Required

The UUID of the resource to set the relationships for


Query Parameters

Query Parameters

integer
page Optional

Page number from which data needs to be displayed (0-based)


integer
pageSize Optional

Expected number of entries per page


string
relationshipType Required

The type of relationship of the objects; Uses the RelationshipType.representation value

Possible values are: PARENTCHILDALL


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns ResourceRelation of type(s) application/json, application/xml

All the related resources

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl https://localhost/suite-api/api/resources/{id}/relationships?relationshipType=string


Feedback

Was this page helpful?