[IMP] backend: onchange of document url get required field using api and set it