Endpoint used to partially update a job posting published within the VaaS context.
Only the fields listed below can be updated through this endpoint. If a field that is not allowed for update is sent in the request, the API will return an error informing that the field is not editable.
The +cargo+, +descricao+, and +outros_requisitos+ fields support a limited set of HTML tags for text formatting. The allowed HTML tags are listed below.
+Allowed HTML Tags:+
- span
- br
- p
- ul
- ol
- li
- b
- i
- u
- strong
- em
- div
- h1
- h2
- h3
- h4
- h5
- h6
Body
Required
-
URL where the candidate will be redirected to complete the application process.
-
Job title.
-
Flag to mark if the job is exclusively for people with disabilities.
-
Contract type ID. It can be obtained from the endpoint
/v1/dominios/modelos-contratuais. -
Required languages for the job.
-
Job benefits.
The same benefit must not be added more than once to the same job posting. If this field is sent, the
beneficios_txtfield must not be included in the request. -
Free-text description of the job benefits.
If this field is sent, the
beneficiosfield must not be included in the request.
curl \
--request PATCH 'https://apigateway.vagas.com.br/v1/job-posting/vaas/2505124' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"url_externa": "http://jobexternalurl.com/",
"cargo": "Software Engineer",
"cargo_exclusivo_pcd": false,
"tipo_de_contratacao_id": 999,
"idiomas": [
{
"id": 534,
"nivel_id": 5
}
],
"beneficios": [
{
"id": 2,
"valor": 80
}
],
"beneficios_txt": "Meal voucher, health insurance and transportation allowance",
"anuncio": {
"descricao": "Updated job description",
"outros_requisitos": "Additional requirements"
},
"salario": {
"tipo_moeda": "BRL",
"faixa_salario_min": 5000,
"faixa_salario_max": 8000,
"exibir_salario_no_anuncio": true
},
"pre_requisitos": {
"escolaridade_minima_id": 1,
"nivel_hierarquico_id": 40,
"aceitar_candidaturas_outras_areas": false,
"areas_de_atuacao_ids": [
4,
6,
10
]
},
"atuacao": {
"modelo_de_trabalho": 4,
"local_aceita_candidaturas": "cidades_proximas",
"local_de_trabalho": {
"pais_id": 31,
"estado_id": 35,
"cidade_id": 3550308
}
},
"sobre_a_empresa": {
"apresentacao_da_empresa": 999,
"anuncio_confidencial": false
},
"canais_de_divulgacao": {
"divisao_id": 999,
"parceiros_ids": [
999,
888
]
}
}'
{
"url_externa": "http://jobexternalurl.com/",
"cargo": "Software Engineer",
"cargo_exclusivo_pcd": false,
"tipo_de_contratacao_id": 999,
"idiomas": [
{
"id": 534,
"nivel_id": 5
}
],
"beneficios": [
{
"id": 2,
"valor": 80
}
],
"beneficios_txt": "Meal voucher, health insurance and transportation allowance",
"anuncio": {
"descricao": "Updated job description",
"outros_requisitos": "Additional requirements"
},
"salario": {
"tipo_moeda": "BRL",
"faixa_salario_min": 5000,
"faixa_salario_max": 8000,
"exibir_salario_no_anuncio": true
},
"pre_requisitos": {
"escolaridade_minima_id": 1,
"nivel_hierarquico_id": 40,
"aceitar_candidaturas_outras_areas": false,
"areas_de_atuacao_ids": [
4,
6,
10
]
},
"atuacao": {
"modelo_de_trabalho": 4,
"local_aceita_candidaturas": "cidades_proximas",
"local_de_trabalho": {
"pais_id": 31,
"estado_id": 35,
"cidade_id": 3550308
}
},
"sobre_a_empresa": {
"apresentacao_da_empresa": 999,
"anuncio_confidencial": false
},
"canais_de_divulgacao": {
"divisao_id": 999,
"parceiros_ids": [
999,
888
]
}
}