Gets all of the related items of an AGO item in the specified direction.
Id of an item whose related items are sought
Credentials for the request to AGO
A promise that will resolve with a list of IRelatedItems
Gets all of the related items of an AGO item in the specified direction.