Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Glossary

Here is the glossary of all terms that are used within this document.

Term

Abbreviation

Definition

Slug

Slug

The unique identifying part of a web address, typically at the end of the URL.

API Endpoints

getNetworks

Request Parameters

Name

Value(s)

Description

Required

Default

key

APIKEY

API key for authentication, available on the API Keys & Calls page.(https://account.fmtc.co/cp/api_keys)

Yes

N/A, must always be provided

incremental

0, 1

The system will always remember your last incremental download. Using this option will download only deals added, modified, or deleted since your last download.

No

0

format

String

XML, JSON, CSV, TAB, or PIPE

Choose the feed format you would like returned.

No

Implementation

Response Elements

Name

Description

Slug

The unique slug assigned to the network.

Name

The human readable name of the network

Countries

The two-letter country codes for the countries that the network supports.

Example Response - JSON

Here is an example of a JSON Response from the getNetworks endpoint.

[
    {
        "cName": "Affiliate Future",
        "cSlug": "AF",
        "aCountries": [
            "US",
            "CA",
            "UK"
        ]
    },
    {
        "cName": "Affiliate Future UK",
        "cSlug": "AFU",
        "aCountries": [
            "UK"
        ]
    }
]

Example Response - XML

Here is an example of an XML Response from the getNetworks endpoint.

<?xml version="1.0" encoding="iso-8859-1" ?>
<networks>
    <network>
        <slug>AF</slug>
        <name>Affiliate Future</name>
        <countries>
            <country>US</country>
            <country>CA</country>
            <country>UK</country>
        </countries>
    </network>
    <network>
        <slug>AFU</slug>
        <name>Affiliate Future UK</name>
        <countries>
            <country>UK</country>
        </countries>
    </network>
</networks>

Example Response - CSV

Here is an example of a JSON Response from the getNetworks endpoint.

Slug,Name,Countries
AF,"Affiliate Future","US,CA,UK"
AFU,"Affiliate Future UK",UK

Example Response - TAB

Here is an example of a JSON Response from the getNetworks endpoint.

Slug	Name	Countries
AF	"Affiliate Future"	US,CA,UK
AFU	"Affiliate Future UK"	UK

Example Response - PIPE

Here is an example of a JSON Response from the getNetworks endpoint.

Slug|Name|Countries
AF|"Affiliate Future"|US,CA,UK
AFU|"Affiliate Future UK"|UK

  • No labels