I'm not sure how to post in API section, thus please move it to the correct section.
My goal is to list all Agency proposals in PHP. For this reason, I'm using:
$applications = new \Upwork\API\Routers\Hr\Freelancers\Applications(self::getClient()); $data = $applications->getList();
However the response I get is:
object(stdClass) public 'server_time' => int 1527085451 public 'error' => object(stdClass) public 'status' => int 400 public 'code' => int 0 public 'message' => string 'Bad Request: query param limit must be greater than or equal to 1' (length=65)
I'm not sure what limit should I send? There is no info in https://developers.upwork.com/?lang=php#contracts-and-offers_get-job-application-as-client
The second issue I notice is when I use:
$applications = new \Upwork\API\Routers\Hr\Freelancers\Applications(self::getClient()); $data = $applications->getSpecific(proposal_ref);
It works fine for freelancers, but if I want to get Agency Proposals, it returns me that I do not have permissions. Is there a way to get Agency Proposals? The user that I use has agency and he is the owner of the Agency, so permissions should be sufficient.
We'll have a member of the team reach out to you directly via an email support ticket to further assist you with your API issue and you'll be hearing from them shortly. Thanks!
The same problem here. I'm trying to get data from the endpoint GET /api/hr/v4/contractors/applications and the following error is returned:
Bad Request: query param limit must be greater than or equal to 1
Is there any way to fix it?
I am getting the same issue, Can you please guide me, I can fetch data as a freelancer but I am not getting data as an agency, Is there any process for the configuration for calling API for the agency data or not.?