Update a job
Updates the specific job by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Body
-
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 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.
-
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).
Minimum value is
100
, maximum value is100000000
. -
One of
flatfee
,hourly
,unit
orblended
.Values are
flatfee
,hourly
,unit
, orblended
. -
years_experience integer
The number of years of experience required to be eligible for the job.
curl \
-X PUT https://api.1099policy.com/api/v1/jobs/{job_id} \
-H "Content-Type: application/json" \
-d '{"category_code":"jc_MTqpkbkp6G","custom_metadata":{"campaign":"Volvo"},"description":"Install fiber optic cable from back to the front of the store.","entity":"en_Ah3tqYn","name":"Field technician","wage":15000,"wage_type":"flatfee","years_experience":10}'
{
"category_code": "jc_MTqpkbkp6G",
"custom_metadata": {
"campaign": "Volvo"
},
"description": "Install fiber optic cable from back to the front of the store.",
"entity": "en_Ah3tqYn",
"name": "Field technician",
"wage": 15000,
"wage_type": "flatfee",
"years_experience": 10
}
{
"allOf": [
{
"category_code": "jc_MTqpkbkp6G",
"custom_metadata": {
"campaign": "Volvo"
},
"description": "Install fiber optic cable from back to the front of the store.",
"entity": "en_Ah3tqYn",
"name": "Field technician",
"wage": 15000,
"wage_type": "flatfee",
"years_experience": 10,
"x-bump-ref-name": "job"
},
{
"id": "jb_jsb9KEcTpc"
}
]
}