Skip to content

Instantly share code, notes, and snippets.

@fjbelchi
Created March 3, 2015 10:21
Show Gist options
  • Save fjbelchi/88efc8b79d3a5546a7ad to your computer and use it in GitHub Desktop.
Save fjbelchi/88efc8b79d3a5546a7ad to your computer and use it in GitHub Desktop.
colleague offers
{
"body": [{
"colleague_offer_id": "54f47d8429c48c3c048b4572",
"type": "colleague",
"title": "Range Rover Test Drive",
"short_description": [{
"type": "text",
"display": "You can test drive a Range rover"
}, {
"type": "eol",
"display": ""
}],
"long_description": [],
"discount": "Expires 07\/05\/2015",
"start": 1423063287,
"expiry": 1431008487,
"expiry_label": "Expires 07\/05\/2015",
"terms_and_conditions": [],
"url": "http:\/\/www.landrover.com",
"redemption_list": [{
"redemption_id": "54f47d8529c48c3f048b4578",
"description": [],
"code": "SDFGFDG3454geR234",
"type": "numerical_code",
"bar_code": null,
"image": null,
"created_on": 1425309061
}],
"image_primary": null,
"image_secondary": null,
"created_on": 1425309060
}, {
"colleague_offer_id": "54f45bc729c48c56048b4574",
"type": "colleague",
"title": "2 for one on tartan paint",
"short_description": [{
"type": "text",
"display": "Give the "
}, {
"type": "text",
"display": "gift of tartan paint this year. This paint tin looks just like a quality tin of Royal Stewart matt emulsion",
"style": {
"bold": true
}
}, {
"type": "text",
"display": ". The professional label describes the process of applying the pattern and warns it could contain trace haggis."
}, {
"type": "eol",
"display": ""
}],
"long_description": [{
"type": "text",
"display": "We supply it "
}, {
"type": "text",
"display": "empty so you can fill it with the gift of your choice. Being a real paint tin you could put water inside to give it weight or perhaps your favourite wrapped sweets. Keep it upright if filled with liquid.\u003Cbr\u003EIt\u0027s the perfect gift for new apprentices, friends from Scotland, painters and decorators and anyone who falls for practical jokes every time.\u003Cbr\u003EThe label says:\u003Cbr\u003ETransform your room with one coat of our tartan matt emulsion paint",
"style": {
"bold": true
}
}, {
"type": "text",
"display": "."
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "You get superb coverage in your choice of four tartans. Just one coat applies the complete pattern."
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Saves hours of painstaking masking and fine brushwork."
}, {
"type": "eol",
"display": ""
}],
"discount": "Expires 31\/03\/2015",
"start": 1425221260,
"expiry": 1427809660,
"expiry_label": "Expires 31\/03\/2015",
"terms_and_conditions": [{
"type": "text",
"display": "Each colour within the tartan has a different viscosity which means they settle out when the paint is allowed to stand and your tartan pattern is created on the wall in front of your very eyes."
}, {
"type": "eol",
"display": ""
}],
"url": "http:\/\/www.sillyjokes.co.uk\/tartan-paint-tin-1l-royal-stewart",
"redemption_list": [{
"redemption_id": "54f45bc729c48c37048b4569",
"description": [],
"code": null,
"type": "bar_code",
"bar_code": "7612449101700",
"image": null,
"created_on": 1425300423
}],
"image_primary": null,
"image_secondary": null,
"created_on": 1425300423
}, {
"colleague_offer_id": "54f45bf929c48c49048b4569",
"type": "colleague",
"title": "2 for one on tartan paint",
"short_description": [{
"type": "text",
"display": "Give the "
}, {
"type": "text",
"display": "gift of tartan paint this year. This paint tin looks just like a quality tin of Royal Stewart matt emulsion",
"style": {
"bold": true
}
}, {
"type": "text",
"display": ". The professional label describes the process of applying the pattern and warns it could contain trace haggis."
}, {
"type": "eol",
"display": ""
}],
"long_description": [{
"type": "text",
"display": "We supply it "
}, {
"type": "text",
"display": "empty so you can fill it with the gift of your choice. Being a real paint tin you could put water inside to give it weight or perhaps your favourite wrapped sweets. Keep it upright if filled with liquid.\u003Cbr\u003EIt\u0027s the perfect gift for new apprentices, friends from Scotland, painters and decorators and anyone who falls for practical jokes every time.\u003Cbr\u003EThe label says:\u003Cbr\u003ETransform your room with one coat of our tartan matt emulsion paint",
"style": {
"bold": true
}
}, {
"type": "text",
"display": "."
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "You get superb coverage in your choice of four tartans. Just one coat applies the complete pattern."
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Saves hours of painstaking masking and fine brushwork."
}, {
"type": "eol",
"display": ""
}],
"discount": "Expires 31\/03\/2015",
"start": 1425214404,
"expiry": 1427802804,
"expiry_label": "Expires 31\/03\/2015",
"terms_and_conditions": [{
"type": "text",
"display": "Each colour within the tartan has a different viscosity which means they settle out when the paint is allowed to stand and your tartan pattern is created on the wall in front of your very eyes."
}, {
"type": "eol",
"display": ""
}],
"url": "http:\/\/www.sillyjokes.co.uk\/tartan-paint-tin-1l-royal-stewart",
"redemption_list": [{
"redemption_id": "54f45bf929c48c39048b4575",
"description": [],
"code": null,
"type": "bar_code",
"bar_code": "7612449101700",
"image": null,
"created_on": 1425300473
}],
"image_primary": null,
"image_secondary": null,
"created_on": 1425300473
}, {
"colleague_offer_id": "54f48b6c29c48c56048b4579",
"type": "colleague",
"title": "Spaceship",
"short_description": [{
"type": "text",
"display": "Go to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to SpaceGo to Space"
}, {
"type": "eol",
"display": ""
}],
"long_description": [{
"type": "text",
"display": "Fly away Fly away Fly awayFly awayFly awayFly awayFly awayFly awayFly awayFly awayFly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly awayFly awayFly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly away Fly awayFly away"
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Fly awayFly awayFly awayFly awayFly awayFly awayFly awayFly awayFly away"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Fly awayFly awayFly awayFly awayFly away"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Fly awayFly awayFly away"
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Fly awayFly awayFly awayFly awayFly awayFly awayFly awayFly awayFly awayFly awayFly away"
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Fly awayFly awayFly awayFly awayFly awayFly awayFly awayFly awayFly awayFly awayFly away"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Fly awayFly awayFly awayFly awayFly awayFly away"
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Fly awayFly awayFly awayFly awayFly away"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Fly awayFly awayFly awayFly awayFly awayFly awayFly awayFly awayFly away"
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Fly awayFly awayFly awayFly awayFly awayFly awayFly awayFly awayFly awayFly awayFly awayFly awayFly awayFly awayFly awayFly awayFly away"
}, {
"type": "eol",
"display": ""
}],
"discount": "Expires 31\/03\/2015",
"start": 1424280749,
"expiry": 1427819549,
"expiry_label": "Expires 31\/03\/2015",
"terms_and_conditions": [{
"type": "text",
"display": "terms and conditionsterms and conditions terms and conditions terms and conditions terms and conditions terms and conditions terms and conditionsterms and conditionsterms and conditionsterms and conditionsterms and conditionsterms and conditionsterms and conditionsterms and conditionsterms and conditionsterms and conditions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "terms and conditionsterms and conditions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "terms and conditionsterms and conditions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "terms and conditions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "terms and conditions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "terms and conditions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "terms and conditions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "terms and conditions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "terms and conditionsterms and conditions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "terms and conditions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "terms and conditions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "terms and conditions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "terms and conditions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "terms and conditions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "terms and conditionsterms and conditions"
}, {
"type": "eol",
"display": ""
}],
"url": "http:\/\/www.spaceship.com",
"redemption_list": [{
"redemption_id": "54f48b6c29c48cdc228b4567",
"description": [{
"type": "text",
"display": "These are the instructions These are the instructions These are the instructions These are the instructions These are the instructions These are the instructionsThese are the instructions These are the instructionsThese are the instructionsThese are the instructions These are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructions These are the instructionsThese are the instructionsThese are the instructionsThese are the instructions These are the instructionsThese are the instructionsThese are the instructionsThese are the instructions These are the instructionsThese are the instructionsThese are the instructionsThese are the instructions These are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "These are the instructionsThese are the instructionsThese are the instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "These are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "These are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "These are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "These are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "These are the instructionsThese are the instructionsThese are the instructionsThese are the instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "These are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructionsThese are the instructions"
}, {
"type": "eol",
"display": ""
}],
"code": null,
"type": "bar_code",
"bar_code": "2112345678900",
"image": null,
"created_on": 1425312620
}, {
"redemption_id": "54f48b6d29c48c4c048b4571",
"description": [{
"type": "text",
"display": "Some more instructions Some more instructions Some more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Some more instructionsSome more instructionsSome more instructionsSome more instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Some more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Some more instructionsSome more instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Some more instructionsSome more instructionsSome more instructionsSome more instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Some more instructionsSome more instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Some more instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Some more instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Some more instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Some more instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Some more instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Some more instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Some more instructionsSome more instructionsSome more instructions"
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "eol",
"display": ""
}, {
"type": "text",
"display": "Some more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsvSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructionsSome more instructions"
}, {
"type": "eol",
"display": ""
}],
"code": "5345kjh345",
"type": "numerical_code",
"bar_code": null,
"image": null,
"created_on": 1425312621
}],
"image_primary": null,
"image_secondary": null,
"created_on": 1425312620
}],
"paging": {
"total_count": 4,
"limit": 20,
"offset": 0,
"offset_ref": null,
"is_last_page": true
},
"error": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment