API Methods
geo-list
Format:
GET /api/rest/webmaster/xml/geo-list
Descritption:
Returns the directory of regions
Input parameters:
Response:
- <getGeoListResponseData>
- <status></status>
- <error>string</error>
- <request_id>int</request_id>
- <data>
- <item>
- <parent_id>int</parent_id>
- <code>string</code>
- <count>int</count>
- <items>
- <item>
- <parent_id>int</parent_id>
- <code>string</code>
- <count>int</count>
- <items>
- <item>
- <parent_id>int</parent_id>
- <code>string</code>
- <count>int</count>
- <items></items>
- <title>string</title>
- <value>int</value>
</item>
</items> - <title>string</title>
- <value>int</value>
</item>
</items> - <title>string</title>
- <value>int</value>
</item>
</data>
</getGeoListResponseData>
Example:
http://cityads.com/api/rest/webmaster/xml/geo-list?remote_auth=6420072d37bf14f1df182d0fe0efa2d9offers-categories-list
Format:
GET /api/rest/webmaster/xml/offers-categories-list/{type}
Descritption:
Returns the directory of offer categories
Input parameters:
Type: | Name: | Description: | Possible values: | Required: |
---|
enum | type | | web, mobile | |
Response:
- <getOffersCategoriesListResponseData>
- <status></status>
- <error>string</error>
- <request_id>int</request_id>
- <data>
- <item>
- <parent_id>int</parent_id>
- <code>string</code>
- <count>int</count>
- <items>
- <item>
- <parent_id>int</parent_id>
- <code>string</code>
- <count>int</count>
- <items>
- <item>
- <parent_id>int</parent_id>
- <code>string</code>
- <count>int</count>
- <items></items>
- <title>string</title>
- <value>int</value>
</item>
</items> - <title>string</title>
- <value>int</value>
</item>
</items> - <title>string</title>
- <value>int</value>
</item>
</data>
</getOffersCategoriesListResponseData>
Example:
http://cityads.com/api/rest/webmaster/xml/offers-categories-list/web?remote_auth=6420072d37bf14f1df182d0fe0efa2d9goods-categories-list
Format:
GET /api/rest/webmaster/xml/goods-categories-list/{type}
Descritption:
Returns the directory of goods categories. Directory contains links to market.yandex.ru categories.
Input parameters:
Type: | Name: | Description: | Possible values: | Required: |
---|
enum | type | | goods, marketplace | |
Response:
- <getGoodsCategoriesListResponseData>
- <status></status>
- <error>string</error>
- <request_id>int</request_id>
- <data>
- <item>
- <id>int</id>
- <parent_id>int</parent_id>
- <name>string</name>
- <yandex_category_id>string</yandex_category_id>
- <offers_count>int</offers_count>
- <items>
- <item>
- <id>int</id>
- <parent_id>int</parent_id>
- <name>string</name>
- <yandex_category_id>string</yandex_category_id>
- <offers_count>int</offers_count>
- <items>
- <item>
- <id>int</id>
- <parent_id>int</parent_id>
- <name>string</name>
- <yandex_category_id>string</yandex_category_id>
- <offers_count>int</offers_count>
- <items></items>
</item>
</items>
</item>
</items>
</item>
</data>
</getGoodsCategoriesListResponseData>
Example:
http://cityads.com/api/rest/webmaster/xml/goods-categories-list/goods?remote_auth=6420072d37bf14f1df182d0fe0efa2d9goods-brands-list
Format:
GET /api/rest/webmaster/xml/goods-brands-list/{type}
Descritption:
Returns the directory of brands
Input parameters:
Type: | Name: | Description: | Possible values: | Required: |
---|
enum | type | | goods, marketplace | |
Response:
- <getGoodsBrandsListResponseData>
- <status></status>
- <error>string</error>
- <request_id>int</request_id>
- <data>
- <value>int</value>
- <title>string</title>
- <items>
- <item>
- <id>int</id>
- <name>string</name>
- <offers_count>int</offers_count>
- <title>string</title>
- <value>int</value>
</item>
</items>
</data>
</getGoodsBrandsListResponseData>
Example:
http://cityads.com/api/rest/webmaster/xml/goods-brands-list/goods?remote_auth=6420072d37bf14f1df182d0fe0efa2d9