Changes

Creating SmartConnect Functions

514 bytes added, 16:04, 30 August 2018
no edit summary
===Get===
====Retrieve a Single Organization Record====
This function will retrieve a single record from the organization using the [[Determining_the_companyid|Company ID]]. The function is set up to retrieve the fields listed under '''Field List'''.
 
'''Function Name'''  -  3.01.1 Get Method Sample 1: Retrieve a Single Organization Record<br />
'''Description'''  - This function will retrieve a single record from the organization using the [[Determining_the_companyid|Company ID]]. The function is set up to retrieve the fields listed under '''Field List'''.<br />
'''Object Type'''  -  Company<br />
'''Action Type '''  -  Get<br />
====Retrieve a Single Grant Application Record====
This function will retrieve a single record from the [[Universal Tracking Application]] Level 1 using the [[Determining_the_opportunityid|Opportunity ID]].
 
'''Function Name'''  -  3.01.3 Get Method Sample 3: Retrieve a Single Grant Application Record<br />
'''Description'''  - This function will retrieve a single record from the [[Universal Tracking Application]] Level 1 using the [[Determining_the_opportunityid|Opportunity ID]].<br />
'''Object Type'''  -  Submission Manager - Grant<br />
'''Action Type '''  -  Get<br />
====Sample 4: Retrieve a Single Grant Application Payment Record====
This function will retrieve a single record from the [[Universal Tracking Application]] Level 2 using the [[Determining_the_eventid|Event ID]].
 
'''Function Name'''  -  3.01.4 Get Method Sample 4: Retrieve a Single Grant Application Payment Record<br />
'''Description'''  - This function will retrieve a single record from the [[Universal Tracking Application]] Level 2 using the [[Determining_the_eventid|Event ID]].<br />
'''Object Type'''  -  Submission Manager - Activity<br />
'''Action Type '''  -  Get<br />
====Report Query====
'''Function Name'''  -  3.02.1 Get Report Sample 1: Report Query<br />
'''Description'''  - To retrieve data from a report.
'''Object Type'''  -  Report<br />
'''Action Type '''  -  Query<br />
=====A report query on the number of assessors grouped by specialty=====
A '''Description'''  - A sample that will display the number of Assessors based on their specialty<br />
--Begin custom parameter --<br />
reportid : 36864<br />
=====A report query on a list of Grants grouped by Organization=====
A '''Description'''  - A sample that shows a list of applications filtered by "Approved Proposal" status grouped by organizations<br />
--Begin custom parameter --<br />
reportid : 36812<br />
=====A report query on a list of Grants grouped by Focus Area=====
A '''Description'''  - A sample that displays a list of applications grouped by focus area <br/>
--Begin custom parameter --<br />
reportid : 36814<br />
=====A report query on a list of Payments grouped by Grant Type=====
A '''Description'''  - A sample that  displays the payment amount for each grant grouped by organization<br/>
--Begin custom parameter --<br />
reportid : 36806<br />
====List====
=====Retrieve a list of contacts=====
This function will retrieve a list of contacts based on criteria specified.
 
'''Function Name'''  -  3.03.1.1 List Method Sample 1: Retrieve a list of Contacts<br />
'''Description'''  - This function will retrieve a list of contacts based on criteria specified.<br />
'''Object Type'''  -  User<br />
'''Action Type '''  -  List<br />
<u>'''Sample 1A'''</u><br/>
To '''Description'''  - To retrieve a list of contacts where the first name begins with "J" and sorted by first name in ascending order<br />
--Begin custom parameter --<br />
criteria : [{"andor":"or","field":"sf_First Name","operator":"like","value":"J%"}]<br />
<u>'''Sample 1B'''</u><br/>
To '''Description'''  - To retrieve a list of contacts where the first name begins with "S" and the address contains "Peter" and sorted by first name in ascending order<br />
--Begin custom parameter --<br />
criteria : [{"andor":"or","field":"sf_First Name","operator":"like","value":"S%"},<br />{"andor":"and","field":"sf_Address","operator":"like","value":"%Peter%"}]<br />
=====Retrieve a list of organizations=====
'''Function Name'''  -  3.03.1.2 List Method Sample 2: Retrieve a list of Organizations<br />
'''Description'''  - To retrieve a list of organizations.
'''Object Type'''  -  Company<br />
'''Action Type '''  -  List<br />
<u>'''Sample 2A'''</u><br/>
To '''Description'''  - To retrieve a list of organizations with organization name that starts with "Br"<br />
 --Begin custom parameter --<br />
 criteria : [{"andor":"and","field":"sf_Name","operator":"like","value":"Br%"}]<br />
<u>'''Sample 2B'''</u><br/>
To '''Description'''  - To retrieve a list of organizations with organization name that starts with "Br" and address that contains "Ave" with an ascending order based on the organization name.<br />
 --Begin custom parameter --<br />
 criteria : [{"andor":"and","field":"sf_Name","operator":"like","value":"Br%"},{"andor":"and","field":"sf_Address","operator":"like","value":"%Ave%"}]<br />
=====Retrieve a list of claims=====
'''Function Name'''  -  3.03.1.3 List Method Sample 3: CMS360° - Retrieve a list of claims<br />
'''Description'''  - To retrieve a list of claims from professors in profession sorted by organization name in descending order.<br /> 
'''Object Type'''  -  Cast Management 360° - Case<br />
'''Action Type '''  -  List<br />
'''Field List'''  -  sf_Application Template Type;;sf_Customer;;cf_Claim;;cf_Nature of Injury / Comments on Claim;;sf_Activity List
 
To retrieve a list of claims from professors in profession sorted by organization name in descending order. 
  --Begin custom parameter --<br />
=====List files from an organization=====
'''Function Name'''  -  3.03.2.1 List Files Method Sample 1: from an organization<br />
'''Description'''  - To retrieve the list of file(s) from the organization using the [[Determining_the_companyid|Company ID]]<br />
'''Object Type'''  -  Company<br />
'''Action Type '''  -  List Files<br />
'''Field List'''  -  
To retrieve the list of file(s) from the organization using the [[Determining_the_companyid|Company ID]]<br />whereParameters used are:<br />
''objectid'' = [[Determining_the_companyid|Company ID]]<br />
''fieldid;; = [[Custom_Field_ID|Custom Field ID]] of an organization that is either [[Custom_Field_Type:_Upload_-_Single_File_Storage|single file type]] or [[Custom_Field_Type:_Upload_-_Multiple_Files_Storage|multiple file type]].
=====List files from an application=====
'''Function Name'''  -  3.03.2.2 List Files Method Sample 2: from an application<br />'''Description'''  - To retrieve the list of file(s) of an existing application using the [[Determining_the_opportunityid|Opportunity ID]]<br />
'''Object Type'''  -  Submission Manager - Grant<br />
'''Action Type '''  -  List Files<br />
'''Field List'''  -  
To retrieve the list of file(s) of an existing application using the [[Determining_the_opportunityid|Opportunity ID]]<br />whereParameters used are:<br />
''objectid'' = [[Determining_the_opportunityid|Opportunity ID]]<br />
''fieldid;; = [[Custom_Field_ID|Custom Field ID]] of UTA L1 that is either [[Custom_Field_Type:_Upload_-_Single_File_Storage|single file type]] or [[Custom_Field_Type:_Upload_-_Multiple_Files_Storage|multiple file type]].
Smartstaff
1,385
edits