{
"events":[
{
"customerId":"5C5720C6-3BF9-49E1-927C-1E85EFF4D870",
"customerEvent":"birhdate",
"bankEvent":"registration",
"customerType1":"debitCardHolder",
"customerType2":"depositHolder",
"customerType3":"creditHolder",
"customerType4":"male",
"customerType5":"goldSupport",
"eventId":"123456",
"eventDate":"2015-01-01T00:00:00+03",
"eventType":"operation",
"operationType":"purchase",
"operationAmount":100.0000,
"operationCurrencyRate": 1,
"merchantId":123456,
"terminalId":123456,
},
......
],
"typeOfCommand":"loadCustomerEvents"
}
Success:
{
"errors":[ ],
"status":"Success",
"error":null
}
Failure to execute the command as a whole:
{
"status":"Failure",
"error":{
"typeOfError":"notAllowed",
"description":"You cannot send a new command until the previous command has been processed"
}
}
Failure when an error occurs in the transmitted commands:
{
"errors":[
{
"eventId":"636554297092801053",
"typeOfError":"wrongParam",
"description":"Unknown customer type"
}
],
"status":"Failure",
"error":{
"typeOfError":"wrongData",
"description":"Number of errors - 1"
}
}