GET api/users/me/affiliate/statistics
This method will retrieve affiliate usage statistics for a user account
Requires Authorization!
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Instance of
AffiliateStatistics| Name | Description | Type | Additional information |
|---|---|---|---|
| AnalyzedPropertiesCount | integer |
None. |
|
| UsedGiftAppealsCount | integer |
None. |
|
| PurchasedGiftAppealsCount | integer |
None. |
|
| PurchasedWholesaleAppealsCount | integer |
None. |
|
| PrePurchasedWholesaleAppealsCount | integer |
None. |
|
| ReferredAppealsCount | integer |
None. |
|
| SignedupPartnersCounty | integer |
None. |
|
| MonetaryValueToClients | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"analyzedPropertiesCount": 1,
"usedGiftAppealsCount": 2,
"purchasedGiftAppealsCount": 3,
"purchasedWholesaleAppealsCount": 4,
"prePurchasedWholesaleAppealsCount": 5,
"referredAppealsCount": 6,
"signedupPartnersCounty": 7,
"monetaryValueToClients": 8.1
}
text/html
Sample:
{"analyzedPropertiesCount":1,"usedGiftAppealsCount":2,"purchasedGiftAppealsCount":3,"purchasedWholesaleAppealsCount":4,"prePurchasedWholesaleAppealsCount":5,"referredAppealsCount":6,"signedupPartnersCounty":7,"monetaryValueToClients":8.1}
application/xml, text/xml
Sample:
<AffiliateStatistics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Pos"> <AnalyzedPropertiesCount>1</AnalyzedPropertiesCount> <MonetaryValueToClients>8.1</MonetaryValueToClients> <PrePurchasedWholesaleAppealsCount>5</PrePurchasedWholesaleAppealsCount> <PurchasedGiftAppealsCount>3</PurchasedGiftAppealsCount> <PurchasedWholesaleAppealsCount>4</PurchasedWholesaleAppealsCount> <ReferredAppealsCount>6</ReferredAppealsCount> <SignedupPartnersCounty>7</SignedupPartnersCounty> <UsedGiftAppealsCount>2</UsedGiftAppealsCount> </AffiliateStatistics>