Skip to main content

Get Order Events

GetOrderEvents​

warning

This API method is deprecated. Consumers must not rely on any response data from this endpoint.

This method returns order events for a specific order.


Input​

GetOrderEventsRequest​

FieldRTypeDescription
StartDate*DateTimeThe earliest creation date/time of the event searched for.
EndDate*DateTimeThe latest creation date/time of the event searched for.
LastEventId*LongFilters out event IDs less than the specified value.
ClientId*LongID that identifies a client in Svea Payments’s system.
EventType*OrderEventTypeFilters on event type. See OrderEventType.

Output​

GetOrderEventsResponse​

FieldRTypeDescription
Events*IEnumerable<OrderEvent>Collection of OrderEvent objects.

Structures​

OrderEvent​

FieldRTypeDescription
EventId*LongEvent ID.
SveaOrderId*LongUnique ID for the order.
ClientId*LongID that identifies a client in Svea Payments’s system.
EventType*(String) OrderEventTypeEvent type. See OrderEventType.
OrderAction-StringThe action performed on the order.
CreationDate*DateTimeCreation date and time of the log entry.
PendingEvent-PendingEventOnly set if OrderEventType is PendingEvent.

PendingEvent​

FieldRTypeDescription
Identifier-StringIdentifier for the pending event.
PendingStatus-(String) PendingStatusSee PendingStatus.
ActionReason-StringUser or system description of why this pending event occurred.
OrderStatus-(String) OrderStatusOrder state at the time of the event. See OrderStatus.

Enumerations​

OrderEventType​

ValueDescription
All-
OrderEvent-
PendingEvent-

PendingStatus​

ValueDescription
Created-
Approved-