SurveysAdmin

Gửi lại thông báo đã lỗi hoặc đã hủy (gửi ngay)

Changed on
post/admin/surveys/{surveyId}/notifications/{notificationId}/resend

Request

Path parameters

surveyIdinteger required

ID khảo sát

notificationIdinteger required

ID thông báo

Response

Đã đưa vào hàng đợi

notificationIdinteger

ID thông báo

surveyIdinteger

ID khảo sát

type1 | 2

Loại: Publish / Reminder (1 = Publish, 2 = Reminder)

titlestring

Tiêu đề push

bodystring

Nội dung push

topicstring

FCM topic gửi hàng loạt (nếu có)

userNamesstring

Danh sách user chỉ định (phân cách dấu phẩy)

scheduledDatestring date-time

Thời điểm gửi theo lịch (null = gửi ngay khi tạo)

status0 | 1 | 2 | 3 | 4

Trạng thái (0 = Pending, 1 = Sent, 2 = Failed, 3 = Cancelled, 4 = Processing)

jobIdstring

Hangfire job id

targetCountinteger

Số người nhận dự kiến

sentCountinteger

Số push gửi thành công

errorstring

Lỗi (nếu có)

sentDatestring date-time

Thời điểm gửi xong

createdBystring

Người tạo

createdDatestring date-time

Ngày tạo

updatedDatestring date-time

Ngày cập nhật

Changes