Get Form Workday
Use this endpoint to scrape Workday job listings and return form information in the correct format, essential for retrieving details to apply to a Workday job through Wrangle. To successfully retrieve a Workday form, the Workday job must have been queued and scraped (usually 10 minutes after queueing).
Usage
Endpoint: POST /api-get-form-workday
Form Structure
The form model contains all the scraped information about the Workday job application form, including labels, tags, types, selectors, and descriptions.
Form Output Structure
- Name
formInfo
- Type
- array
- Description
- Name
inputs example
- Type
- object
- Description
- Name
label
- Type
- string
- Description
Label for the form field.
- Name
required
- Type
- boolean
- Description
Indicates if the field is required.
- Name
tag
- Type
- string
- Description
HTML tag for the form field (input, checkbox, dropdown, etc.).
- Name
type
- Type
- string
- Description
Type of the form field (text, number, etc.).
- Name
selector
- Type
- string
- Description
CSS selector for the form field (id).
- Name
options
- Type
- array
- Description
Allowed options for the given input. Each option is an object with "label" and "value" properties.
Retrieve Form Information
This endpoint facilitates the retrieval of form information for Workday job applications, given the job identifier.
Input
- Name
id
- Type
- string
- Description
The identifier of the Workday job.
Request
curl -X POST https://app.wranglejobs.com/api/api-get-form-workday \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${api-key}" \
-d '{"id": "workday-job-id"}'
Response
{
"link": "original Workday job URL",
"formInfo": [
// Array of form_section dictionaries specific to Workday
]
}
Errors
- 500: “Error while getting form information for Workday job”