Webservices

Example Merchant, Coupon and Deals Web Services Feeds.
Valid RequestTypes:

Codes
Offers
MerchantList
CategoryList
NetworkList

Codes and Offers:

Valid Action -> Full
Valid Action -> Expiring [Sort]
Valid Action -> New [Sort]
Valid Action -> All [Sort]
Valid Action -> Category -> valid query -> category_id [Sort]
Valid Action -> Merchant -> valid query -> merchant name [Sort]
Valid Action -> Search -> valid query -> keywords [NarrowBy] [Sort]
Valid Action -> Icid -> valid query -> Icid

MerchantList:

Valid Action -> Full
Valid Action -> Category -> valid query -> category_id[GroupBy]
Valid Action -> Search -> valid query -> merchant name -> string -> 0-9[GroupBy]
Valid Action -> All[GroupBy]
Valid Action -> Codes -> valid query -> category_id[GroupBy]
Valid Action -> Offers -> valid query -> category_id[GroupBy]
Valid Action -> Icid -> valid query -> Icid

Sort Parameters:

StartDateLow
StartDateHigh
ExpiryDateLow
ExpiryDateHigh
Sort=id

NarrowBy Parameters:
NarrowBy=category_id

GroupBy Parameters:
GroupbBy=Merchant

Relationship Parameters:
Relationship=joined

Network Parameters: (to include all networks do not use this parameter)
Network=shareasale,linkshare,cj,buy,webgains

Paging Parameters:
Page
PageSize: Number of items returned per page (maximum 50) (default 20)

Default Settings

Merchants you have selected as JOINED will contain YOUR affiliate ID's.
Merchants you have selected as NOT JOINED will contain OUR affiliate ID's or link directly to the merchant.
Merchants you have selected as REJECTED will not be included.

Settings with Relationship=joined

Merchants you have selected as JOINED will contain YOUR affiliate ID's.
Merchants you have selected as NOT JOINED will not be included.
Merchants you have selected as REJECTED will not be included.

Example requests:

Request all merchants begining with a
http://webservices.icodes-us.com/ws2_us.php?UserName=pagerank10&SubscriptionID=c81e728d9d4c2f636f067f89cc14862c&RequestType=MerchantList&Action=Search&Query=a&Page=1&GroupBy=Merchant&PageSize=10

Request all merchants begining with a with codes
http://webservices.icodes-us.com/ws2_us.php?UserName=pagerank10&SubscriptionID=c81e728d9d4c2f636f067f89cc14862c&RequestType=Codes&Action=Merchants&Query=a&GroupBy=Merchant&Page=a&PageSize=10

Request all merchants within category 4
http://webservices.icodes-us.com/ws2_us.php?UserName=pagerank10&SubscriptionID=c81e728d9d4c2f636f067f89cc14862c&RequestType=MerchantList&Action=Category&Query=4&GroupBy=Merchant&Page=1&PageSize=10

Request all merchants with codes within category 4
http://webservices.icodes-us.com/ws2_us.php?UserName=pagerank10&SubscriptionID=c81e728d9d4c2f636f067f89cc14862c&RequestType=MerchantList&Action=Codes&Query=4&Page=1&GroupBy=Merchant&PageSize=10

Request all codes within category 4
http://webservices.icodes-us.com/ws2_us.php?UserName=pagerank10&SubscriptionID=c81e728d9d4c2f636f067f89cc14862c&RequestType=Codes&Action=Category&Query=4&Sort=StartDateHigh&Page=1&PageSize=10

Request post dated codes
http://webservices.icodes-us.com/ws2_us.php?UserName=pagerank10&SubscriptionID=c81e728d9d4c2f636f067f89cc14862c&RequestType=Codes&Action=PostDated&Sort=StartDateHigh&PageSize=10

Request expiring codes
http://webservices.icodes-us.com/ws2_us.php?UserName=pagerank10&SubscriptionID=c81e728d9d4c2f636f067f89cc14862c&RequestType=Codes&Action=Expiring&Sort=ExpiryDateLow&PageSize=10

Request featured codes
http://webservices.icodes-us.com/ws2_us.php?UserName=pagerank10&SubscriptionID=c81e728d9d4c2f636f067f89cc14862c&RequestType=Codes&Action=Icid&Query=1234,2345

Request new codes
http://webservices.icodes-us.com/ws2_us.php?UserName=pagerank10&SubscriptionID=c81e728d9d4c2f636f067f89cc14862c&RequestType=Codes&Action=New&Sort=StartDateHigh&PageSize=10

Request codes for merchant Chinabuye
http://webservices.icodes-us.com/ws2_us.php?UserName=pagerank10&SubscriptionID=c81e728d9d4c2f636f067f89cc14862c&RequestType=Codes&Action=Merchant&Query=AChinabuye&PageSize=10

Seach all codes matching dvd
http://webservices.icodes-us.com/ws2_us.php?UserName=pagerank10&SubscriptionID=c81e728d9d4c2f636f067f89cc14862c&RequestType=Codes&Action=Search&Query=dvd&Sort=StartDateHigh&Page=1&PageSize=10

Request category list
http://webservices.icodes-us.com/ws2_us.php?UserName=pagerank10&SubscriptionID=c81e728d9d4c2f636f067f89cc14862c&RequestType=CategoryList

Request network list
http://webservices.icodes-us.com/ws2_us.php?UserName=pagerank10&SubscriptionID=c81e728d9d4c2f636f067f89cc14862c&RequestType=NetworkList





Webservices | About iCodes | FTC Disclosure | T&Cs | Privacy Policy | Javascript Units (New) | email: support@icodes-us.com