Show one for account
const url = 'https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/message/b7e4c1a2-3f5d-4e8a-9c21-6f0b5d8e3a47';const options = { method: 'GET', headers: {'Wink-Version': '2.0', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/message/b7e4c1a2-3f5d-4e8a-9c21-6f0b5d8e3a47 \ --header 'Authorization: Bearer <token>' \ --header 'Wink-Version: 2.0'Retrieve a single notification belonging to the given managing entity by its identifier.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Managing entity identifier
Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69Message identifier to be retrieved
Example
b7e4c1a2-3f5d-4e8a-9c21-6f0b5d8e3a47Header Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”Notification retrieved successfully
object
Document UUID
Datetime this record was first created
Datetime this record was last updated
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.
Owner identifier
ManagingEntity identifier
Owner name
Importance of message
Message type
Recipient type
Message template
Subject of message
Body of message
Path to feature
AffiliateAccount read announcement
Message marked as removed
Also send email announcement
Example
{ "id": "", "createdDate": "", "lastUpdate": "", "version": "", "userIdentifier": "", "managingEntityIdentifier": "", "name": "", "priority": "HIGH", "type": "ALERT", "recipientType": "USER", "messageTemplateId": "", "subject": "", "body": "", "ctaUrl": "", "read": false, "markedAsRemoved": false, "notifyViaEmail": false}Bad Request
object
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}object
object
object
object
object
object
object
object
Unauthorized
object
object
Forbidden
object
object
Notification not found
object
Document UUID
Datetime this record was first created
Datetime this record was last updated
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.
Owner identifier
ManagingEntity identifier
Owner name
Importance of message
Message type
Recipient type
Message template
Subject of message
Body of message
Path to feature
AffiliateAccount read announcement
Message marked as removed
Also send email announcement
Example
{ "id": "", "createdDate": "", "lastUpdate": "", "version": "", "userIdentifier": "", "managingEntityIdentifier": "", "name": "", "priority": "HIGH", "type": "ALERT", "recipientType": "USER", "messageTemplateId": "", "subject": "", "body": "", "ctaUrl": "", "read": false, "markedAsRemoved": false, "notifyViaEmail": false}Internal Server Error
object
Example generated
{}