I'm using the linkAsset API call to (yup you guessed it) link entities.
This works well, but I want to be able to query and validate the possible values for the following parameters:
leftEntityType
xs:string
required once
The entity type of the first entity to be linked. (Asset, Request etc)
leftRelType
xs:string
optional
The relationship type of the first entity to be linked. (Connected to, Installed On etc)
rightEntityType
xs:string
required once
The entity type of the second entity to be linked. (Asset, Request etc)
rightRelType
xs:string
optional
The relationship type of the second entity to be linked. (Connected to, Installed On etc)
I did find one possible option for leftRelType 'com.hornbill.servicemanager/RelationshipTypes::get' but that doesn't seem to come back with anything.
I can also see in the schema info:
h_rel_type_l (Left Relationship Type) - The type of relationship in the context of the left item to right item, for example "Installed On", "Connected to", "Depends On", "Child Of" etc
h_rel_type_r (Right Relationship Type) - The type of relationship in the context of the right item to left item, for example "Has Installed", "Connected by", "Used By", "Parent Of" etc
Are there API calls I can make to look up valid values or if they're just hard coded, what are they?
Thanks