The ListNetworks operation is used to list all of the networks associated with SellFire.
Accessing
To access the ListNetworks operation, perform an HTTP POST with the request parameters to this URL:
https://www.sellfire.com/Api/ListNetworks
Request Parameters
The ListNetworks operation supports the following request parameters.
| Parameter Name | Required? | Description |
|---|---|---|
| ApiKey | Yes | Your Data API Access key. Retrieve this via the My Account Page |
Response
The ListNetworks operation returns a JSON object. The JSON object has the following fields
| Field Name | Type | Description |
|---|---|---|
| ResponseCode | int | Status code indicating whether the request was successful or not. A value of 200 means success and a value of 400 means failure. |
| ResponseMessage | String | If the request failed, the message will describe the reason for the failure |
| Data | JSON Object | An array of Network objects, encoded in the JSON format. The fields of the Network object are described below. |
Network Object
The Network object has the following fields.
| Field Name | Type | Description |
|---|---|---|
| Name | String | The name of the network |
| Id | int | The internal identifier for the network |
Sample Response
{
"ResponseCode" : 200,
"ResponseMessage" : "OK",
"Data" : [ {
"Id" : 2,
"Name" : "Commission Junction"
}, {
"Id" : 3,
"Name" : "Google Affiliate Network"
}, {
"Id" : 4,
"Name" : "ShareASale"
}, {
"Id" : 8,
"Name" : "PepperJam"
} ]
}