Retrieve an assignment
Retrieves the assignment with the given ID.
Path parameters
-
The ID of the desired assignment (e.g.,
an_G5biPgc5Hc
).
GET
/api/v1/assignments/{assignment_id}
curl \
-X GET https://api.1099policy.com/api/v1/assignments/{assignment_id}
Response examples (200)
{
"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"
}