girikuncoro/cageur

Schedule Message UI - schedule a message

Closed this issue · 0 comments

Story 1

As CLINIC ADMIN, I would like to schedule sending message for later instead of now, so I can work more efficiently with other things

Story 2

As CLINIC ADMIN, I would like to repeat the scheduled message every day or monthly, so I don’t do repeatble work everytime

Mockups:
image

API:

POST /api/v1/message/schedule/clinic/:id

request: {
  clinic_id: (int),
  disease_group: (int),
  body: (string),
  frequency: (enum: 'none', 'daily', 'monthly'),
  scheduled_at: (time in UTC, format: 'YYYY-MM-DD HH:mm', e.g. '2015-01-30 23:30')
}