Testing:bikanawe.hamwenawe.com

communications_messages_partial_update

PATCHhttps://bikanawe.hamwenawe.com/api/v1/communications/messages/{id}/Requires authentication

ViewSet for broadcast communications (admin/financial manager)

Parameters

NameLocationTypeRequiredDescription
idpathYesA unique integer value identifying this communication.

Request Body

{
  "id": "1b727562-8cc6-49d4-bfc3-ee1b642a5f69",
  "endpoint": "4573a90a-3e76-41de-b7af-9cc1f9d28467",
  "content_type": "application/json",
  "documented_json": {
    "type": "announcement",
    "title": "string",
    "status": "draft",
    "message": "string",
    "audience": "all",
    "channels": "string",
    "priority": "low",
    "banner_days": 0,
    "scheduled_at": "2026-01-01T00:00:00Z",
    "banner_hidden": true,
    "exclude_users": "string",
    "specific_users": null
  },
  "last_verified_json": null,
  "is_in_sync": false,
  "last_verified_at": null
}

Sample Responses

{
  "id": 0,
  "type": "announcement",
  "title": "string",
  "status": "draft",
  "message": "string",
  "sent_at": "2026-01-01T00:00:00Z",
  "audience": "all",
  "channels": "string",
  "priority": "low",
  "created_at": "2026-01-01T00:00:00Z",
  "created_by": 0,
  "total_sent": 0,
  "updated_at": "2026-01-01T00:00:00Z",
  "banner_days": 0,
  "banner_live": "string",
  "scheduled_at": "2026-01-01T00:00:00Z",
  "total_failed": 0,
  "banner_hidden": true,
  "exclude_users": "string",
  "banner_ends_at": "2026-01-01T00:00:00Z",
  "specific_users": null,
  "created_by_name": "string",
  "recipient_count": "string",
  "total_recipients": 0,
  "shows_site_banner": "string"
}