WSDL Page:  http:/<your_domain_here>/api/1/get.asmx?op=Departments

 

Parameter Summary:

api_key / STRING = Admin API Key {See get.asmx > GetAPIKey}

Parameter Types:

api_key - ID


Sample GET Call:

http://demo.cakemarketing.com/api/1/get.asmx/Departments?api_key=dNJFmId9rI

 

Sample XML Response:

<departments_response>
  <success>true</success>
  <row_count>8</row_count>
  <departments>
    <department>
      <department_id>2</department_id>
      <department_name>Accounting</department_name>
    </department>
    <department>
      <department_id>7</department_id>
      <department_name>Decision Maker</department_name>
    </department>
    <department>
      <department_id>1</department_id>
      <department_name>Department 1</department_name>
    </department>
    <department>
      <department_id>3</department_id>
      <department_name>Main Contact</department_name>
    </department>
    <department>
      <department_id>6</department_id>
      <department_name>Making Money Department</department_name>
    </department>
    <department>
      <department_id>4</department_id>
      <department_name>TEAM CHIE</department_name>
    </department>
    <department>
      <department_id>5</department_id>
      <department_name>TEAM GARTH</department_name>
    </department>
    <department>
      <department_id>8</department_id>
      <department_name>TEAM QA</department_name>
    </department>
  </departments>
</departments_response>