Skip to content

Show event

GET
/api/managing-entity/{managingEntityIdentifier}/webhook/event/{eventId}
curl --request GET \
--url https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/webhook/event/b7e4c1a2-3f5d-4e8a-9c21-6f0b5d8e3a47 \
--header 'Authorization: Bearer <token>' \
--header 'Wink-Version: 2.0'

One outbox event including the exact JSON body delivered to subscribers.

managingEntityIdentifier
required
string
""

Managing entity

Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69
eventId
required
string
""

Event identifier

Example
b7e4c1a2-3f5d-4e8a-9c21-6f0b5d8e3a47
Wink-Version
string
default: 2.0.0
Allowed values: 2.0

The event

Media typeapplication/json

An outbox event (letter) addressed to one managing entity.

object
body

The exact JSON body that is (or would be) delivered.

""
family

Event family / OpenAPI tag.

string
""
id

Event identifier (also sent as Wink-Event-Id).

string format: uuid
""
occurredAt

When the event happened.

string format: date-time
""
ownerIdentifier

Addressed managing entity.

string format: uuid
""
producer

Which application produced the letter.

string
""
recipientRole

Why the managing entity receives it.

string
""
Allowed values: SUPPLIER AFFILIATE AGENT SELF
schemaVersion

Payload contract version.

integer format: int32
""
sourceEntityIdentifier

Identifier of the resource the event is about.

string format: uuid
""
status

Outbox status.

string
""
Allowed values: NEW DISPATCHED NO_SUBSCRIBERS
type

Event type key.

string
""
key
additional properties
""
Example
{
"family": "booking",
"producer": "inventory",
"type": "booking.create"
}

Bad Request — missing or invalid request parameter or body

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Unauthorized — authentication is required or the session has expired

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Forbidden — authenticated but lacking the required permission or scope

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Not Found — the requested resource does not exist

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Method Not Allowed — the HTTP verb is not supported on this endpoint

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Conflict — the resource was modified by someone else since you read it; re-read it and retry with the new version

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Unsupported Media Type — use application/json

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Internal Server Error — an unexpected failure occurred on the server

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Service Unavailable — a downstream dependency is unreachable

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example