Skip to main content
PUT
/
v1
/
api
/
candidates
/
profile
/
situation
Mettre à jour la situation
curl --request PUT \
  --url http://localhost:3091/v1/api/candidates/profile/situation \
  --header 'Content-Type: application/json' \
  --data '
{
  "employmentStatus": "<string>",
  "availability": "<string>",
  "experienceLevelId": 123,
  "qualificationLevel": "<string>",
  "salaryRange": "<string>",
  "sectorIds": [
    123
  ]
}
'
{
  "success": true,
  "message": "<string>",
  "data": {
    "id": 123,
    "nom": "<string>",
    "prenom": "<string>",
    "email": "<string>",
    "telephone": "<string>",
    "photoUrl": "<string>",
    "country": "<string>",
    "city": "<string>",
    "employmentStatus": "<string>",
    "availability": "<string>",
    "experienceLevelId": 123,
    "qualificationLevel": "<string>",
    "salaryRange": "<string>",
    "desiredJobs": [
      "<string>"
    ],
    "desiredLocations": [
      "<string>"
    ],
    "desiredContractTypes": [
      "<string>"
    ],
    "sectorIds": [
      123
    ],
    "skills": [
      "<string>"
    ],
    "cvs": [
      {
        "id": 123,
        "name": "<string>",
        "fileUrl": "<string>",
        "fileSize": "<string>",
        "uploadedAt": "2023-11-07T05:31:56Z",
        "createdAt": "2023-11-07T05:31:56Z",
        "default": true,
        "isDefault": true
      }
    ],
    "cvVisible": true,
    "certifications": [
      {
        "id": 123,
        "name": "<string>",
        "issuer": "<string>",
        "obtainedDate": "<string>",
        "createdAt": "2023-11-07T05:31:56Z"
      }
    ],
    "profileCompletion": 123,
    "enabled": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "error": {
    "code": "<string>",
    "message": "<string>",
    "details": "<string>"
  },
  "timestamp": "2023-11-07T05:31:56Z"
}

Body

application/json
employmentStatus
string
Pattern: ^(en-poste|sans-emploi)$
availability
string
Pattern: ^(immediate|a-convenir)$
experienceLevelId
integer<int64>
qualificationLevel
string
Maximum string length: 50
salaryRange
string
Maximum string length: 50
sectorIds
integer<int64>[]

Response

200 - */*

OK

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