Info | ||||
---|---|---|---|---|
| ||||
We want to provide you with the latest help content in your language as soon as possible. This page has been translated automatically and may contain grammatical errors or inaccuracies. We want this content to be useful to you. Please let us know at the bottom of this page if this information was helpful. View the original article in Russian: API ΡΡΠ½ΠΊΡΠΈΠΈ Π΄Π»Ρ Π°Π²ΡΠΎΠΌΠ°ΡΠΈΠ·Π°ΡΠΈΠΈ ΠΏΡΠΎΠ΄Π°ΠΆΠΈ ΠΠ°ΡΠΈΡ ΠΏΡΠΎΠ΅ΠΊΡΠΎΠ² |
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; } |
...
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.
...