Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

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

...

networks

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

JSON

networkid

Integer

Choose the network that you wish to have returned.

No

N/A, but default all networks will be returned unless specified

Implementation

Response Elements

Name

Description

Slugslug

The unique slug assigned to the network.

Namename

The human readable name of the network

Countriescountires

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

id

The unique ID for the network that can be used across FMTC endpoints.

Example Response - JSON

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

Code Block
[
  {
 {   "id": 13,
    "cNamename": "Affiliate Future",
   
    "cSlugslug": "AF",
   
    "aCountriescountries": [
            "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 networks endpoint.

Code Block
<?xml version="1.0" encoding="iso-8859-1" ?>
<networks>
    <network>
        <slug>AF</slug>
     <id>13</id>
  <name>Affiliate Future</name>
     <slug>AF</slug>
  <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 networks endpoint.

Code Block
Slugid,name,Nameslug,Countriescountries
AF13,"Affiliate Future",AF,"[""US"",""CA"",""UK"
AFU,"Affiliate Future UK",UK"]"

Example Response - TAB

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

Code Block
Slugid	name	Nameslug	Countriescountries
AF13	"Affiliate Future"	AF	"[""US"",""CA"",""UK
AFU	"Affiliate Future UK"	UK""]"

Example Response - PIPE

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

Code Block
Slugid|name|Nameslug|Countriescountries
AF13|"Affiliate Future"|AF|"[""US"",""CA"",""UK
AFU|"Affiliate Future UK"|UK""]"