Skip to content

Instantly share code, notes, and snippets.

View philosoralphter's full-sized avatar

Ralph Samuel philosoralphter

View GitHub Profile
@philosoralphter
philosoralphter / raw_input.md
Last active February 5, 2018 20:31
Data sent to Woopra for import function

Endpoint used: 'PUT https://www.woopra.com/rest/3.0/logs/import?website=canucks.com'

Data sent:

{"visitor": {"tm_city": "Vancouver", "tm_phone_day": "(604) 970-3433", "tm_phone_cell": "", "tm_first_name": "Peter", "tm_country": "Canada", "tm_acct_rep_full_name": "Vanessa Vanderzalm", "tm_email": "petermaclean@shaw.ca","email": "petermaclean@shaw.ca", "tm_street_addr_1": "5866 Olympic Street", "tm_last_name": "MacLean", "tm_street_addr_2": "", "tm_acct_id": "131075", "tm_zip": "V6N 1Z6", "tm_phone_eve": "", "tm_state": "BC"}, "actions": [{"properties": {"event_datetime": "2017-09-17 14:00:00.000", "seat_num": 102, "row_name": "9", "event_name": "CAN0917", "section_name": "308", "team": "VEGAS"}, "name": "tm_attend", "time": 1505682422055}, {"properties": {"event_datetime": "2017-09-28 19:00:00.000", "seat_num": 101, "row_name": "9", "event_name": "CAN0928", "section_name": "308", "team": "CALGARY"}, "name": "tm_attend", "time": 1506651661733}, {"properties": {"event_datetime": "2017-09-28 19:00:00.000
### USAGE
###
### ./ElasticSearch.sh 1.5.0 will install Elasticsearch 1.5.0
### ./ElasticSearch.sh 1.4.4 will install Elasticsearch 1.4.4
### ./ElasticSearch.sh will fail because no version was specified (exit code 1)
###
### CLI options Contributed by @janpieper
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch
### ElasticSearch version