Skip to main content
PUT
/
v1
/
api
/
offres
/
{offreId}
Mettre à jour une offre
curl --request PUT \
  --url http://localhost:3091/v1/api/offres/{offreId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "titre": "<string>",
  "departement": "<string>",
  "localisation": "<string>",
  "description": "<string>",
  "experience": "<string>",
  "competences": [
    "<string>"
  ],
  "salaireMin": 123,
  "salaireMax": 123,
  "remotePossible": true,
  "deadline": "2023-12-25",
  "entrepriseId": 123
}
'
{
  "success": true,
  "message": "<string>",
  "data": {
    "id": 123,
    "titre": "<string>",
    "departement": "<string>",
    "localisation": "<string>",
    "description": "<string>",
    "experience": "<string>",
    "competences": [
      "<string>"
    ],
    "salaireMin": 123,
    "salaireMax": 123,
    "remotePossible": true,
    "deadline": "2023-12-25",
    "publishedAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "entreprise": {
      "id": 123,
      "nomEntreprise": "<string>",
      "secteurActivite": "<string>",
      "description": "<string>",
      "anneeCreation": 123,
      "nombreCollaborateurs": "<string>",
      "presentation": "<string>",
      "cultureEntreprise": "<string>",
      "rechercheEntreprise": "<string>",
      "logoUrl": "<string>",
      "bannerUrl": "<string>",
      "adresseSiege": {
        "villeId": 123,
        "villeNom": "<string>",
        "regionId": 123,
        "regionNom": "<string>",
        "paysId": 123,
        "paysNom": "<string>",
        "quartier": "<string>",
        "codePostal": "<string>",
        "fullAddress": "<string>"
      },
      "siteWeb": {
        "id": 123,
        "nom": "<string>",
        "url": "<string>"
      },
      "reseauxSociaux": [
        {
          "id": 123,
          "plateforme": "<string>",
          "url": "<string>"
        }
      ],
      "pages": [
        {
          "id": 123,
          "contenu": "<string>",
          "donneesJson": "<string>",
          "ordre": 123,
          "publie": true
        }
      ],
      "totalRecruitersCount": 123,
      "validatedRecruitersCount": 123
    },
    "recruteurId": 123,
    "recruteurNom": "<string>",
    "recruteurEmail": "<string>",
    "totalCandidatures": 123,
    "nouveaux": 123,
    "enCours": 123,
    "rencontres": 123,
    "refuses": 123,
    "embauches": 123,
    "arencontrer": 123
  },
  "error": {
    "code": "<string>",
    "message": "<string>",
    "details": "<string>"
  },
  "timestamp": "2023-11-07T05:31:56Z"
}

Path Parameters

offreId
integer<int64>
required

Body

application/json
titre
string
required
Maximum string length: 200
departement
string
required
Maximum string length: 100
localisation
string
required
Maximum string length: 100
contractType
enum<string>
required
Available options:
CDI,
CDD,
FREELANCE,
STAGE
description
string
required
experience
string
Maximum string length: 50
competences
string[]
salaireMin
integer<int64>
salaireMax
integer<int64>
remotePossible
boolean
deadline
string<date>
entrepriseId
integer<int64>

Response

200 - */*

OK

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