Create a paperwork submission
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Create a Paperwork Submissions(s). This endpoint will return the created Paperwork Submission Object of Paperwork Submission object(s).
Returns Skip link to Returns
| attribute | type | description |
|---|---|---|
| success | boolean | Response status |
| data | object | Object of Paperwork Submission object(s). |
| errors | array | Contains a list of error objects which consists of:message: Error messagecode: Error code as described in Error codes |
templateID
string
required
Unique identifier for the paperwork template.
worker_type
string
enum
required
Type of worker (Employee or Contractor).
EmployeeContractor
Allowed:
Employee``Contractor
companyID
string
required
Unique identifier for the company.
employeeID
string | null
Unique identifier for the employee. Nullable if the worker type is contractor.
contractorID
string | null
Unique identifier for the contractor. Nullable if the worker type is employee.
fields
object
required
Additional fields for the paperwork submission.
fieldsobject
``201 Paperwork submission created
``400 Bad Request
Updated 11 months ago
* * *
ShellNodeRubyPHPPython
xxxxxxxxxx
curl --request PUT \
--url https://api.zeal.com/paperwork/submissions \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"worker_type": "Employee"
}
'
Click `Try It!` to start a request and see the response here! Or choose an example:
application/json
``201``400
Updated11 months ago
* * *