• API. Get customer transactions getBonusOperation
    The command returns all the customer's bonus operations for the specified time interval.

    Request:

{
   "request":[
      {
         "login":"+79257443549",
         "start":null,
         "end":null
      },
      {
         "login":"+79257443549",
         "start":"2013-01-01T00:00:00",
         "end":null
      },
      {
         "login":"+79257443549",
         "start":"2013-01-01T00:00:00",
         "end":"2014-01-01T00:00:00"
      },
      {
         "login":"+7925744354",
         "start":"2013-01-01T00:00:00",
         "end":"2014-01-01T00:00:00"
      }
   ],
   "typeOfCommand":"getBonusOperation"
}
Request parameters:
Object BonusRequest:
Response:

{
   "customerOperations":[
      {
         "login":"+79257443549",
         "operations":[
            {
               "dateTime":"06.03.2014",
               "clientId":"+79257443549",
               "amount":100.0000,
               "reasonType":"Bonus accrual",
               "reason":"Bonus_adding",
               "type_of_money":"bonus",
               "guid":"9549df92-3103-4964-af6a-0b8c3cc99fd6"
            },
            {
               "dateTime":"20.03.2014",
               "clientId":"+79257443549",
               "amount":100.0000,
               "reasonType":"Bonus accrual",
               "reason":"Bonus_adding",
               "type_of_money":"bonus",
               "guid":"9dded35c-9a7d-4901-8288-c4b72ced7737"
            },
            {
               "dateTime":"20.03.2014",
               "clientId":"+79257443549",
               "amount":200.0000,
               "reasonType":"Bonus accrual",
               "reason":"Bonus_adding",
               "type_of_money":"bonus",
               "guid":"9803d32e-8fcd-4984-a736-9f02f726b3c0"
            },
            {
               "dateTime":"20.03.2014",
               "clientId":"+79257443549",
               "amount":-200.0000,
               "reasonType":"Bonus redeem",
               "reason":"Bonus_removing",
               "type_of_money":"bonus",
               "guid":"a74b6b5a-8cbb-43e3-b77c-a8ba71d960b2"
            }
         ],
         "status":"Success",
         "error":null
      },
      {
         "login":"+79257443549",
         "operations":[
            {
               "dateTime":"06.03.2014",
               "clientId":"+79257443549",
               "amount":100.0000,
               "reasonType":"Bonus accrual",
               "reason":"Bonus_adding",
               "type_of_money":"bonus",
               "guid":"9549df92-3103-4964-af6a-0b8c3cc99fd6"
            },
            {
               "dateTime":"20.03.2014",
               "clientId":"+79257443549",
               "amount":100.0000,
               "reasonType":"Bonus accrual",
               "reason":"Bonus_adding",
               "type_of_money":"bonus",
               "guid":"9dded35c-9a7d-4901-8288-c4b72ced7737"
            },
            {
               "dateTime":"20.03.2014",
               "clientId":"+79257443549",
               "amount":200.0000,
               "reasonType":"Bonus accrual",
               "reason":"Bonus_adding",
               "type_of_money":"bonus",
               "guid":"9803d32e-8fcd-4984-a736-9f02f726b3c0"
            },
            {
               "dateTime":"20.03.2014",
               "clientId":"+79257443549",
               "amount":-200.0000,
               "reasonType":"Bonus redeem",
               "reason":"Bonus_removing",
               "type_of_money":"bonus",
               "guid":"a74b6b5a-8cbb-43e3-b77c-a8ba71d960b2"
            }
         ],
         "status":"Success",
         "error":null
      },
      {
         "login":"+79257443549",
         "operations":[
 
 
         ],
         "status":"Success",
         "error":null
      },
      {
         "login":"+7925744354",
         "operations":null,
         "status":"Failure",
         "error":{
            "typeOfError":"loginInvalid",
            "description":"Buyer +7925744354 does not exist"
         }
      }
   ],
   "status":"Success",
   "error":null
}
Response parameters:
Object CustomerOperation:
Object Operation:
Object Error: