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 [CategoryId] [Mid] [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: (Sorting the feed order)

&Sort=StartDateLow
&Sort=StartDateHigh
&Sort=ExpiryDateLow
&Sort=ExpiryDateHigh
&Sort=id

CategoryId Parameters: (search within a single category or multiple categories seperated by commas)
&CategoryId=category_id,category_id (NEW) and replaces the &NarrowBy=category_id request.

Mid Parameters: (search within a single merchant or multiple merchants seperated by commas)
&Mid=mid,mid (NEW)

GroupBy Parameters: (group merchants on multple networks with exact name formats)
&GroupbBy=Merchant

Relationship Parameters: (request only merchants you have selected as joined)
&Relationship=joined

Network Parameters: (to include all networks do not use this parameter)
&Network=linkshare,commission_junction,webgains,affiliate_window

Paging Parameters: (page number and amount per page)
&Page=xx
&PageSize=xx: (maximum 50) (default 20)



Example Full Requests: (limited to 20 per day)

Request all codes for your joined merchants in a single feed
http://webservices.icodes.co.uk/ws2.php?UserName=icodes&SubscriptionID=92262bf907af914b95a0fc33c3f33bf6&RequestType=Codes&Action=Full&Relationship=joined

Request all offers for your joined merchants in a single feed
http://webservices.icodes.co.uk/ws2.php?UserName=icodes&SubscriptionID=92262bf907af914b95a0fc33c3f33bf6&RequestType=Offers&Action=Full&Relationship=joined

Request all your joined merchants in a single feed
http://webservices.icodes.co.uk/ws2.php?UserName=icodes&SubscriptionID=92262bf907af914b95a0fc33c3f33bf6&RequestType=MerchantList&Action=Full&Relationship=joined

Example Paged Requests: (unlimited requests per day)

Request all merchants begining with the letter 'A'
http://webservices.icodes.co.uk/ws2.php?UserName=icodes&SubscriptionID=92262bf907af914b95a0fc33c3f33bf6&RequestType=MerchantList&Action=Search&Query=a&Page=1&GroupBy=Merchant&PageSize=10

Request all merchants with codes begining with the letter 'A'
http://webservices.icodes.co.uk/ws2.php?UserName=icodes&SubscriptionID=92262bf907af914b95a0fc33c3f33bf6&RequestType=Codes&Action=Merchants&Query=a&GroupBy=Merchant&Page=a&PageSize=10

Request all merchants within category 4
http://webservices.icodes.co.uk/ws2.php?UserName=icodes&SubscriptionID=92262bf907af914b95a0fc33c3f33bf6&RequestType=MerchantList&Action=Category&Query=4&GroupBy=Merchant&Page=1&PageSize=10

Request all merchants with codes within category 4
http://webservices.icodes.co.uk/ws2.php?UserName=icodes&SubscriptionID=92262bf907af914b95a0fc33c3f33bf6&RequestType=MerchantList&Action=Codes&Query=4&Page=1&GroupBy=Merchant&PageSize=10

Request all codes within category 4
http://webservices.icodes.co.uk/ws2.php?UserName=icodes&SubscriptionID=92262bf907af914b95a0fc33c3f33bf6&RequestType=Codes&Action=Category&Query=4&Sort=StartDateHigh&Page=1&PageSize=10

Request post dated codes
http://webservices.icodes.co.uk/ws2.php?UserName=icodes&SubscriptionID=92262bf907af914b95a0fc33c3f33bf6&RequestType=Codes&Action=PostDated&Sort=StartDateHigh&PageSize=10

Request expiring codes
http://webservices.icodes.co.uk/ws2.php?UserName=icodes&SubscriptionID=92262bf907af914b95a0fc33c3f33bf6&RequestType=Codes&Action=Expiring&Sort=ExpiryDateLow&PageSize=10

Request codes by Icid
http://webservices.icodes.co.uk/ws2.php?UserName=icodes&SubscriptionID=92262bf907af914b95a0fc33c3f33bf6&RequestType=Codes&Action=Icid&Query=1234,2345

Request new codes
http://webservices.icodes.co.uk/ws2.php?UserName=icodes&SubscriptionID=92262bf907af914b95a0fc33c3f33bf6&RequestType=Codes&Action=New&Sort=StartDateHigh&PageSize=10

Request codes for merchant Comet
http://webservices.icodes.co.uk/ws2.php?UserName=icodes&SubscriptionID=92262bf907af914b95a0fc33c3f33bf6&RequestType=Codes&Action=Merchant&Query=Comet&PageSize=10

Search all codes containing the keyword 'dvd' in the title or description
http://webservices.icodes.co.uk/ws2.php?UserName=icodes&SubscriptionID=92262bf907af914b95a0fc33c3f33bf6&RequestType=Codes&Action=Search&Query=dvd&Sort=StartDateHigh&Page=1&PageSize=10

Request category list
http://webservices.icodes.co.uk/ws2.php?UserName=icodes&SubscriptionID=92262bf907af914b95a0fc33c3f33bf6&RequestType=CategoryList

Request network list
http://webservices.icodes.co.uk/ws2.php?UserName=icodes&SubscriptionID=92262bf907af914b95a0fc33c3f33bf6&RequestType=NetworkList





About iCodes | Testimonials | T&Cs | API XML Feeds | Free Voucher Code Site | Support | Skype