Network - v2 (Legacy)
- 1 Glossary
- 2 API Endpoints
- 3 getNetworks
- 3.1 Request Parameters
- 3.2 Implementation
- 3.2.1 Response Elements
- 3.2.2 Example Response - JSON
- 3.2.3 Example Response - XML
- 3.2.4 Example Response - CSV
- 3.2.5 Example Response - TAB
- 3.2.6 Example Response - PIPE
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
Description: Use this service call to get information about networks supported by FMTC.
Example Request: http://services.fmtc.co/v2/getNetworks?key=APIKEY
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.
Example Response - PIPE
Here is an example of a JSON Response from the getNetworks endpoint.
Email: support@fmtc.co
Telephone: 512-430-4970
Contact Us | Terms of Service | Privacy Policy
Copyright © 2007 – 2022. FMTC, LLC. All Rights Reserved.