Changes Announcement.

​

Use this method to change Announcement properties. Permissions: Administrator, SupportAdministrator users.

Path Parameters

  • Announcement ID

Headers

  • The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.

Body·

Mandatory. Announcement to be changed.

  • Feed description. Length: 100.

  • full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

  • BaseFrequencyEnum { Hourly: 'H'; Daily: 'D'; Weekly: 'W'; Monthly: 'M'; SubPeriodStart: 'S'; SubPeriodEnd: 'E'; PnLPeriodStart: 'P'; PnLPeriodEnd: 'L'; Quarterly: 'Q'; Yearly: 'Y' }

    values
    HDWMSEPLQY
  • Frequency days as kept in the DB. Type: string; if Frequency = 'D' - null (every day), else if Frequency = 'W' - 0-6, else if Frequency = 'M' - 01-31

  • When true - Turns off data source processing

  • Name of the layout file

  • End of Quiet Time before which notifications are not sent

  • Start of Quiet Time after which notifications are not sent

  • full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

Responses

  • OK

Request Example for patch/v2/ActivityFeedSetup/Announcement/{id}
curl /v2/ActivityFeedSetup/Announcement/C895A81E-0C20-42C0-B2DC-EAF43F9447BD \
  --request PATCH \
  --header 'Content-Type: application/json-patch+json' \
  --header 'DCKey: YOUR_SECRET_TOKEN' \
  --data '{
  "Description": "",
  "Hide": true,
  "Frequency": "H",
  "FrequencyOption": null,
  "QuietHoursStart": "21:30:00",
  "QuietHoursEnd": "21:30:00",
  "LayoutName": null,
  "StartDate": "2019-01-03",
  "EndDate": "2019-01-03"
}'
No Body