Company relationships [GET]

Operation

This endpoint returns the relationships available in the pms for a profile and its subsidiary

GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/company/relationships


Request


PropertyTypeRequiredPath parameterDefault valueDescription
chainIdIntegertruepath parameter
Unique identificator of the chain.
chainProfileRelationshipTypeIdIntegerfalserequest parameter
Filter available to reduce the results to only one type of relationship

Example request

GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/company/relationships


Response

PropertyTypeRequiredDescription
PagePagetrueDescription of the response of the success operation

Entity



FieldTypeRequiredDescription
profileIdIntegertrue
profileSubsidiaryIdIntegertrue

Example response

{
	"count": 2,
	"offset": 0,
	"limit": 2,
	"list": [{
			"profileId": 20,
			"profileSubsidiaryId": 21
		},
		{
			"profileId": 20,
			"profileSubsidiaryId": 22
		}
	]
}