Create an assignment
This endpoint creates an assignment object that you can use to attach insurance coverage to any job assignment a contractor takes after the contractor has gone active on the 1099Policy platform (i.e., after completing thier insurance application successfully).
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 is not issued coverage if bind is set tofalse. -
ID of the contractor
-
An array of coverage types that can include one or more of the following insurance coverage values:
general,professionalandworkers-comp. If provided, coverage type is factored into the eligibility determination (i.e., does contractor have an activeworkers-comppolicy, etc). Defaults to the coverage types of the most recent active policy ifcoverage_typeis not provided.Values are
general,professional, orworkers-comp. -
The job assignment start date, measured in seconds since the Unix epoch. This date must be set in the future. The default effective_date is the next day.
-
The projected job assignment end date, measured in seconds since the Unix epoch. This date must be after the effective date. The default end_date is 30 days after the effective date.
-
ID of the job that the contractor was paid to do.
-
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 \
--request POST 'https://api.1099policy.com/api/v1/assignments' \
--header "Content-Type: application/json" \
--data '{"$ref":"#/components/examples/assignment"}'
{
"$ref": "#/components/examples/assignment"
}
{
"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",
"coverage_type": [
"general",
"workers-comp"
],
"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"
}