Developers

Lists

Currencies

Getting a list of currencies
Request format:
GET https://cityads.com/api/rest/webmaster/v2/currencies
                    
Response format:
{
    "currency": [
        {
            "id": "1",
            "name": "RUB"
        },
        {
            "id": "2",
            "name": "USD"
        },
        ...
    ]
}
                    
Response parameters:
Name: Description:
id Currency ID.
name Currency code per ISO 4217.
Getting a currency by an identifier
Request format:
GET https://cityads.com/api/rest/webmaster/v2/currencies/{id}
                    
Response format:
{
    "currency": {
        "id": "1",
        "name": "RUB"
    }
}
                    
Response parameters:
Name: Description:
id Currency ID.
name Currency code per ISO 4217.

Lost order statuses

Getting a list of lost order statuses
Request format:
GET https://cityads.com/api/rest/webmaster/v2/lostOrderStatuses
                    
Response format:
{
    "lostOrderStatus": [
        {
            "id": "1",
            "name": "New"
        },
        {
            "id": "2",
            "name": "Processing"
        },
        ...
    ]
}
                    
Response parameters:
Name: Description:
id ID статуса.
name Status name.
Getting a lost order status by an identifier
Request format:
GET https://cityads.com/api/rest/webmaster/v2/lostOrderStatuses/{id}
                    
Response format:
{
    "lostOrderStatus": {
        "id": "1",
        "name": "New"
    }
}
                    
Response parameters:
Name: Description:
id ID статуса.
name Status name.

Offer tags

Getting a list of offer tags
Request format:
GET https://cityads.com/api/rest/webmaster/v2/offerTags
                    
Response format:
{
    "offerTag": [
        {
            "id": 1,
            "code": "exclusive",
            "name": "Exclusive",
            "translated_name": "Exclusive"
        },
        {
            "id": 12,
            "code": "summer",
            "name": "Summer",
            "translated_name": "Summer"
        },
        ...
    ]
}
                    
Response parameters:
Name: Description:
id Tag ID.
code Tag string code.
name Tag name.
translated_name Translated tag name.
Getting an offer tag by an identifier
Request format:
GET https://cityads.com/api/rest/webmaster/v2/offerTags/{id}
                    
Response format:
{
    "offerTag": {
        "id": 1,
        "code": "exclusive",
        "name": "Exclusive",
        "translated_name": "Exclusive"
    }
}
                    
Response parameters:
Name: Description:
id Tag ID.
code Tag string code.
name Tag name.
translated_name Translated tag name.