Catalogue: Difference between revisions
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
</translate> | </translate> | ||
<translate> | |||
==General Information== | ==General Information== | ||
| Line 23: | Line 24: | ||
* <code>error</code> - A specified error code if there was an error invoking the method, otherwise null. | * <code>error</code> - A specified error code if there was an error invoking the method, otherwise null. | ||
* <code>id</code> - The id of the request it is responding to. | * <code>id</code> - The id of the request it is responding to. | ||
</translate> | |||
<translate> | |||
Example | Example | ||
| Line 64: | Line 67: | ||
* <code>X-Token</code> an authentication token. See [[#Authentication|authentication]] section. | * <code>X-Token</code> an authentication token. See [[#Authentication|authentication]] section. | ||
</translate> | |||
<translate> | |||
===Endpoint=== | ===Endpoint=== | ||
| Line 83: | Line 88: | ||
Get lsit of ALL categories | Get lsit of ALL categories | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getCities === | === getCities === | ||
| Line 98: | Line 103: | ||
Returns city list as Array order by name | Returns city list as Array order by name | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getCompanyCount === | === getCompanyCount === | ||
| Line 131: | Line 136: | ||
</pre> | </pre> | ||
Use tag_ids OR tags | Use tag_ids OR tags | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getCompanyInfo === | === getCompanyInfo === | ||
| Line 147: | Line 152: | ||
Returns company information by company login | Returns company information by company login | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getCompanyList === | === getCompanyList === | ||
| Line 181: | Line 186: | ||
</pre> | </pre> | ||
Use tag_ids OR tags | Use tag_ids OR tags | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getCompanyMarkers === | === getCompanyMarkers === | ||
| Line 218: | Line 223: | ||
Use tag_ids OR tags | Use tag_ids OR tags | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getCompanyReviews === | === getCompanyReviews === | ||
| Line 234: | Line 239: | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getCountries === | === getCountries === | ||
| Line 246: | Line 253: | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getFeedbackList === | === getFeedbackList === | ||
| Line 258: | Line 267: | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getPromotionCount === | === getPromotionCount === | ||
| Line 291: | Line 302: | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getPromotionInfo === | === getPromotionInfo === | ||
| Line 308: | Line 321: | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getPromotionList === | === getPromotionList === | ||
| Line 342: | Line 357: | ||
Use tag_ids OR tags | Use tag_ids OR tags | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getPromotionListByIds === | === getPromotionListByIds === | ||
| Line 357: | Line 373: | ||
Returns active promotion list | Returns active promotion list | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getPromotionReviews === | === getPromotionReviews === | ||
| Line 372: | Line 389: | ||
Returns promotion reviews list | Returns promotion reviews list | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getRecentCompanies === | === getRecentCompanies === | ||
| Line 387: | Line 405: | ||
Returns list of companies ordered by date DESC | Returns list of companies ordered by date DESC | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getRecentFeedbacks === | === getRecentFeedbacks === | ||
| Line 402: | Line 421: | ||
Returns list of feedbacs ordered by date DESC | Returns list of feedbacs ordered by date DESC | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getRecentPromotions === | === getRecentPromotions === | ||
| Line 417: | Line 437: | ||
Returns list of promotions ordered by date DESC | Returns list of promotions ordered by date DESC | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getRelatedPromotions === | === getRelatedPromotions === | ||
| Line 433: | Line 454: | ||
Returns related promotions by given promotion id | Returns related promotions by given promotion id | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getTags === | === getTags === | ||
| Line 455: | Line 477: | ||
Use tag_ids OR tags | Use tag_ids OR tags | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getTopCities === | === getTopCities === | ||
| Line 467: | Line 490: | ||
Returns city list as Array order by company count in city | Returns city list as Array order by company count in city | ||
</translate> | |||
---- | ---- | ||
<translate> | |||
=== getTopCountries === | === getTopCountries === | ||
| Line 478: | Line 502: | ||
Returns country list as Array order by company count in country | Returns country list as Array order by company count in country | ||
</translate> | |||