GetSubIdStatistics

 

GetSubIdStatistics

This method is used to generate a detailed SubID statistics for a specified publisher.

To access live data, please use this WSDL file:
https://api.affili.net/V2.0/PublisherStatistics.svc?wsdl
To access demo data, please use this WSDL file:
https://developer-api.affili.net/V2.0/PublisherStatistics.svc?wsdl


Operation test

With this form, you can try out this web service. We already filled it out with a sample request which will return data. Feel free to fill in different parameter values - our test data reference gives you an overview of our sample data.

FieldTypeValues
PublisherId *int 
StartDatedatetime
EndDatedatetime
ProgramIdsint array
ProgramTypes *enum
SubIdstring
TransactionStatus *enum
ValuationTypeenum
MaximumRecords *int 

XML response

Short paramter definitions
PublisherId (int):
Id of the publisher whose account is being used.
StartDate (datetime):
This parameter defines the start date for which the statistics ought to be generated. It is included in the evaluation.
EndDate (datetime):
This parameter defines the end date for which the statistics ought to be generated. It is included in the evaluation.
SubId (string):
This parameter specifies the SubId for which the statistics ought to be generated. Possible values are: “”: if no value is assigned, the SubId parameter is ignored, SubId: records in which the SubId is exactly the assigned value are returned, %SubId%: records which contain the assigned value in its SubId are returned, %SubId: records in which the SubId ends with the assigned value are returned, SubId%: records in which the SubId begins with the assigned value are returned.
ValuationType (enum):
This parameter defines the event on which the valuation should be based on. Possible values are: DateOfRegistration, DateOfConfirmation
ProgramIds(array of int):
This parameter defines the program Ids for which the daily statistcs ought to be generated.
ProgramTypes (enum):
This parameter defines the commission type of the requested statistics. Possible values are: None, PayPerClick, PayPerSaleLead, CombinedProgram
TransactionStatus (enum):
Depicts the status of the sale or lead. Possible values are: Open, Confirmed, Cancelled, All
MaximumRecords (int):
The maximum amount of results you want to receive.

Complete code examples

PHP

 (request)

.NET

 (request)

Copyright © 2008, affilinet GmbH