API: CDC/CRM Download
May 08, 2008
API Location:
https://store.dwalliance.com/api/cdc_download.html
Commands in this page will allow you to download the data normally downloaded from the CRM download tool. COMMAND dump_relation_id: Dumps all the ids gathered by the relation tool. Requires 'list_id' which can be retrieved from the CRM list manager. ATTRIBUTES.json required attributes: list_id ERRORS incorrect or no list_id
FEEDBACK a json packet with the relation_id, contact_id, company_id and division_id
python example code
import urllib
params = urllib.urlencode({'email':'you@you.com', 'password':'yourpass', 'code':'YOURCODE', 'dump_relation_id':'yes', 'list_id':'somebigid' })
f = urllib.urlopen("https://store.dwalliance.com/api/cdc_download.html?%s" % params) print f.read()
COMMAND get_contact ATTRIBUTES.json
required attributes: contact_id ERRORS incorrect or no contact_id
FEEDBACK
a json packet with the contact information- excludes crm categories and shopping cart data
python example
import urllib
params = urllib.urlencode({'email':'you@you.com', 'password':'yourpass', 'code':'YOURCODE', 'get_contact':'yes','contact_id':somebigid' })
f = urllib.urlopen("https://store.dwalliance.com/api/cdc_download.html?%s" % params) print f.read()
COMMAND
get_company
ATTRIBUTES.json
required attributes: company_id
ERRORS
incorrect or no company_id
FEEDBACK
a json packet with the company information - excludes directory categories, crm categories and shopping cart data
python example
import urllib
params = urllib.urlencode({'email':'you@you.com', 'password':'yourpass', 'code':'YOURCODE', 'get_company':'yes','company_id':somebigid' })
f = urllib.urlopen("https://store.dwalliance.com/api/cdc_download.html?%s" % params) print f.read()
COMMAND
get_division
ATTRIBUTES.json
required attributes: division_id
ERRORS
incorrect or no division_id
FEEDBACK
a json packet with the division information - excludes directory categories, crm categories and shopping cart data
python example
import urllib
params =
urllib.urlencode({'email':'you@you.com', 'password':'yourpass',
'code':'YOURCODE', 'get_division':'yes','division_id':somebigid' })
f = urllib.urlopen("https://store.dwalliance.com/api/cdc_download.html?%s" % params) print f.read()
COMMAND
get_company_relation
ATTRIBUTES.json
required attributes: company_id
ERRORS
incorrect or no company_id
FEEDBACK
a json packet with the company relation information - excludes company to company information
python example
import urllib
params =
urllib.urlencode({'email':'you@you.com', 'password':'yourpass',
'code':'YOURCODE', 'get_company_relation':'yes','company_id':somebigid' })
f = urllib.urlopen("https://store.dwalliance.com/api/cdc_download.html?%s" % params) print f.read()
COMMAND
get_contact_crm_categories
ATTRIBUTES.json
required attributes: contact_id
ERRORS
incorrect or no contact_id
FEEDBACK
a json packet with the contact crm category ids and text information
python example
import urllib
params =
urllib.urlencode({'email':'you@you.com', 'password':'yourpass',
'code':'YOURCODE', 'get_contact_crm_categories':'yes','contact_id':somebigid' })
f = urllib.urlopen("https://store.dwalliance.com/api/cdc_download.html?%s" % params) print f.read()
COMMAND
get_company_crm_categories
ATTRIBUTES.json
required attributes: company_id
ERRORS
incorrect or no company_id
FEEDBACK
a json packet with the company crm category ids and text information
python example
import urllib
params =
urllib.urlencode({'email':'you@you.com', 'password':'yourpass',
'code':'YOURCODE', 'get_company_crm_categories':'yes','company_id':somebigid' })
f = urllib.urlopen("https://store.dwalliance.com/api/cdc_download.html?%s" % params) print f.read()
COMMAND
get_company_dir_categories
ATTRIBUTES.json
required attributes: company_id
ERRORS
incorrect or no company_id
FEEDBACK
a json packet with the company crm directory ids
python example
import urllib
params =
urllib.urlencode({'email':'you@you.com', 'password':'yourpass',
'code':'YOURCODE', 'get_company_dir_categories':'yes','company_id':somebigid' })
f = urllib.urlopen("https://store.dwalliance.com/api/cdc_download.html?%s" % params) print f.read()
Page
1 of 1
Create Discussion
|