Skip to content

Instantly share code, notes, and snippets.

@GoingOffRoading
Created November 14, 2013 23:45
Show Gist options
  • Save GoingOffRoading/7476500 to your computer and use it in GitHub Desktop.
Save GoingOffRoading/7476500 to your computer and use it in GitHub Desktop.
Recs failing to populate email Tech Lighting 700FM360L 11/14
Request:
https://recs.richrelevance.com/rrserver/api/rrPlatform/recsForPlacements?productId=techlighting700fm360l&userId=522230412&placements=item_page.rr1&apiKey=808eb9bd4473db38&apiClientKey=9fd1fbdc754c6845
Return
{"viewGuid":"09fc9eef-aff9-4865-23df-5450963ac878","placements":[{"placement":"item_page.rr1","recommendedProducts":[{"genre":"build","priceRangeCents":[8378,8378],"clickURL":"http://recs.richrelevance.com/rrserver/apiclick?a=808eb9bd4473db38&cak=9fd1fbdc754c6845&ct=http%3A%2F%2Fwww.build.com%2Fkohler-k-14459-stillness-single-post-vertical-toilet-paper-holder%2Fp218303&vg=09fc9eef-aff9-4865-23df-5450963ac878&stid=80&pti=1&pa=3964&p=kohlerk14459&channelId=9fd1fbdc754c6845&u=522230412","regionPriceDescription":"","id":"kohlerk14459","categoryIds":["82313","68771","82809","99510","108801","109361","110233","113021","113027"],"numReviews":3,"name":"Kohler K-14459","brand":"Kohler","priceCents":8378,"categories":[{"id":"82313","name":"Tissue Holders"},{"id":"68771","name":"Tissue Holders"},{"id":"82809","name":"Stillness"},{"id":"99510","name":"Shop All Bathroom Accessories"},{"id":"108801","name":"Toilet Paper Holders"},{"id":"109361","name":"Bathroom Hardware"},{"id":"110233","name":"Tissue Holders"},{"id":"113021","name":"Stillness"},{"id":"113027","name":"All Collections"}],"rating":4.6666998863220215,"attributes":{"price_low":["83.78"],"series":["Stillness"],"title":["Stillness Single Post Vertical Toilet Paper Holder"],"application":["Tissue Holder"],"feeshipping":["0"],"onsale":["1"],"ltl":["0"],"price_high":["121.31"],"type":["Accessory"]},"imageURL":"http://www.build.com/imagebase/resized/220x220/kohlerimages/ccc12386bn.jpg"},{"genre":"build","priceRangeCents":[8900,8900],"clickURL":"http://recs.richrelevance.com/rrserver/apiclick?a=808eb9bd4473db38&cak=9fd1fbdc754c6845&ct=http%3A%2F%2Fwww.build.com%2Fforecast-lighting-f6140-36-2-light-flushmount-ceiling-fixture-from-the-lisa-collection%2Fp1501092&vg=09fc9eef-aff9-4865-23df-5450963ac878&stid=80&pti=1&pa=3964&p=forecastlightingf614036&channelId=9fd1fbdc754c6845&u=522230412","regionPriceDescription":"","id":"forecastlightingf614036","categoryIds":["108532","50812","70097","101228","69103","69101","69230","50824","99512","98075","98074","50823","70710","90931","109637","101510","110947","109640"],"numReviews":5,"name":"Forecast Lighting F6140-36","brand":"Forecast Lighting","priceCents":8900,"categories":[{"id":"108532","name":"Ceiling Lighting"},{"id":"50812","name":"Ceiling Lighting"},{"id":"70097","name":"Ceiling Lighting"},{"id":"101228","name":"Indoor Ceiling Lights"},{"id":"69103","name":"Semi Flush"},{"id":"69101","name":"Flushmount"},{"id":"69230","name":"Flushmount Ceiling Lighting"},{"id":"50824","name":"Flushmount Ceiling Fixtures"},{"id":"99512","name":"Shop All Kitchen Lighting"},{"id":"98075","name":"Shop All Forecast Lighting"},{"id":"98074","name":"Forecast Lighting Ceiling Lights"},{"id":"50823","name":"Shop All Ceiling Lighting"},{"id":"70710","name":"Indoor Lighting"},{"id":"90931","name":"Close to Ceiling"},{"id":"109637","name":"Bathroom Ceiling Lights"},{"id":"101510","name":"Ceiling Lighting"},{"id":"110947","name":"Bathroom Ceiling Fixtures"},{"id":"109640","name":"Flushmount Ceiling Fixtures"}],"rating":5,"attributes":{"price_low":["89.0"],"series":["Lisa"],"title":["2 Light Flushmount Ceiling Fixture from the Lisa Collection"],"application":["Ceiling Fixtures"],"feeshipping":["1"],"onsale":["1"],"ltl":["0"],"theme":["Contemporary / Modern"],"price_high":["89.0"],"handletype":["Flush Mount"],"type":["Indoor Lighting"]},"imageURL":"http://www.build.com/imagebase/resized/220x220/forecastlightingimages/f6140-36satin_nickel.jpg"},{"genre":"build","priceRangeCents":[2430,2430],"clickURL":"http://recs.richrelevance.com/rrserver/apiclick?a=808eb9bd4473db38&cak=9fd1fbdc754c6845&ct=http%3A%2F%2Fwww.build.com%2Fkichler-209-traditional-classic-two-light-flush-mount-ceiling-fixture%2Fp842705&vg=09fc9eef-aff9-4865-23df-5450963ac878&stid=80&pti=1&pa=3964&p=kichler209&channelId=9fd1fbdc754c6845&u=522230412","regionPriceDescription":"","id":"kichler209","categoryIds":["108532","50812","70097","84849","101228","109554","86407","69230","107737","110196","50824","50823","101163","101151","70710","101092","90931","109637","84846","110947","109640","84850","113574"],"numReviews":1,"name":"Kichler 209","brand":"Kichler","priceCents":2430,"categories":[{"id":"108532","name":"Ceiling Lighting"},{"id":"50812","name":"Ceiling Lighting"},{"id":"70097","name":"Ceiling Lighting"},{"id":"84849","name":"Ceiling Lights"},{"id":"101228","name":"Indoor Ceiling Lights"},{"id":"109554","name":"Ceiling Lights"},{"id":"86407","name":"Ceiling Lighting"},{"id":"69230","name":"Flushmount Ceiling Lighting"},{"id":"107737","name":"Traditional / Classic"},{"id":"110196","name":"Holiday Savings"},{"id":"50824","name":"Flushmount Ceiling Fixtures"},{"id":"50823","name":"Shop All Ceiling Lighting"},{"id":"101163","name":"Shop All Kichler"},{"id":"101151","name":"Kichler Ceiling Lights"},{"id":"70710","name":"Indoor Lighting"},{"id":"101092","name":"Shop All"},{"id":"90931","name":"Close to Ceiling"},{"id":"109637","name":"Bathroom Ceiling Lights"},{"id":"84846","name":"Shop All Kichler"},{"id":"110947","name":"Bathroom Ceiling Fixtures"},{"id":"109640","name":"Flushmount Ceiling Fixtures"},{"id":"84850","name":"Flush Mounts"},{"id":"113574","name":"Shop All Kichler"}],"rating":4,"attributes":{"price_low":["24.3"],"title":["Traditional / Classic Two Light Flush Mount Ceiling Fixture"],"application":["Ceiling Fixtures"],"feeshipping":["0"],"onsale":["1"],"ltl":["0"],"theme":["Traditional / Classic"],"price_high":["24.3"],"handletype":["Flush Mount"],"type":["Indoor Lighting"]},"imageURL":"http://www.build.com/imagebase/resized/220x220/kichlerimages/209NI.jpg"},{"genre":"build","priceRangeCents":[4950,4950],"clickURL":"http://recs.richrelevance.com/rrserver/apiclick?a=808eb9bd4473db38&cak=9fd1fbdc754c6845&ct=http%3A%2F%2Fwww.build.com%2Fforte-lighting-2199-03-functional-flushmount-ceiling-fixture-from-the-close-to-ceiling-collection%2Fp44254&vg=09fc9eef-aff9-4865-23df-5450963ac878&stid=80&pti=1&pa=3964&p=fortelighting219903&channelId=9fd1fbdc754c6845&u=522230412","regionPriceDescription":"","id":"fortelighting219903","categoryIds":["108532","50812","70097","101228","112520","69230","50824","98103","50823","70710","70242","90931","109637","110947","107733","109640","98092","113805"],"numReviews":11,"name":"Forte Lighting 2199-03","brand":"Forte Lighting","priceCents":4950,"categories":[{"id":"108532","name":"Ceiling Lighting"},{"id":"50812","name":"Ceiling Lighting"},{"id":"70097","name":"Ceiling Lighting"},{"id":"101228","name":"Indoor Ceiling Lights"},{"id":"112520","name":"Modern Ceiling Lights"},{"id":"69230","name":"Flushmount Ceiling Lighting"},{"id":"50824","name":"Flushmount Ceiling Fixtures"},{"id":"98103","name":"All Forte Lighting"},{"id":"50823","name":"Shop All Ceiling Lighting"},{"id":"70710","name":"Indoor Lighting"},{"id":"70242","name":"Flushmount Lighting"},{"id":"90931","name":"Close to Ceiling"},{"id":"109637","name":"Bathroom Ceiling Lights"},{"id":"110947","name":"Bathroom Ceiling Fixtures"},{"id":"107733","name":"Functional"},{"id":"109640","name":"Flushmount Ceiling Fixtures"},{"id":"98092","name":"Forte Ceiling Fixtures"},{"id":"113805","name":"Forte Lighting"}],"rating":4.454500198364258,"attributes":{"price_low":["49.5"],"series":["Close To Ceiling"],"title":["Functional Flushmount Ceiling Fixture from the Close To Ceiling Collection"],"application":["Ceiling Fixtures"],"feeshipping":["1"],"onsale":["1"],"ltl":["0"],"theme":["Functional"],"price_high":["53.91"],"handletype":["Flush Mount"],"type":["Indoor Lighting"]},"imageURL":"http://www.build.com/imagebase/resized/220x220/fortelightingimages/Forte-Lighting-2199-03-55.jpg"},{"genre":"build","priceRangeCents":[56980,56980],"clickURL":"http://recs.richrelevance.com/rrserver/apiclick?a=808eb9bd4473db38&cak=9fd1fbdc754c6845&ct=http%3A%2F%2Fwww.build.com%2Fdreamline-shdr-21467610-vitreo-frameless-pivot-shower-door-46-1-8-x-76-reversible-for-left-or-right-install%2Fp1206333&vg=09fc9eef-aff9-4865-23df-5450963ac878&stid=80&pti=1&pa=3964&p=dreamlineshdr21467610&channelId=9fd1fbdc754c6845&u=522230412","regionPriceDescription":"","id":"dreamlineshdr21467610","categoryIds":["110120","50119","68712","108791","80884","110512","111458","68715","68717","99511"],"numReviews":2,"name":"DreamLine SHDR-21467610","brand":"DreamLine","priceCents":56980,"categories":[{"id":"110120","name":"Shower and Tub Doors"},{"id":"50119","name":"Shower Doors"},{"id":"68712","name":"Shower Doors"},{"id":"108791","name":"Shower Doors"},{"id":"80884","name":"DreamLine Shower and Tub Doors"},{"id":"110512","name":"Dreamline Shop All"},{"id":"111458","name":"Shower Doors"},{"id":"68715","name":"Pivot"},{"id":"68717","name":"Shop All"},{"id":"99511","name":"Shop All Shower Fixtures"}],"rating":4.5,"attributes":{"price_low":["569.8"],"series":["Vitreo"],"title":["Vitreo Frameless Pivot Shower Door 46 1/8\" x 76\" - Reversible for Left or Right Install"],"application":["Shower Door"],"feeshipping":["0"],"onsale":["1"],"ltl":["1"],"price_high":["573.3"],"handletype":["Swing"],"type":["Fixture"]},"imageURL":"http://www.build.com/imagebase/resized/220x220/dreamlineimages/vitreo.jpg"},{"genre":"build","priceRangeCents":[16400,16400],"clickURL":"http://recs.richrelevance.com/rrserver/apiclick?a=808eb9bd4473db38&cak=9fd1fbdc754c6845&ct=http%3A%2F%2Fwww.build.com%2Flights-up-fl-010-two-light-10-flushmount-ceiling-fixture-with-shade-fabric-options%2Fp1354500&vg=09fc9eef-aff9-4865-23df-5450963ac878&stid=80&pti=1&pa=3964&p=lightsupfl010&channelId=9fd1fbdc754c6845&u=522230412","regionPriceDescription":"","id":"lightsupfl010","categoryIds":["108532","50812","70097","101228","112520","109246","69244","69230","50824","50823","112498","90931","109637","110947","86694","93507","109640","93512"],"numReviews":1,"name":"Lights Up! FL-010","brand":"Lights Up!","priceCents":16400,"categories":[{"id":"108532","name":"Ceiling Lighting"},{"id":"50812","name":"Ceiling Lighting"},{"id":"70097","name":"Ceiling Lighting"},{"id":"101228","name":"Indoor Ceiling Lights"},{"id":"112520","name":"Modern Ceiling Lights"},{"id":"109246","name":"Customizable Fixtures"},{"id":"69244","name":"Flushmount Ceiling Lights"},{"id":"69230","name":"Flushmount Ceiling Lighting"},{"id":"50824","name":"Flushmount Ceiling Fixtures"},{"id":"50823","name":"Shop All Ceiling Lighting"},{"id":"112498","name":"Modern Ceiling Lights"},{"id":"90931","name":"Close to Ceiling"},{"id":"109637","name":"Bathroom Ceiling Lights"},{"id":"110947","name":"Bathroom Ceiling Fixtures"},{"id":"86694","name":"Shop All Living Room Lighting"},{"id":"93507","name":"All Lights Up!"},{"id":"109640","name":"Flushmount Ceiling Fixtures"},{"id":"93512","name":"Ceiling Fixtures"}],"rating":5,"attributes":{"price_low":["164.0"],"series":["Flushmount"],"title":["Two Light 10\" Flushmount Ceiling Fixture with Shade Fabric Options"],"application":["Ceiling Fixtures"],"feeshipping":["1"],"onsale":["1"],"ltl":["0"],"price_high":["164.0"],"handletype":["Flush Mount"],"type":["Indoor Lighting"]},"imageURL":"http://www.build.com/imagebase/resized/220x220/lightsup!images/lights_up_fl_010bn_1.jpg"}],"htmlElementId":"item_page_0","placementType":"item_page","strategyMessage":"We Also Recommend These Similar Products"}],"status":"ok"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment