ACTION_SEARCH ACTION Endpoint
  /rpc/action/?method=ACTION_SEARCH  
  DETAILS    
  Prefix Action  
  SUB SEARCHES    
  Action ACTION_SEARCH For actions where the Object is 17.  Joins to the Parent Action
  Attachment CORE_ATTACHMENT_SEARCH  
  By SETUP_USER_SEARCH  
  ChildAction ACTION_SEARCH For actions where the Object is 17.  Joins to the Child Actions
  ContactBusiness CONTACT_BUSINESS_SEARCH  
  ContactPerson CONTACT_PERSON_SEARCH  
  Event EVENT_SEARCH For Links where the Object is 39
  Issue ISSUE_SEARCH For actions where the Object is 112
  ObjectLink CORE_OBJECT_LINK_SEARCH For Links where the Object is 17
  Opportunity OPPORTUNITY_SEARCH For actions where the Object is 35
  Order PRODUCT_ORDER_SEARCH For actions where the Object is 30
  Project PROJECT_SEARCH For actions where the Object is 1
  ProjectTask PROJECT_TASK_SEARCH For actions where the Object is 11
  Recipient ACTION_EMAIL_RECIPIENT_SEARCH  
  SourceAction ACTION_SEARCH  
  Type SETUP_ACTION_TYPE_SEARCH  
  CUSTOM OPTIONS    
  ByTextFormat   1 [default] = User Name, 2 = As per SETUP_SPACE_SETTINGS_MANAGE
  ATTRIBUTES TYPE  
  Amount Numeric  
  AttachmentCount Numeric  
  BillingStatus Numeric Id of the billing status. 1=Billable,2=Non-Billable,3=Don't Know,4=Approved For Billing,5=Has Been Billed
  BillingStatusText Text As above
  By Numeric Id of the user the action is for
  ByText Text Name of the user, on contact, the action is linked to
  Completed Date  
  CompletedTimeZone Numeric  
  CompletedTimeZoneText Text (50)  
  CompletedTime Date Has both date & time
  ContactBusiness Numeric Id of the business the action is linked to
  ContactBusinessText Text Name of the business the action is linked to
  ContactPerson Numeric Id of the person the action is linked to
  ContactPersonText Text Name of the person the action is linked to
  Date Date Alias for DueDate - primarily for saved Messages Searches
  Description Date  
  DueDate Date  
  DueDateTime Date Has both date & time
  DueDateTimeZone Numeric  
  DueDateTimeZoneText Text (50)  
  EmailSent Text Y/N. For draft emails, has the email been sent
  Id Numeric  
  FullLock Text Y / N
  Lock Text Y / N
  Message Text This will contain the HTML for email actions
  Object Numeric  
  ObjectContext Numeric Type of object that the action is linked to. For the full list of values click here
  ObjectText Text  
  Priority Numeric Id of the priority. 1=Low,2=Medium,3=High,4=Critical
  PriorityText Text As above
  Private Text Y/N
  Reference Text  
  SourceAction Numeric Id of parent action
  Reportable Text Y / N
  SourceActionText Text  
  Status Numeric Id of the action status. 1=Completed,2=Not Started,3=Cancelled,4=In Progress
  StatusText Text As above
  Subject Text Alias for ActionReference - primarily for saved Messages Searches
  Text Text Extended text. For eg if the action is an email, this field would contain the email text
  TotalTimeHrs Text Action time in hours
  TotalTimeMin Text Action time in minutes
  Type Numeric Id of the action type. You can define your own, plus there are standard ones. eg 1=Phone Call,2=Site Visit,3=Meeting
  TypeText Text As above
       
  Audit Fields   Click here for more information
  RETURN  
  Selected Attributes  
  EXAMPLE
  1. Return actions created this month
  oSearch.method = 'ACTION_SEARCH';
oSearch.addField('contactbusinessText,contactPersonText,actionby');
oSearch.addFilter('createddate', 'MONTH_TO_DATE');
oSearch.getResults(function(asData) { SearchComplete(asData);});