/**
* @param integer $entityId
* @return string
*/
public function createFollowRequestQuery($entityId)
{
$entityName = $this->getEntityIdName();
$dataJson = ['options' => [$entityName => (string) $entityId], 'context' => []];
if ($entityName == 'interest_id') {
$dataJson['options']['interest_list'] = 'favorited';
}
$post = ['data' => json_encode($dataJson, JSON_FORCE_OBJECT)];
return UrlBuilder::buildRequestString($post);
}