Fields when send to the api inside a request.
Field | Type | Description |
---|---|---|
title | String | Title of the notification |
message | String | Message |
send_at | DateTime | When to send the notification in UTC |
Fields when returned by the api in a response.
Field | Type | Description |
---|---|---|
title | String | Title of the notification |
message | String | Message |
send_at | DateTime | When to send the notification in UTC |
id | Int | Id of the notification |
sent | Bool | A boolean value |
When used inside a request.
{
"title": "...",
"message": "...",
"send_at": "2019-01-31 12:00:00"
}
When returned in a response.
{
"title": "...",
"message": "...",
"send_at": "2019-01-31 12:00:00",
"id": 15,
"sent": false
}