Você está na página 1de 2

API and SDK Documentation

Version: 1.0.0

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

Default

affiliatesReportsList

Reports for affiliates, default in csv format (use format=json for json).

GET

/affiliates/reports

Usage and SDK Samples

Curl Java Android Obj-C JavaScript C# PHP Perl Python

curl -X GET "https://localhost/affiliates/reports?key=&type=&start=&end=&format="

Parameters
Query parameters
Name Description
key* UUID (uuid)
Affiliate API key
Required
type* String
Report type (clicks/sales)
Required
start* Date (date-time)
Report start date
Required
end Date (date-time)
Report end date
format String
Report format (csv/json)

Responses
Status: 200 - Successful response in json format. The same fileds as in `data` will appear in csv file.

Schema

▼ { []
status: string
total: integer
data: ▼ [ []
▼ { []
campaignid: string
campaignname: string
tstamp: string (date-time)
subid1: string (uuid)
currency: string
amount: integer
}
]
}

Status: 403 - Unauthorized

Status: 405 - Method not allowed

Schema

▼ { []
status: string
error_code: string
error_msg: string
}

Status: 406 - Not acceptable

Schema

▼ { []
status: string
error_code: string
error_msg: string
}

Generated 2018-05-29T14:51:07.659Z

Você também pode gostar