get Relationship Types For Tracked Entities
abstract fun getRelationshipTypesForTrackedEntities(trackedEntityType: String, programUid: String? = null): List<RelationshipTypeWithEntitySide>
Returns all the relationship types relevant to the given trackedEntityType and program (optional). The list includes the side of the TrackedEntity (FROM or TO). If the TrackedEntity might be in both sides, the list will include two entries for the same relationship type, one for each side.
Parameters
tracked Entity Type
the trackedEntityType uid
program Uid
optional program uid