CMS-737: Introduce RPC API on top of RelationshipType API