Management Information Web Service

<back to all web services

LogMultipleEvents

The following routes are available for this service:
POST/LogMultipleEvents
LogMultipleEvents Parameters:
NameParameterData TypeRequiredDescription
EventsbodyList<Event>No
Event Parameters:
NameParameterData TypeRequiredDescription
SourceKeybodystringNo
TypeKeybodystringNo
CSRbodyint?No
GroupingGUIDbodyGuid?No
EventVerifiedbodybool?No
PeriodStartDateTimebodyDateTime?No
PeriodEndDateTimebodyDateTime?No
GenericRequestResult Parameters:
NameParameterData TypeRequiredDescription
SuccessfulbodyboolYesResult success flag (true/false)
MessagebodystringNoResult message (reason for fail)

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/LogMultipleEvents HTTP/1.1 
Host: mi-ws-test.worldpay.com 
Content-Type: application/json
Content-Length: length

{"Events":[{"SourceKey":"String","TypeKey":"String","CSR":0,"GroupingGUID":"00000000000000000000000000000000","EventVerified":false,"PeriodStartDateTime":"\/Date(-62135596800000-0000)\/","PeriodEndDateTime":"\/Date(-62135596800000-0000)\/"}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Successful":false,"Message":"String"}