Panel | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
| ||||||||
Please read the Terms of Use for Materials on ZennoLab |
The WebService API is located at: https://userarea.zennolab.com/BotStore.asmx
...
Code Block |
---|
public class BotInfo { // unique identifier //of ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΡΠΉthe ΠΈΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡbot Π±ΠΎΡΠ° public int Id; // bot ΠΈΠΌΡname Π±ΠΎΡΠ° public string Name; // file Π½Π°Π·Π²Π°Π½ΠΈΠ΅name ΡΠ°ΠΉΠ»Π° public string FileName; // when ΠΊΠΎΠ³Π΄Π°created ΡΠΎΠ·Π΄Π°Π½ public DateTime Created; // ΠΊΠΎΠ³Π΄Π°when was ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΠΉlast ΡΠ°Π·updated ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ public DateTime Modified; // your Π²Π°Ρcomment ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΉ public string Comment; // ΡΠ°Π·ΠΌΠ΅Ρsize in Π²bytes Π±Π°ΠΉΡΠ°Ρ public int Size; } |
GetSales
...
Code Block |
---|
public class SaleInfo { // unique identifier //of ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΡΠΉthe ΠΈΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡsale ΠΏΡΠΎΠ΄Π°ΠΆΠΈ public int Id; // Date of Π΄Π°ΡΠ°sale ΠΏΡΠΎΠ΄Π°ΠΆΠΈ public DateTime SaleDateTime; // customer email ΠΏΠΎΠΊΡΠΏΠ°ΡΠ΅Π»Ρ public string CustomerEmail; // bots id separated Π±ΠΎΡΠΎΠ²by ΡΠ΅ΡΠ΅Π·commas Π·Π°ΠΏΡΡΡΡ public string Bots; // was Π±ΡΠ»there Π»ΠΈa Refund ΠΏΠΎfor this Π΄Π°Π½Π½ΠΎΠΉsale ΠΏΡΠΎΠ΄Π°ΠΆΠ΅ public bool HasRefund; // sale is ΠΏΡΠΎΠ΄Π°ΠΆΠ°a ΡΠ²Π»ΡΠ΅ΡΡΡsubscription ΠΏΠΎΠ΄ΠΏΠΈΡΠΊΠΎΠΉor ΠΈΠ»ΠΈnot Π½Π΅Ρ public bool IsSubscription; // when the ΠΊΠΎΠ³Π΄Π°subscription Π·Π°ΠΊΠ°Π½ΡΠΈΠ²Π°Π΅ΡΡΡends ΠΏΠΎΠ΄ΠΏΠΈΡΠΊΠ° public DateTime? SubscriptionDueDate; // in Π²which ΠΊΠ°ΠΊΠΈΡ products ΠΏΡΠΎΠ΄ΡΠΊΡΠ°Ρ the ΠΌΠΎΠΆΠ΅Ρproject ΡΠ°Π±ΠΎΡΠ°ΡΡcan ΠΏΡΠΎΠ΅ΠΊΡwork // 1 - ΡΠΎΠ»ΡΠΊΠΎonly Π²in ZennoBox, 2 - ΡΠΎΠ»ΡΠΊΠΎonly Π²in ZennoPoster, 3 - Π²in ZennoBox ΠΈand ZennoPoster public int ForProducts; } |
...
Exception - an internal error has occurred, if the error persistsrepeats, you should contact ZennoLab support.
...
Upon successful registration, you will receive get a record of the form: "Pass: password", where password is the password of the registered user from the personal account.
...
If the operation is successful, you will receive get a record of the form: "Pass: password", where password is the user's password from the personal account.
...