Skip to content

Delete Notification

DELETE
/api/managing-entity/{managingEntityIdentifier}/message/{messageIdentifier}
curl --request DELETE \
--url https://api.wink.travel/api/managing-entity/company-1/message/message-1 \
--header 'Wink-Version: 2.0'

Remove announcement specified by its identifier.

managingEntityIdentifier
required
string
""

Remove a message that belongs to this company identifier

Example
company-1
messageIdentifier
required
string
""

Message identifier to be removed

Example
message-1
Wink-Version
string
default: 2.0.0
Allowed values: 2.0

OK

Media type application/json
object
id

Document UUID

string
""
createdDate

Datetime this record was first created

string format: date-time
""
lastUpdate

Datetime this record was last updated

string format: date-time
""
version

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.

integer format: int64
""
userIdentifier
required

Owner identifier

string format: uuid
"" >= 1 characters
managingEntityIdentifier

ManagingEntity identifier

string format: uuid
""
name

Owner name

string
""
priority
required

Importance of message

string
""
Allowed values: HIGH MEDIUM LOW
type
required

Message type

string
""
Allowed values: ALERT MESSAGE FEATURE
recipientType
required

Recipient type

string
""
Allowed values: USER ACCOUNT
messageTemplateId
required

Message template

string
"" >= 1 characters
subject
required

Subject of message

string
"" >= 1 characters
body
required

Subject of message

string
"" >= 1 characters
ctaUrl

Path to feature

string
""
read

AffiliateAccount read announcement

boolean
markedAsRemoved

Message marked as removed

boolean
notifyViaEmail

Also send email announcement

boolean
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
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com",
"properties": {
"additionalProperty": "example"
}
}

Unauthorized

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Forbidden

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Internal Server Error

object
Example generated
{}