- POST /v1/in/stats/send-log (DDL-02) - 특정 메시지의 개별 디바이스별 발송 로그 조회 - 플랫폼(iOS/Android/Web), 성공/실패 필터 지원 - Device Include로 디바이스 토큰, 플랫폼 정보 포함 Closes #136
35 lines
905 B
C#
35 lines
905 B
C#
using System.Text.Json.Serialization;
|
|
using SPMS.Application.DTOs.Notice;
|
|
|
|
namespace SPMS.Application.DTOs.Stats;
|
|
|
|
public class SendLogDetailResponseDto
|
|
{
|
|
[JsonPropertyName("items")]
|
|
public List<SendLogDetailItemDto> Items { get; set; } = [];
|
|
|
|
[JsonPropertyName("pagination")]
|
|
public PaginationDto Pagination { get; set; } = new();
|
|
}
|
|
|
|
public class SendLogDetailItemDto
|
|
{
|
|
[JsonPropertyName("device_id")]
|
|
public long DeviceId { get; set; }
|
|
|
|
[JsonPropertyName("device_token")]
|
|
public string DeviceToken { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("platform")]
|
|
public string Platform { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("status")]
|
|
public string Status { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("fail_reason")]
|
|
public string? FailReason { get; set; }
|
|
|
|
[JsonPropertyName("sent_at")]
|
|
public DateTime SentAt { get; set; }
|
|
}
|