operation get api v1 quotes.md
List all quotes
GET /api/v1/quotes
Returns a list of quotes you've previously created. The quotes are returned in sorted order, with the most recent quotes appearing first.
Servers
- Production server: https://api.1099policy.com (Production server)
Parameters
Query parameters
limit (integer)
A limit on the number of objects to be returned. Limit can range between1and100, and the default is10.starting_after (string)
A cursor for use in pagination.starting_afteris an quote ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending withqt_fOo123, your subsequent call can includestarting_after=qt_fOo123in order to fetch the next page of the list.ending_before (string)
A cursor for use in pagination.ending_beforeis an quote ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting withqt_bAr123, your subsequent call can includeending_before=qt_bAr123in order to fetch the previous page of the list.
Responses
200
Returns an array of quote objects. If no more quotes are available, the resulting array will be empty.
Body: application/json (array[object])
contractor (string)
ID of the contractor.coverage_type (array[string])
created (integer(int64))
effective_date (string(int64))
The date when the insurance coverage is set to take effect. Measured in seconds since the Unix epoch. This date must be set in the future. The default effective_date is the next day.eligible (boolean)
Indicates whether a contractor is elgible for insurance or not.end_date (string(int64))
The date when the insurance coverage is set to expire. 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.gl_net_rate (integer)
The amount of money the 1099 contractor pays in general liability premium per every $100 earned. A positive integer representing the premium owed per $100 earned. Thegl_net_rateis stored in cents (e.g., 48 represents $0.48).id (string)
job (string)
ID of the job that the contractor was paid to do.net_rate (integer)
The amount of money the 1099 contractor pays in premium per every $100 earned. A positive integer representing the premium owed per $100 earned. Thenet_rateis stored in cents (e.g., 48 represents $0.48).quote_json (object)
The JSON representation of component parts that make up the total premium amount due including, for example, the net rate, taxes, and fees.wc_net_rate (integer)
The amount of money the 1099 contractor pays in workers comp premium per every $100 earned. A positive integer representing the premium owed per $100 earned. Thewc_net_rateis stored in cents (e.g., 48 represents $0.48).