Key | Type | Optional | Description |
---|---|---|---|
alert_templates[].id | integer | no | |
alert_templates[].type | string | no | One of available alert types names |
alert_templates[].message | string | no | Content of message sent to recipients |
alert_templates[].created_at | datetime | no | Time of creation |
alert_templates[].updated_at | datetime | no | Time of last update |
{
"alert_templates": [
{
"id": 4,
"type": "Fire alert",
"message": "Fire has broke out",
"created_at": "2021-05-14T09:26:14.823Z",
"updated_at": "2021-05-14T09:26:14.823Z"
}
],
"pagination_info": {} // Pagination info - see 'Pagination info'
}
curl --location --request GET 'https://api.mpc.dev.placewise.com/v1/users/me/operations/alert_templates' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization;' \
--header 'X-Client-Authorization: ' \
--header 'X-Store-Id;'
{}