operation post api v1 jobs.md
Create a job
POST /api/v1/jobs
Creates a new job object. Used to classify the work that 1099Policy applies to insure the contractor.
Servers
- Production server: https://api.1099policy.com (Production server)
Parameters
Body: application/json (object)
address (object)
category_code (string)
The category code that 1099Policy creates for a group of similarly classified jobs.Job category codes are pre-approved by 1099Policy so you can offer contractors insurance to new jobs on your platform in real time.
To generate pre-approved category codes for a group of similarly classified jobs visit the 1099Policy Dashboard.
- custom_metadata (object)
Set of key-value pairs that you can attach to an object. Used to store additional information about the job in a structured format.
The purchase_order_number key is recognized: invoices created for this job inherit it as their purchase order number (overridable or clearable per invoice via the invoice endpoints).
description (string)
A description of the job that includes the role, responsibilities and necessary qualifications.entity (string)
The ID of an existing entity for whom the job is being done.name (string)
The name of the contractor job role.wage (integer)
A positive integer representing the wage (e.g., 1500 cents is $15.00). The minimum wage amount is $1.00 US.wage_type (string)
One offlatfee,hourly,unitorblended.withhold_premium (boolean)
This indicates whether the contractor is paying premium directly with their credit card (i.e.,false) or if the contractor has given the platform that's integrating with 1099Policy permission to withhold the premium payment from their wages and pay the premium on the contractor's behalf (i.e.,true). Defaults tofalse.years_experience (integer)
The number of years of experience required to be eligible for the job.
Responses
201
Returns the job object if the post succeeded.
Body: application/json (object)
- address (object)
To generate pre-approved category codes for a group of similarly classified jobs visit the 1099Policy Dashboard.
created (integer(int64))
custom_metadata (object)
Set of key-value pairs that you can attach to the job object. Used for storing additional information in a structured format. Individual keys can be unset by posting an empty value to them. Pass an empty value, e.g. {}, to custom_metadata to unset all keys. Thepurchase_order_numberkey is recognized: invoices created for this job inherit it as their purchase order number (overridable or clearable per invoice via the invoice endpoints).description (string)
A description of the job that includes the role, responsibilities and necessary qualifications.entity (string)
The entity ID for whom the work is being done.id (string)
name (string)
The name of the contractor job role.wage (integer)
A positive integer representing the total wage (e.g., 1500 cents is $15.00). The minimum wage amount is 100 cents US. The maximum wage amount is 100000000 cents US ($1,000,000).wage_type ()
One offlatfee,hourly,unitorblended.years_experience (integer)
The number of years of experience required to be eligible for the job.