Retrieves an array of dynamic tools, optionally filtered by one or more properties.
GET https://api.commissionfactory.com/V1/Affiliate/DynamicTools?apiKey=[apiKey]&merchantId=[merchantId]&merchantName=[merchantName]&type=[type]
Name | Type | Description |
---|---|---|
apiKey Required |
String | A valid API key that represents an affiliate account. |
merchantId Optional |
Integer | If specified, filters results by merchant ID. |
merchantName Optional |
String | If specified, filters results by merchant name. |
type Optional |
DynamicToolType | If specified, filters results by type. |
Type | Description |
---|---|
DynamicToolArray | Represents zero or more dynamic tools. |
Error | Description |
---|---|
400 Bad Request | One or more parameters could not be parsed correctly. |
401 Unauthorised | The API key is missing, invalid, or for a different account type; or the user account has been suspended or closed. |
429 Too Many Requests | The API call rate limit for the user account has been exceeded. |
500 Internal Server Error | An unexpected error occurred while processing your request. |
GET /V1/Affiliate/DynamicTools?apiKey=ABC123 HTTP/1.1 Accept: application/json Host: api.commissionfactory.com
GET /V1/Affiliate/DynamicTools?apiKey=ABC123 HTTP/1.1 Accept: application/xml Host: api.commissionfactory.com
[ { "Id": 1, "DateCreated": "2000-01-01T00:00:00.000", "DateModified": "2000-01-01T00:00:00.000", "MerchantId": 1, "MerchantName": "Example Pty Ltd", "MerchantAvatarUrl": "https://c.cfjump.com/Avatars/0.png", "Name": "Dynamic Tool 1", "Type": "Flash Banner", "Width": 250, "Height": 250, "ResourceUrl": "https://www.example.com/FlashBanner1.swf", "TargetUrl": "https://www.example.com/", "EmbedUrl": "https://c.cfjump.com/DynamicTools/0/1/", "EmbedCode": "<iframe style=\"border: none; height: 250px; width: 250px;\" allowtransparency=\"true\" border=\"0\" frameborder=\"0\" src=\"https://c.cfjump.com/DynamicTools/0/1/\"></iframe>" }, { "Id": 2, "DateCreated": "2000-01-01T00:00:00.000", "DateModified": "2000-01-01T00:00:00.000", "MerchantId": 1, "MerchantName": "Example Pty Ltd", "MerchantAvatarUrl": "https://c.cfjump.com/Avatars/0.png", "Name": "Dynamic Tool 2", "Type": "Flash Banner", "Width": 250, "Height": 250, "ResourceUrl": "https://www.example.com/FlashBanner2.swf", "TargetUrl": "https://www.example.com/", "EmbedUrl": "https://c.cfjump.com/DynamicTools/0/2/", "EmbedCode": "<iframe style=\"border: none; height: 250px; width: 250px;\" allowtransparency=\"true\" border=\"0\" frameborder=\"0\" src=\"https://c.cfjump.com/DynamicTools/0/2/\"></iframe>" }, { "Id": 3, "DateCreated": "2000-01-01T00:00:00.000", "DateModified": "2000-01-01T00:00:00.000", "MerchantId": 1, "MerchantName": "Example Pty Ltd", "MerchantAvatarUrl": "https://c.cfjump.com/Avatars/0.png", "Name": "Dynamic Tool 3", "Type": "Flash Banner", "Width": 250, "Height": 250, "ResourceUrl": "https://www.example.com/FlashBanner3.swf", "TargetUrl": "https://www.example.com/", "EmbedUrl": "https://c.cfjump.com/DynamicTools/0/3/", "EmbedCode": "<iframe style=\"border: none; height: 250px; width: 250px;\" allowtransparency=\"true\" border=\"0\" frameborder=\"0\" src=\"https://c.cfjump.com/DynamicTools/0/3/\"></iframe>" } ]
<DynamicToolArray xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://api.commissionfactory.com/V1/Affiliate"> <DynamicTool> <Id>1</Id> <DateCreated>2000-01-01T00:00:00.000</DateCreated> <DateModified>2000-01-01T00:00:00.000</DateModified> <MerchantId>1</MerchantId> <MerchantName>Example Pty Ltd</MerchantName> <MerchantAvatarUrl>https://c.cfjump.com/Avatars/0.png</MerchantAvatarUrl> <Name>Dynamic Tool 1</Name> <Type>Flash Banner</Type> <Width>250</Width> <Height>250</Height> <ResourceUrl>https://www.example.com/FlashBanner1.swf</ResourceUrl> <TargetUrl>https://www.example.com/</TargetUrl> <EmbedUrl>https://c.cfjump.com/DynamicTools/0/1/</EmbedUrl> <EmbedCode><iframe style="border: none; height: 250px; width: 250px;" allowtransparency="true" border="0" frameborder="0" src="https://c.cfjump.com/DynamicTools/0/1/"></iframe></EmbedCode> </DynamicTool> <DynamicTool> <Id>2</Id> <DateCreated>2000-01-01T00:00:00.000</DateCreated> <DateModified>2000-01-01T00:00:00.000</DateModified> <MerchantId>1</MerchantId> <MerchantName>Example Pty Ltd</MerchantName> <MerchantAvatarUrl>https://c.cfjump.com/Avatars/0.png</MerchantAvatarUrl> <Name>Dynamic Tool 2</Name> <Type>Flash Banner</Type> <Width>250</Width> <Height>250</Height> <ResourceUrl>https://www.example.com/FlashBanner2.swf</ResourceUrl> <TargetUrl>https://www.example.com/</TargetUrl> <EmbedUrl>https://c.cfjump.com/DynamicTools/0/2/</EmbedUrl> <EmbedCode><iframe style="border: none; height: 250px; width: 250px;" allowtransparency="true" border="0" frameborder="0" src="https://c.cfjump.com/DynamicTools/0/2/"></iframe></EmbedCode> </DynamicTool> <DynamicTool> <Id>3</Id> <DateCreated>2000-01-01T00:00:00.000</DateCreated> <DateModified>2000-01-01T00:00:00.000</DateModified> <MerchantId>1</MerchantId> <MerchantName>Example Pty Ltd</MerchantName> <MerchantAvatarUrl>https://c.cfjump.com/Avatars/0.png</MerchantAvatarUrl> <Name>Dynamic Tool 3</Name> <Type>Flash Banner</Type> <Width>250</Width> <Height>250</Height> <ResourceUrl>https://www.example.com/FlashBanner3.swf</ResourceUrl> <TargetUrl>https://www.example.com/</TargetUrl> <EmbedUrl>https://c.cfjump.com/DynamicTools/0/3/</EmbedUrl> <EmbedCode><iframe style="border: none; height: 250px; width: 250px;" allowtransparency="true" border="0" frameborder="0" src="https://c.cfjump.com/DynamicTools/0/3/"></iframe></EmbedCode> </DynamicTool> </DynamicToolArray>