v2
searches

Busca por segmentação

post/v2/search/segments/{name}

Request

  • Base URL: http://localhost:8888/api
  • URL: http://localhost:8888/api/v2/search/segments/{name}
  • Auth: API key in header authorization

Path parameters

Tipo de busca. base, public, applications

Query parameters

Página atual

Número de itens por página.

Request body

company_idinteger[] required

Lista de IDs de empresas | Caso não seja enviada, pega a empresa do usuário

vacancy_idinteger[]

Lista de IDs de Vagas

Example request

{
  "orderby": [
    {
      "field": "created_at",
      "type": "ASC"
    }
  ],
  "save": {
    "name": "Candidatos que tem pretensão Salarial",
    "description": "Essa busca trás apenas candidatos que tenham pretensão salarial."
  },
  "company_id": [
    1,
    2
  ],
  "vacancy_id": [
    1,
    2
  ],
  "segments": [
    {
      "key": "experiences"
    }
  ]
}

Response

Ação realizada com sucesso!

current_pageinteger
first_page_urlinteger
frominteger
last_pageinteger
last_page_urlinteger
next_page_urlinteger
pathinteger
per_pageinteger
tointeger
totalinteger

Example response

{
  "current_page": 1,
  "last_page": 1,
  "per_page": 1,
  "to": 1,
  "total": 1,
  "export": {
    "hash": "ABCDE",
    "url": "http://localhost/ABCDE"
  },
  "headings": [
    {
      "key": "photo_url",
      "label": "Avatar",
      "export": true,
      "ordered": true,
      "description": "Candidato aceita Remoto?"
    }
  ],
  "data": [
    {
      "id": 1,
      "attributes": {
        "profile": {
          "photo": "URL do avatar",
          "name": "John Doe"
        },
        "email": "jhon@doe.com",
        "telephone": "+5511999999999",
        "location": "São Paulo, SP",
        "pcd": {
          "description": "Auditiva"
        },
        "birthday": "01/01/2000",
        "age": 21,
        "created_ago": "01/01/2020 há 1 ano atrás",
        "created_at": "2020-01-01T00:00:00.000000Z",
        "viewed_at": "01/01/2022",
        "socials": {
          "linkedin_url": "https://linkedin.com",
          "facebook_url": "https://facebook.com",
          "github_url": "https://github.com",
          "website_url": "https://site.com"
        },
        "remote": true,
        "relocation": true,
        "available": true,
        "regimes": "CLT",
        "curriculum": "http://localhost/curriculum.pdf",
        "level": "SR",
        "remuneration": 2000
      },
      "meta": {
        "is_first_app": true,
        "type": "Criado Manualmente",
        "last_vacancy_title": "Base de Talentos",
        "quantity": "Participando da Base",
        "last_application_id": 1,
        "tags": [
          "Adminstrativo"
        ],
        "origin": "Portal de Vagas"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.