pass url and document UUID when getting primary documents