ConcourseSuite Support

Support
Corporate
PUBLIC PROFILE

Fetch all Accounts OWNED by a particular user

Using Centric Tools

// Establish connectivity information
CRMConnection crm = new CRMConnection();
crm.setUrl("http://www.example.com/crm");
crm.setId("www.example.com");
crm.setCode("password");
crm.setClientId(clientId);

//Add Meta Info with fields required
ArrayList meta = new ArrayList();
meta.add("orgId");
meta.add("name");
meta.add("url");
meta.add("notes");
crm.setTransactionMeta(meta);

DataRecord accountsTable = new DataRecord();
accountsTable.setName("accountList");
accountsTable.setAction(DataRecord.SELECT);
accountsTable.addField("ownerId", +++ USER ID +++);
crm.load(accountsTable);

XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<app>
  <authentication>
    <id>www.yourorg.com</id>
    <systemId>4</systemId>
    < code>+++ CLIENT'S PASSWORD +++< /code>
    <clientId>+++ CLIENT ID ALREADY ESTABLISHED +++</clientId>
  </authentication>
  <transaction id="1">
    <meta>
      <property>orgId</property>
      <property>name</property>
      <property>url</property>
      <property>notes</property>
    </meta>
    <accountList action="select">
      <ownerId>+++ USER ID +++</ownerId>
    </accountList>
  </transaction>
</app>

Sign in to add your comment.