Job_requests
A request for Wonoloers to perform a Job
A Job Request represents a Requestor’s desire for Wonoloers to perform a Job. e.g. “I need 12 people at noon tomorrow to stack boxes.”
States
Job Requests progress through a series of states. Generally speaking, the state of a Job Request is determined by the states of the Jobs attached to it. The possible Job Request states are:
-
draftthe Job Request has not yet been posted and may be incomplete. -
unassignedthe Job Request has not yet been posted so is not visible to Wonoloers. However, any Preferred Wonoloers are notified during this time, if specified. -
postedthe Job Request is acceptable by any qualified Wonoloer. During this time, qualified Wonoloers will be ranked and notified. -
filledall of the Job Request’s slots are filled. -
in_progressthe Job Request start time has passed and at least one Wonoloer has started working. -
completedall Wonoloers have completed work for this Job Request (i.e. all Jobs attached to this Job Request have a state ofcompleted). -
approvedall Jobs attached to this Job Request are approved. -
cancelledthe Job Request is cancelled. All Jobs attached to this Job Request will also be cancelled. -
unfilledthe Job Request start time has passed but none of the slots was filled.
Supported Formats
json
GET /api_v2/job_requests
List JobRequests
Returns a list of Job Requests, optionally paginated. Note: the maximum number returned per page in any case is 50.
Supported Formats
jsonErrors
| Code | Description |
|---|---|
| 401 | Unauthorized |
Examples
curl -v -d "token=HdgXqxYWd5tTdyabzfzo" http://api.wonolo.com/api_v2/job_requests
curl -v -d "token=HdgXqxYWd5tTdyabzfzo" http://api.wonolo.com/api_v2/job_requests?page=10&per=25
Params
| Param name | Description |
|---|---|
|
token
required |
Token obtained from /authorize Validations:
|
|
page
optional |
The page number to start from Validations:
|
|
per
optional |
The size of the page Validations:
|
|
state
optional |
Filter Job Requests by state Validations:
|
|
company_id
optional |
Filter Job Requests by Company ID Validations:
|
|
multi_day_job_request_id
optional |
Filter Job Requests by the Multi-Day Job Request they relate to Validations:
|
|
classification
optional |
Filter Job Requests by their tax classification Validations:
|
|
w2_hourly_rate
optional |
Filter Job Requests by their W2 hourly rate Validations:
|
|
updated_before
optional |
Filter Job Requests by those that were last updated before provided DateTime Validations:
|
|
updated_after
optional |
Filter Job Requests by those that were last updated after provided DateTime Validations:
|
GET /api_v2/job_requests/:id
Get a specific JobRequest
Supported Formats
jsonParams
| Param name | Description |
|---|---|
|
token
required |
Token obtained from /authorize Validations:
|
|
id
required |
ID of Job Request Validations:
|
GET /api_v2/job_requests/:id/rankings
List the Wonoloers that are ranked for this JobRequest
Returns details of the Wonoloers that were ranked for this JobRequest, in ranked order.
Supported Formats
jsonErrors
| Code | Description |
|---|---|
| 403 | Forbidden - if you have Public Pool access only |
Params
| Param name | Description |
|---|---|
|
token
required |
Token obtained from /authorize Validations:
|
|
id
required |
ID of Job Request Validations:
|