Update an assignment
Assignments are editable up until the a related invoice is paid in full.
Body
-
Indicates whether to start the process of binding coverage, which includes notifying and subsequently charging the independent contractor for the premium amount due. Defaults to
true
. When false, 1099Policy does not notify or schedule a charge. Note that the independent contractor will not be issued coverage if bind is set tofalse
.Default value is
true
. -
certificates object
-
contractor string
ID of the contractor.
-
effective_date integer(int64)
The job assignment start date, measured in seconds since the Unix epoch.
-
eligible object
Object with the result of the insurance eligiblity check for a given job assignment.
-
end_date integer(int64)
The projected job assignment end date, measured in seconds since the Unix epoch.
-
id string
-
job string
ID of the job that the contractor intends to accept.
-
policy string
ID of the policy that you want attached to the assignment. Defaults to the most recent active policy with a matching job category code, work state and contractor home state.
curl \
-X PUT https://api.1099policy.com/api/v1/assignments/{assignment_id} \
-H "Content-Type: application/json" \
-d '{"contractor":"cn_Ehb3bYa","effective_date":1646818364,"end_date":1678334737,"job":"jb_jsb9KEcTpc","policy":"pl_WzFRszJhoY"}'
{
"contractor": "cn_Ehb3bYa",
"effective_date": 1646818364,
"end_date": 1678334737,
"job": "jb_jsb9KEcTpc",
"policy": "pl_WzFRszJhoY"
}
{
"bind": true,
"certificates": {
"gl_coi_pdf_url": "/bound-policies/prod/gl_coi_pl_wv23Q3lMc1_1691450123.pdf",
"wc_coi_pdf_url": "/bound-policies/prod/wc_coi_pl_wv23Q3lMc1_1691420903.pdf"
},
"contractor": "cn_Ehb3bYa",
"created": 1646818364,
"effective_date": 1646818364,
"eligible": {
"message": "Contractor is pre-approved for insurance coverage.",
"result": true
},
"end_date": 1678334737,
"id": "an_5HviNgc2Br",
"job": "jb_jsb9KEcTpc",
"net_rate": 65,
"policy": "pl_WzFRszJhoY"
}