Create Event Template
Overview
The Arianee event template allows brands to create standardized templates for topical events related to product lifecycle. These templates can be reused for various events, such as repair, maintenance, ensuring consistency and efficiency in event management.
Let's start π
URL
Required rights:
admin
orcertCreate
To create an event template, use the /arianeeEventTemplate
.
POST - https://{{nmpUrl}}/arianeeEventTemplate
Body
Field | Type | Required | Description |
---|---|---|---|
metadata | Object | β | Contains additional information about the event template. |
name | String | β | The display name of the event template. Example: "Repair Event". |
icon | String | β | A URL pointing to an icon that visually represents the event template. |
content | String | β | Contains the core event information respecting the Event Schema. |
{
"deleted": false,
"metadata": {
"name": "Service Event",
"icon": "https://img.freepik.com/vecteurs-premium/vecteur-conception-modele-logo-service_20029-568.jpg"
},
"content": "{\"eventType\":\"repair\",\"language\":\"fr-FR\",\"title\":\"Repair done\",\"description\":\"Your product has been repaired and is now operational.\",\"i18n\":[],\"$schema\":\"https://cert.arianee.org/version1/ArianeeEvent-i18n.json\"}"
}
Return Payload
Status Code | Success | Description |
---|---|---|
200 | true | The event template has been created. |
{
"deleted": false,
"metadata": {
"name": "Evenement de Service",
"icon": "https://img.freepik.com/vecteurs-premium/vecteur-conception-modele-logo-service_20029-568.jpg"
},
"content": "{\"eventType\":\"repair\",\"language\":\"fr-FR\",\"title\":\"Repair done\",\"description\":\"Your product has been repaired and is now operational.\",\"i18n\":[],\"$schema\":\"https://cert.arianee.org/version1/ArianeeEvent-i18n.json\"}"
}
Updated 1 day ago