Update a job
Updates the specific job by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
-
The ID of the desired job (e.g.,
jb_jsb9KEcTpc
).
Body
-
address object
The job address where the work will be done. Exclude if job will be done remotely.
-
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.
-
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 100 cents US. The maximum wage amount is 1000000000 cents US ($10,000,000).
Minimum value is
100
, maximum value is1000000000
. -
wage_type string
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 '{"name":"Field technician","wage":1500,"entity":"en_Ah3tqYn","address":{"line1":"123 Main St","region":"CA","locality":"San Francisco","postalcode":94105},"wage_type":"hourly","description":"Install fiber optic cable from back to the front of the store.","years_experience":5}'
{
"name": "Field technician",
"wage": 1500,
"entity": "en_Ah3tqYn",
"address": {
"line1": "123 Main St",
"region": "CA",
"locality": "San Francisco",
"postalcode": 94105
},
"wage_type": "hourly",
"description": "Install fiber optic cable from back to the front of the store.",
"years_experience": 5
}
{
"allOf": [
{
"name": "Field technician",
"wage": 15000,
"entity": "en_Ah3tqYn",
"wage_type": "flatfee",
"description": "Install fiber optic cable from back to the front of the store.",
"category_code": "jc_MTqpkbkp6G",
"custom_metadata": {
"campaign": "Volvo"
},
"x-bump-ref-name": "job",
"years_experience": 10
},
{
"id": "jb_jsb9KEcTpc"
}
]
}