CaseList_EntityRetrieve

Retrieves a list of cases for a given entity.

Request

  • Method: SOAP
  • Server: https://[app key here]-[site_ID here]-apps.worldsecuresystems.com. Take a look at the Authorize your API calls document for more info on how this URL is formed.
  • Path: /catalystwebservice/catalystcrmwebservice.asmx
  • The username and password fields:You can make SOAP API calls can be authorized either by using the actual username or password of an Admin username or, if you are making the calls from an app leave the username field empty and use the authorization token as the password.

Parameters

  • siteId - ID of the site (integer)
  • username - email address of user account, leave empty if using site token (string)
  • password - password of user account, or site authentication token for specified site (string)
  • entityId - (integer)
  • recordStart - (integer)
  • moreRecords - (boolean)

To use a site token instead of username/password, send an empty username field and the site token as the password. See example below.

Response

A CaseList_EntityRetrieveResponse object with the following properties:

  • CaseList_EntityRetrieveResult (object)
    • CaseDetails (object)
      • entityId - (integer)
      • caseId - (integer)
      • assignedTo - (integer)
      • caseSubject - (string)
      • createDate- (dateTime) - e.g. 2014-09-9T10:24:00
      • lastUpdateDate- (dateTime) - e.g. 2014-09-9T10:24:00
      • messageThreads- (array)
      • crmForms - (array)
      • fileList - (array)

Examples

Accepts and returns XML as Content-Type.

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values, please note the data in the request and response is only for explanatory purposes.

Request:

POST /catalystwebservice/catalystcrmwebservice.asmx HTTP/1.1
Host: worldsecuresystems.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CaseList_EntityRetrieve xmlns="http://tempuri.org/CatalystDeveloperService/CatalystCRMWebservice">
      <username>jdoe@yourdomain.com</username>
      <password>Y0urP@ssw0rdH3re</password>
      <siteId>12345</siteId>
      <entityId>1234</entityId>
      <recordStart>0</recordStart>
      <moreRecords>true</moreRecords>
    </CaseList_EntityRetrieve>
  </soap12:Body>
</soap12:Envelope>

Response:

HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CaseList_EntityRetrieveResponse xmlns="http://tempuri.org/CatalystDeveloperService/CatalystCRMWebservice">
      <CaseList_EntityRetrieveResult>
        <CaseDetails>
          <entityId>1234</entityId>
          <caseId>1234</caseId>
          <assignedTo>1234</assignedTo>
          <caseSubject>Case subject</caseSubject>
          <createDate>2010-08-08T12:22:00</createDate>
          <lastUpdateDate>2012-08-08T12:22:00</lastUpdateDate>
          <messageThreads>
            <MessageThreads xsi:nil="true" />
            <MessageThreads xsi:nil="true" />
          </messageThreads>
          <crmForms>
            <CrmForms xsi:nil="true" />
            <CrmForms xsi:nil="true" />
          </crmForms>
          <fileList>
            <Files xsi:nil="true" />
            <Files xsi:nil="true" />
          </fileList>
        </CaseDetails>
        <CaseDetails>
          <entityId>1234</entityId>
          <caseId>1234</caseId>
          <assignedTo>1234</assignedTo>
          <caseSubject>Case subject</caseSubject>
          <createDate>2010-08-08T12:22:00</createDate>
          <lastUpdateDate>2012-08-08T12:22:00</lastUpdateDate>
          <messageThreads>
            <MessageThreads xsi:nil="true" />
            <MessageThreads xsi:nil="true" />
          </messageThreads>
          <crmForms>
            <CrmForms xsi:nil="true" />
            <CrmForms xsi:nil="true" />
          </crmForms>
          <fileList>
            <Files xsi:nil="true" />
            <Files xsi:nil="true" />
          </fileList>
        </CaseDetails>
      </CaseList_EntityRetrieveResult>
      <recordStart>0</recordStart>
      <moreRecords>true</moreRecords>
    </CaseList_EntityRetrieveResponse>
  </soap12:Body>
</soap12:Envelope>