Downloading the Template Programmatically
Follow the steps below if you are downloading the template Programmatically:
Step 1: Download Request for Template
- Log in to EnterpriseTrack with valid credentials.
- From the Top Navigation bar, select Go To > Administration.
- Click the Data Import & Export tab.
- Click the Download Data Integration Templates link.
- Select values for the following fields from the corresponding drop-down list:
- Languages: Select your language. English is displayed by default.
- Data Format: Select the data format in which the function is to be rendered. Choices include: JSON, and XML.
- Type: Select Download Request for Template. Generates a request template in XML and JSON formats for each CRUD function. These request templates can be used to specify input data in the relevant CRUD function.
- Initiative: Select the initiative, if you are downloading a template for project, team member, activity WBS or activity non WBS entities.
- Finance Template: Select a finance template if you are downloading a template for the Project Finance Data or Project Finance Snapshot Data entities.
- Activity Type Name: Select the activity type if you are downloading a template for the Activity WBS or the Activity Non WBS entities.
- Select the Download button for the corresponding function. The following files will be generated: create_request_template, update_request_template, search_request_template and delete_request_template. You can use these files to specify input data for the relevant CRUD function.
Step 2: Post to Session URL
You must post the downloaded request templates to the session URL for the most up to date template.
Request Format
JSON and XML
Syntax
<api_session>?request_data=<input_data>&request_format =<request_format>
Invocation Example
<api_session>?request_data=<tags specified in create_template, update_template, search_template, or delete_template.xml>&request_format=xml
<api_session>?request_data=<tags specified in create_template, update_template, search_template, or delete_template.json>&request_format=json
Related Topics
Using the Oracle Instantis EnterpriseTrack API
Login Function
Logout Function
Downloading Templates
Downloading CRUD Templates from the User Interface
Functions to Request Templates Programmatically
Preparing XML/JSON