Top of GSFF | Index | Table of Contents | Feedback |
Interface Extract Queries are institution-defined queries that are used to extract data (in XML format) from Callista SMS via the 'Generate SMS Interface XML File' (GENJ1200) job and the 'interfaceExtract' web service. Using the queries, institutions can customise the extracted data to meet their individual requirements and the requirements of external systems.
The interfaceExtract web service can be called from custom developments or other interfacing systems. The 'Generate SMS Interface XML File' (GENJ1200) job can be used to extract the data to a file for manual uploads into external applications.
The following Query Parameter attributes can be defined for institution-defined queries:
(See Field Descriptions, below, for more information.)
Parameter attributes enable validation of parameters when they are passed into the interfaceExtract web service or GENJ1200 job.
Each parameter has optional allowable values, which form a set list that will be used for validations, thereby ensuring that the value passed in is one from the defined list. If allowable values are not defined for the query parameter, then the value is not validated.
Existing queries provided by Callista are view-only. They can only be modified by the application owner.
It is recommended that queries are created and tested in a third-party developer tool, then copied and pasted into GENW1210 once the query syntax has been validated.
Queries can be constructed to get any data out of Callista. It is recommended that the queries use Oracle-provided functions to correctly format the XML. (For a list of functions and examples, see the 'Interface Extract Queries' technical information for the latest Release.)
An Interface Extract Query can be run via the GENJ1200 job or interfaceExtract web service, to return details of the Web Service Access Log for a nominated web service. It returns matching Web Service Access Log records along with the parameter details and data passed in and out of the web service for the specified web method.
In addition, a set of SMS-LMS system queries are provided in Callista to extract data for different services in a Learning Management System (LMS). These system queries cannot be updated or deleted, or executed without modification. However they can be copied to a new record where they can be modified to match an institution's requirements.
SMS-LMS example queries (which comply with the Learning Information Services (LIS) 2.0 standards) that are pre-loaded onto this page are:
S_WS_A_LOG System Extract Query:
An optional Callista System Interface Extract Query, S_WS_A_LOG, can be used to retrieve log entries for a nominated web service; specifically Request (i.e. parameters that were passed into the web service) and Response (i.e. parameters that were retrieved by the web service) messages from the S_WS_ACCESS_LOG table.
Institutions can enter search criteria in the query's parameters to return the web service Request and Response message details in XML format.
Results can be restricted by web service name, web service method, start and end time-stamp (i.e. date range), http return status, application username, application user Person ID, end-user username, and end-user username Person ID.
As per other System Extract Queries, the S_WS_A_LOG query can be executed via the interfaceExtract web service or the Generate SMS Interface XML File (GENJ1200 ) job. This query cannot be modified.
For further information about the creation of interface extract queries, refer to the 'Interface Extract Queries' technical information for the latest Callista Release.
The GENW1210 page is accessed directly from the Callista menu. It includes a 'Create' and 'Edit' page.
Upon accessing the GENW1210 page, a list of Interface Query records is displayed. (For more information, see the Working with Lists overview Help page.)
An asterisk (*) indicates that the field is mandatory.
Field: | Description: |
*Interface Extract Code | Unique code for the interface extract query. Cannot be modified once the record has been saved. This value is used to identify the Interface Extract Query in GENJ1200. Table value:
|
*Description | Description of the interface extract query. Can be updated after creation. This value is used to identify the Interface Extract Query in GENJ1200. Table value: |
XML Schema URL | This value represents the SCHEMAURL used by DBMS_XMLSCHEMA.REGISTERSCHEMA and must be specified for the graduationDocumentsSoap web service FindDocuments method when used with queries that return XML documents. For more information refer to Tribal Callista Technical Documentation for the graduationDocumentsSoap web service in the Callista Product Centre. This field may be left blank if a value is not required. Table value: |
System check box | This check box can only be set by the application owner (for example, Callista). For records created in this page, the value will always be 'No'. This check box is set to 'Yes' only if the query is a 'system' interface extract query, delivered by Callista. Table value:
|
Closed check box | Select this check box to close the interface extract query. If a query is closed it is no longer available for selection in GENJ1200. Table value: |
Query | Enter the text for the interface extract query, which is stored as a CLOB. No validations are performed on syntax in this field. Table value:
|
Click the New icon in the Query Parameter block to display the New Interface Extract Query Parameter pop-up page.
The parameters defined in the Query field and the parameters defined in the Query Parameters block, must match.
Descriptions of each field displayed in the pop-up page are provided below.
Field: | Description: |
*Parameter Name | Enter the name of the parameter. Table value: |
*Data Type | Select a value from the drop-down selector. Values are:
DATE and NUMBER Data Types have the option of defining a Format Mask. Table value: |
Format Mask | This field is only displayed if you selected a Data Type of NUMBER or DATE in the previous field. The field is mandatory if the Data Type is DATE. The field is optional if the Data Type is Number. Enter the required Format Mask. For example, for a Data Type of DATE, the Format Mask must be a valid Oracle DateTime Format Model, such as: dd/mm/yyyy. Table value: |
Allowable Values pop-up | Accessed via the Create & Specify Allowable Values button. |
Allowable Values | Click 'Add' to display the Free Text field in which you can add an allowable value for the selected Data Type. For example for a Data Type of DATE, you could enter a date such as, 01/01/2014. Table value: |
For more information about creating custom queries, refer to the 'Interface Extract Queries' technical information for the latest Callista Release.
Last modified on 3 October, 2017 11:03 AM
History Information
Release Version | Project | Change to Document |
19.0.0.3, 19.1.0.3 & 20.0.0.2 | 2298 - Digitary Extensions | Added information for the XML Schema URL field. |
17.1 | 2010 - API Improvements (Security) | Added new information re: the System Interface Extract Query, S_WS_A_LOG. |
17.0 | 1945 - Interface Extract 2 | Updated page. |
16.0.0.2 | 1935 - Interface Extract | Updated and edited page. |
15.0.0.2 & 15.1 | 1738 - SMS-LMS Interface | New Help page |