Getting the Directory and CRM Category Layout 
  May 08, 2008
  API Location: 
 https://store.dwalliance.com/api/other_data.html 
Commands in this page will allow you to download the data normally managed through the Directory and CRM category managers.    COMMAND 
get_crm_categories: Dumps all the category ids and names.    ATTRIBUTES.json  required attributes: must setup categories before using this command    ERRORS  No categories configured. 
  
FEEDBACK  a json packet with the category information 
  
python example code 
  
import urllib
  params =
urllib.urlencode({'email':'you@you.com', 'password':'yourpass',
'code':'YOURCODE', 'get_crm_categories:'yes' })
  f = urllib.urlopen("https://store.dwalliance.com/api/other_data.html?%s" % params) print f.read() 
 
  
COMMAND 
get_crm_sub_categories: Dumps all the sub category ids and names.    ATTRIBUTES.json  required attributes: must setup categories before using this command    ERRORS  No categories configured. 
  
FEEDBACK  a json packet with the category information 
  
python example code 
  
import urllib
  params =
urllib.urlencode({'email':'you@you.com', 'password':'yourpass',
'code':'YOURCODE', 'get_crm_sub_categories:'yes' ,'category_id':'somebigid'})
  f = urllib.urlopen("https://store.dwalliance.com/api/other_data.html?%s" % params) print f.read() 
  
 
  
  
COMMAND 
get_directory_category: Dumps all the directory category ids and names.    ATTRIBUTES.json  required attributes: must setup categories before using this command    ERRORS  No categories configured. 
  
FEEDBACK  a json packet with the category information 
  
python example code 
  
import urllib
  params =
urllib.urlencode({'email':'you@you.com', 'password':'yourpass',
'code':'YOURCODE', 'get_directory_category':'yes' })
  f = urllib.urlopen("https://store.dwalliance.com/api/other_data.html?%s" % params) print f.read() 
  
  
 
  
COMMAND 
get_directory_category_organization: Dumps all the category organization.    ATTRIBUTES.json  required attributes: must setup categories before using this command    ERRORS  No categories configured. 
  
FEEDBACK  a json packet with the category information 
  
python example code 
  
import urllib
  params =
urllib.urlencode({'email':'you@you.com', 'password':'yourpass',
'code':'YOURCODE', 'get_directory_category_organization':'yes' })
  f = urllib.urlopen("https://store.dwalliance.com/api/other_data.html?%s" % params) print f.read()  
 
Page 
 1  of 1  
 
 
Create Discussion
 
 |