Инструменты пользователя

Инструменты сайта


yovoinapp_a

Различия

Здесь показаны различия между двумя версиями данной страницы.

Ссылка на это сравнение

Следующая версия
Предыдущая версия
yovoinapp_a [2020/07/23 12:42]
serg создано
yovoinapp_a [2020/07/27 07:18] (текущий)
serg
Строка 2: Строка 2:
 ===== REQUEST ===== ===== REQUEST =====
 <​code>​ <​code>​
-http://​inapp.yovoads.com/​api/​a?​id=1&​token=12345678901234567890123456789012+http://​inapp.yovoads.com/​api/​rp?​id=1&​token=12345678901234567890123456789012
 </​code>​ </​code>​
  
Строка 11: Строка 11:
 Bundle* ​        ​string - android packagename приложения/​ios itunesid приложения Bundle* ​        ​string - android packagename приложения/​ios itunesid приложения
 GAID*           ​string(40) - Google Advertising ID/для iOS - IDFA; GAID*           ​string(40) - Google Advertising ID/для iOS - IDFA;
-DateFrom      int64  // if dateto-datefrom>​7 days {datefrom = dateto ​7 days} +ProductType   int (0-Consumption,​ 1Non-Consumable,​ 2- Subscription) 
-DateTo        int64  // if dateto>​now() {dateto=now()),+Data          string ​[]{ 
 +                              ProductId: string 
 +                              PurchaseToken:​ string 
 +                           }
 </​code>​ </​code>​
 +
 +"​Data"​="​[{"​ProductId":​10,"​PurchaseToken":"​jbhfsbhjsdfbjh"​},​{},​{}]"​
 +
 +
  
 === OK Response === === OK Response ===
 <​code>​ <​code>​
 { {
-    "PackageName" string +    "Data":[]{ 
-    "Purchases":[]{ +                  "​ProductId" ​       ​string ​    json:"​pid"​ 
-                  "​OrderId" ​      ​string +                  "​Quantity" ​        ​int64 ​     json:"​q"​ 
-                  "ProductId" ​    ​string +                  "​PurchaseState" ​   int64      json:"ps" ​     
-                  "​PurchaseTime" ​ int +                  "​Acknowledged" ​    ​int64 ​     json:"​a"​ 
-                  "PurchaseState" ​int +                  "​ProductType" ​     int        json:"​prt"​ 
-                  "PurchaseToken" ​string ​ +                  ​ 
-                  "Acknowledged" ​ ​bool  ​+                  "​OrderId" ​         string ​    json:"​o"​ 
 +                  "PurchaseToken" ​   string ​    json:"​pt"​ 
 +                  "​PurchaseTime" ​    string ​     json:"​t"​ 
 +                  "ConsumptionState"​ int64      json:"​cs
 +                  "PurchaseType" ​    ​int64 ​     json:"​pty
 +                  "DeveloperPayload"​ string ​    ​json:"​dp" ​
                   }                   }
     "​Error" ​        - string     "​Error" ​        - string
yovoinapp_a.1595508129.txt.gz · Последние изменения: 2020/07/23 12:42 — serg