operation post api v1 policies.md
Create a policy
POST /api/v1/policies
Creates a new policy object.
Servers
- Production server: https://api.1099policy.com (Production server)
Parameters
Body: application/json (object)
effective_date (string)
A timestamp used to determine the insurance policy start date.expiration_date (string)
A timestamp used to determine the insurance policy end date.quote (string)
The ID of the quote used to create the policy.
Responses
201
Returns the policy object if the post succeeded.
Body: application/json (object)
certificates (object)
created (integer(int64))
effective_date (integer(int64))
A timestamp used to determine the insurance policy start date. Measured in seconds since the Unix epoch. The default effective_date is the next day.expiration_date (integer(int64))
A timestamp used to determine the insurance policy end date. Measured in seconds since the Unix epoch. The default expiration_date is 30 days after the effective_date.id (string)
pdf_url (string)
A URL for the hosted insurance policy PDF, which contractors can view.quote (string)
The ID of the quote used to create the policy.status ()
One ofactive,cancelled, orexpired.