Skip to main content
POST
/
v1
/
api
/
candidates
/
alerts
Créer une alerte SEARCH
curl --request POST \
  --url http://localhost:3091/v1/api/candidates/alerts \
  --header 'Content-Type: application/json' \
  --data '
{
  "keywords": "<string>",
  "locationIds": [
    123
  ],
  "contractTypeIds": [
    123
  ],
  "sectorIds": [
    123
  ]
}
'
{
  "success": true,
  "message": "<string>",
  "data": {
    "id": 123,
    "keywords": "<string>",
    "locationIds": [
      123
    ],
    "locationNames": [
      "<string>"
    ],
    "contractTypeIds": [
      123
    ],
    "contractTypeNames": [
      "<string>"
    ],
    "sectorIds": [
      123
    ],
    "sectorNames": [
      "<string>"
    ],
    "createdAt": "2023-11-07T05:31:56Z",
    "lastSentAt": "2023-11-07T05:31:56Z",
    "active": true
  },
  "error": {
    "code": "<string>",
    "message": "<string>",
    "details": "<string>"
  },
  "timestamp": "2023-11-07T05:31:56Z"
}

Body

application/json
keywords
string
Maximum string length: 255
locationIds
integer<int64>[]
contractTypeIds
integer<int64>[]
sectorIds
integer<int64>[]

Response

200 - */*

OK

success
boolean
message
string
data
object
error
object
timestamp
string<date-time>