Behavior: Sales Report

Sales Report

{action} = sales-report

Required params

key:

App Mobactions Key

from-date:

date to get the users from. “yyyy-mm-dd”

to-date:

date to get the users to. “yyyy-mm-dd”

Optional params

filter:

a JSON filter generated using “Generate Filter” action.

Response

203:

JSON array with an array for each user between dates.

50X:

error. Check codes at the end of documentation

Example

You can use the attached example for testing.

Request:

  • https://in.emma.io/API/sales-report
  • key=MobActionsKey
  • campaign-id=123
  • from-date=”2012-09-30 00:00:00”
  • to-date=”2012-10-30 00:00:00”

Response:

{
“05-05-2012″:
{
“TOTAL BUYERS”:”48″,
“TOTAL REVENUE”:”23.123,00″,

},
“06-05-2012″:
{
“TOTAL BUYERS”:”65″,
“TOTAL REVENUE”:”43.654,00″,

},

}

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.