A Multi-day Job Request is a simple umbrella that joins together multiple Job Requests. The simplest analogy is a repeating calendar entry. The Multi-day Job Request holds the repeat rules and links to each instance but the details are in each individual Job Request. Additionally, a Requestor may specify that a Wonoloer must accept all days of a Multi-day Job Request. Otherwise, a Wonoloer is free to pick and choose those days they wish.


Supported Formats

json

POST /api_v2/multi_day_job_requests
Create a Multi-day Job Request

Supported Formats

json

Params

Param name Description
token
required

Token obtained from /authorize

Validations:

  • Must be a String

multi_day_job_request
required

A Multi-Day Job Request

Validations:

  • Must be a Hash

multi_day_job_request[same_workers]
optional

True if the Requestor wants the same Wonoloers each day

Validations:

  • Must be one of: true, false, 1, 0.

multi_day_job_request[repeat_type]
required

The repeat interval for this Job Request. Note that individual Job Requests can be removed from a Multi-Day Job Request after creation so this repeat may not match the actual days.

Validations:

  • Must be one of: daily, weekly.

multi_day_job_request[repeat_number]
optional

How many days (occurences) this Multi-Day Job Request comprised when initially created. See prior note.

Validations:

  • Must be a Integer


PATCH /api_v2/multi_day_job_requests/:id
Update a Multi-day Job Request

Supported Formats

json

Params

Param name Description
token
required

Token obtained from /authorize

Validations:

  • Must be a String

id
required

ID of the Multi-day Job Request

Validations:

  • Must be a Integer

multi_day_job_request
required

A Multi-Day Job Request

Validations:

  • Must be a Hash

multi_day_job_request[same_workers]
optional

True if the Requestor wants the same Wonoloers each day

Validations:

  • Must be one of: true, false, 1, 0.

multi_day_job_request[repeat_type]
required

The repeat interval for this Job Request. Note that individual Job Requests can be removed from a Multi-Day Job Request after creation so this repeat may not match the actual days.

Validations:

  • Must be one of: daily, weekly.

multi_day_job_request[repeat_number]
optional

How many days (occurences) this Multi-Day Job Request comprised when initially created. See prior note.

Validations:

  • Must be a Integer


GET /api_v2/multi_day_job_requests/:id
Get a specific Multi-day Job Request

Supported Formats

json

Params

Param name Description
token
required

Token obtained from /authorize

Validations:

  • Must be a String

id
required

ID of the Multi-day Job Request

Validations:

  • Must be a Integer