If you have any question left, please drop a note with the discussion link of this page.
Explanation of response items for retrieving all sale items
From Wiki.zanox.com
Contents |
xml
Language declaration of the response
attributes
- version: fixed to "1.0"
- encoding: fixed to "UTF-8"
- standalone: fixed to "yes"
response
Container tag for adspacesResult.
attributes
- xmlns: namespace of the version of the API which was used for the request. Example value: "http://api.zanox.com/namespace/2008-05-21/"
reportsResult
Container tag for all saleItems in the result set.
saleItem
Contains all information on an individual sale.
attributes
- id: The unique ID for an individual sale. Example value: http://api.zanox.com/xml/2008-05-21/reports/sales/sale/{id}
status
The state of the sale. 4 possible values:
- open
- rejected
- confirmed
- freigegeben
date
The date when the sale was registered. Typically when the user bought an item in a shop. Example value: 2008-01-02T00:00:00.000Z
modifieddate
The date when the sale was modified by the advertiser. Typically when the advertiser set up the state of the sale. Example value: 2008-01-10T00:00:00.000Z
clickdate
The date when the user clicked on the tracking link which generated the sale. Example value: 2008-01-02T00:00:00.000Z
adspace
attributes
- id:
admedia
attributes
- id:
program
attributes
- id:
amount
The amount of the sale. This is the value on whose basis the commission will be computed. This is NOT the commission.
commission
This is the value of the earned commission.
currency
The currency of the earned commision.
publisher
Only available if sub-publishers have generated the sale.
attributes
- id: The id of the sub-publisher
commission
This is the value of the earned commission of the SUB-PUBLISHER.