Returns a list of your assignments. The assigments returned are sorted by creation date, with the most recently created assignments appearing first.
Query parameters
-
A limit on the number of objects to be returned. Limit can range between
1and100, and the default is10.Minimum value is
1, maximum value is100. Default value is10. -
A cursor for use in pagination.
starting_afteris an assignment ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending withasn_fOo123, your subsequent call can includestarting_after=asn_fOo123in order to fetch the next page of the list. -
A cursor for use in pagination.
ending_beforeis an assignment ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting withasn_bAr123, your subsequent call can includeending_before=asn_bAr123in order to fetch the previous page of the list.
curl \
--request GET 'https://api.1099policy.com/api/v1/assignments'
[
{
"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": "string",
"job": "jb_jsb9KEcTpc",
"net_rate": 65,
"policy": "pl_WzFRszJhoY"
}
]