Skip to content

Instantly share code, notes, and snippets.

@innerdaze
Last active January 15, 2016 12:22
Show Gist options
  • Save innerdaze/3782fe53ef8856ed4691 to your computer and use it in GitHub Desktop.
Save innerdaze/3782fe53ef8856ed4691 to your computer and use it in GitHub Desktop.
## CustMarketingAnalysis
NOTE: Should these not be in Marketing Analysis Codes?
Applied
GET http://localhost:3000/v1/mafrec/unapplied?customer=19999&company=1
Unapplied
GET http://localhost:3000/v1/mafrec/applied?customer=19999&company=1
## PUNREC
Present/Past Events
GET http://localhost:3000/v1/punrec?customer=19999&company=1&filter[where][pun_action_date][lte]=2015-01-06
Outstanding Events
GET http://localhost:3000/v1/punrec?customer=19999&company=1&filter[where][pun_status]=Outstanding
Deal Events
GET http://localhost:3000/v1/punrec?customer=19999&company=1&filter[where][pun_type]=240
Deal Events for Customer
GET http://localhost:3000/v1/punrec?customer=19999&company=1&filter[where][pun_type]=240&filter[where][pun_deal_cust]=00001
Customer Events
GET http://localhost:3000/v1/punrec?customer=19999&company=1&filter[where][pun_type]=200
Customer Events for Customer
GET http://localhost:3000/v1/punrec?customer=19999&company=1&filter[where][pun_type]=200&filter[where][pun_index_link]=00001
My Outstanding Events
GET http://localhost:3000/v1/punrec/myEvents?customer=19999&company=1&userId=00001
## Opportunity
Opportunity for Customer
GET http://localhost:3000/v1/punrec?customer=19999&company=1&filter[where][opn_cust_acc]=Z90003
Present/Past Events
GET http://localhost:3000/v1/punrec?customer=19999&company=1&filter[where][opn_potential_date][lte]=2015-01-06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment