01. Campaigns

Update the visibility of a campaign for an organizational unit

Changed on
put/api/campaign/{idCampaign}/organizational-unit/{idOu}/visibility

Request

  • The document declares no server URL.
  • Auth: OAuth 2 (authorization code, authorization URL http://localhost:7080/realms/sabiane/protocol/openid-connect/auth, token URL http://localhost:7080/realms/sabiane/protocol/openid-connect/token, scopes: read, write)

Path parameters

idCampaignstring required
idOustring required

Request body

managementStartDateinteger
interviewerStartDateinteger
identificationPhaseStartDateinteger
collectionStartDateinteger
collectionEndDateinteger
endDateinteger
useLetterCommunicationboolean
mailstring
telstring

Response

OK

Changes

    • breaking

      for the path request parameter idCampaign, the minLength was increased from 0 to 1

    • breaking

      for the path request parameter idOu, the minLength was increased from 0 to 1

    • info

      for the path request parameter idCampaign, the minLength was decreased from 1 to 0

    • info

      for the path request parameter idOu, the minLength was decreased from 1 to 0