This is the JSON response for a W4 submission from 2019 or earlier.
NOTE: the Federal Government change the format of the W4 form in 2020. See W4 Submissions (2020+) for the new 2020 (and beyond) JSON response format.
// Response for Submissions
{
"_links": {
"self": {
"href": "/api/submissions/40"
},
"employee": {
"href": "/api/employees/10"
}
},
"id": 40,
"employee_id": 10,
"status": "accepted",
"document_name": "W4 (2019)",
"tags": [
"tag1",
"tag2"
],
"document_id": "w4",
"submitted_at": "2019-12-31T11:59:23-07:00",
"status_changed_by": "adminz admin",
"status_changed_at": "2019-12-31T12:00:29-07:00",
"is_current_submission_of_assignment": true,
"uploaded_by_full_name": "Dave Smith",
"countersignable": false,
"confirmed_ok_at": null,
"files": [
"/api/submissions/40/file"
],
"fields": [
{
"id": "doc_w4_marital_status",
"field_type": "DropdownField",
"label": "Marital Status (W4 (2019))",
"value": "Married"
},
{
"id": "doc_w4_num_allowances",
"field_type": "NumberField",
"label": "Number of Allowances (W4 (2019))",
"value": "13"
},
{
"id": "doc_w4_additional_withholding",
"field_type": "TextField",
"label": "Additional Withholding (W4 (2019))",
"value": "333.00"
},
{
"id": "doc_w4_exempt_status",
"field_type": "TextField",
"label": "Exempt Status (W4 (2019))",
"value": null
},
{
"id": "doc_w4_first_name_and_initial",
"field_type": "TextField",
"label": "First Name and Initial (W4 (2019))",
"value": "Dave W"
},
{
"id": "doc_w4_last_name",
"field_type": "TextField",
"label": "Last Name (W4 (2019))",
"value": "Smith"
},
{
"id": "doc_w4_ssn",
"field_type": "TextField",
"label": "SSN (W4 (2019))",
"value": "123-45-6789"
},
{
"id": "doc_w4_address_street",
"field_type": "TextField",
"label": "Address - Street (W4 (2019))",
"value": "111 Male St."
},
{
"id": "doc_w4_address_apt",
"field_type": "TextField",
"label": "Address - Apt (W4 (2019))",
"value": null
},
{
"id": "doc_w4_address_city_state_zip",
"field_type": "TextField",
"label": "Address - City State Zip (W4 (2019))",
"value": "Boulder, CO 80301"
},
{
"id": "doc_w4_last_name_differs_from_ss_card",
"field_type": "CheckboxField",
"label": "Last Name Differs from Social Security Card (W4 (2019))",
"value": false
}
]
}