refactoring, extract request builder from AllocationRepository