IBM Cognos REST Services using C# - c#

I've never used IBM Cognos product. What I need is to make an integration between a custom system and Cognos. I don't know yet the requirements but I have one question:
Does Cognos have REST/SOAP web services one can connect to and retrieve data? Or maybe an SDK? How do you guys integrate with Cognos?

You'll need to use Cognos mashup services which is part of Cognos SDK:
http://www-03.ibm.com/software/products/en/cognos-mashup-service
The documentation of this product is not available in public URL and it is available only as part of the Cognos SDK installation.
However you get a hunch on it in here:
Get started with the IBM Cognos Mashup Service
and in here:
Combining IBM Cognos Mashup Services and Google Maps v2

Does Cognos have REST/SOAP web services one can connect to and
retrieve data? Or maybe an SDK?
Data can be automatically retrieved from IBM Cognos via REST API, SDK (Soap), Mashup-Services and Junyper-Notebooks using C#, Java, .net, R, python, Javascript, curl.
Some interfaces just allow retrieval others also expose configuration and update functionalities. In general all actions that can be executed via the Webportal, can also be accessed via SDK or REST-API.
REST-API
There are two flavours of REST-APIs, REST-API from v10 and the swagger-based API since Cognos v11. Both are fully functional and supported.
Cognos V10 REST-API is availabe in Cognos since Version 10.
It exposes the different services runnning as Java-Servlets in the Applikation-Server via URL and accepts parameters to retrieve portal content, execute reports, retrieve save report outputs, poll for status, /add/change/deleete extensions ....
Generic url:
<Cognos-installdir>/v1/disp/{service}
{service} can be: extensions, files, session, disp, ...
Example for getting report data or a folder structure:
http://webservername:portnumber/ibmcognos/bi/v1/disp/rds
/{resource_type}/{source_type}/source_id?option1=val1&option2=val2...
Depending on {resource_type} and {source_type} the results can be a user information, folders, saved report output a report results run on demand ...
Cognos 11.1.x REST-API was introduced with Cognos Version 11 and is provided through swagger.
The swagger-API comes with a structured documentation and may therefor be easier to understand. Latest documentation can always be found in reaching out to the installed URL: https://<cognos_analytics_server>:/api/api-docs - see IBM Cloud installation as example.
SDK
IBM provides SDK libs for C#/Java/.NET which are included in any IBM Cognos installation. Typically in /sdk
SDK examples can be found in /samples for any of the above languages.
IBM 11.1.x documentation on SDK
For Java you would use the following libs:
activation.jar
axis.jar
axisCrnpClient.jar
commons-codec-1.4.jar
commons-collections-3.2.jar
commons-configuration-1.4.jar
commons-discovery-0.2.jar
commons-jxpath-1.3.jar
commons-lang-2.3.jar
commons-logging.jar
dom4j-2.0.0-RC1.jar
jaxrpc.jar
log4j-1.2.14.jar
log4j-1.2.8.jar
mail.jar
saaj.jar
wsdl4j.jar
xercesImpl.jar
xml-apis.jar
In the /samples directory are Code snipplets for almost anything to get started with.
How do you guys integrate with Cognos?
Here are three examples with source-repos on Github using the IBM Cognos API:
BusinessAnalyticDashboard retrieving data using Angular
TicketDashboard retrieving data using Angular
Very Nice Collection of Cognos commandline tools
Collection of tools using the API
TM1
As you tagged your question with TM1, I suppose that you are especially looking for TM1 API. The TM1 exposes functionalities that are unique to TM1 using a similar aproach as the Cognos REST-API coming since v10.
{service} can be: v1/Cubes, v1/Process or v1/Processes ... See documentation and documentation Planing Analytics 2.0 for details.

Related

Access to Azure Devops working elements via C#

Is it possible to build a C# application that I can use to access my Azure Devops server and have my work items read out for a particular sprint? If so how, I can't find anything that works. Thanks!
Azure DevOps ships with a standard REST API for most parts and a slightly more archaic SOAP API for most of the rest.
There is documentation available here:
.NET Client Library for REST API
.NET Client library for SOAP API
Pure REST API documentation
For more specific problems, post a new question.
To get work items by iteration, you'd be looking at this API:
Iterations - Get Iteration Work Items
.NET Client Library for REST API: WorkHttpClientBase.GetIterationWorkItemsAsync(TeamContext, Guid, Object, CancellationToken) Method
You can find the nugets here:
.NET Client libraries
A sample using the WorkTrackingClient (not the exact API) is here:
microsoft
/
azure-devops-dotnet-samples

Is it possible to use Elastic Enterprise Search through NEST client in C#

I want to use Elastic Enterprise Search in C#, is it possible to do it with the NEST client?
Enterprise Search (also known as App Search) offers powerful functionalities for search engines on the web platform. I am trying to use it with NEST Client; however I am not able to post data in Enterprise Search, I am only able to post the data into an index on Elasticsearch.
Any suggestions, references or resources that could help?
Unfortunately, there is no official Elastic App Search API client in C# as per docs.
There may be other unofficial clients available or you can write an HTTP wrapper yourself but as of current, one does not exist.

Power Apps Integration with Evernote

this body includes three parts please read them all:
I have a client who wants to integrate power apps with Evernote to edit and show notes using this app, I have tried a lot but I can't figure out how to do this, I read an article and it tells that I need to download a CData server...
also, I request Evernote to get their API and it includes that I need to install SDK which suits my platform so, it means that I have to work with visual studio using C# to add this SDK on it than working with power apps.
I have integrated Evernote with Microsoft Teams and it works, so could I get access to Evernote using Microsoft teams connector on power apps?
I tried HTTP requests from power automate, but also I struggle with API
what should I do?

How I consume vCloud API 1.5?

I am developnig web portal for company that provide cloud solutions.Using this portal Customer(companies that are using vCloud services)create/modify service subscriptions,Seek support assustance,pay bills etc.
Now I want to retrieve Virtual Datacenter Resources.
Retrieve and Display the following Service Subscriptions like
-CPU/gHz
-RAM (GB)
-Application and clients
-Operating systems
Also from this portal(website),SuperAdmin(Super User) can create/modify new company(organization) and set up this.etc
Admin can set up his organization
-Super User is service provider
-Admin is Company/Organization user
I am using Asp.net in this project.
I am asking about How can I do this?
By vCloud Director API? (They are using VMWare vCloud Director)
Or by some SDK?
or any rest API is available to perform above task?
Thanks in Advance
There is a REST api that is available. You can found code that help you to use it on the vmware web site (you must get a free account).
You also must be award of the version of the vCloud you are using, the 1.0 isn't compatible with the 1.5 / 5.x
I also suggest you to use java, because there is lot more than just a REST api in java.
Without any help, using only the REST api was long. So I enjoyed using the java api-sdk.
There is a SDK for C# also. You can take from there already created function to access the cloudDirectory infrastructure.
https://www.vmware.com/support/pubs/vcd_pubs.html

Using IBM FileNet Web services in C# Application

Our organization uses IBM FileNet as document management system. FileNet P8 comes with a web services API which can be used in .net
Has anyone of you guys tried this? If yes could you please direct me to any resources to kick start?
Thanks a ton in advance.
http://publib.boulder.ibm.com/infocenter/p8docs/v4r5m1/index.jsp?topic=/com.ibm.p8.doc/developer_help/content_engine_api/guide/gs_procedures.htm
The FileNet API comes in 5 flavors:
Java - jar reference, configure to use either http or iiop transport
.NET - .NET dll reference, configure for http transport
CEWS - Content Engine Web Services. Use only if you can't use the Java or .NET API
CMIS - web service conforming to the CMIS spec
COM - semi-legacy, not discussed in the docs, but it does exist
Although the .NET API uses web services in the background, your .NET project reference is to FileNet.Api.dll, rather than directly to the WSDL. So if you're a .NET shop, you want the .NET API, not the "Web Services API" (2012-02-03 edit: unless you opt for CMIS)
The best place to get started is the "Bulk Loader Sample Code" here: http://www-01.ibm.com/support/docview.wss?rs=3278&uid=swg27010422
You're in the right place for documentation related to the P8 .Net API. The only other "kick-start" link I can think of is http://www.ecmplace.com/.
I know how to create a session using the Java API for the CE, but I'm sorry to say that I haven't done it with the .Net API. However, I'm fairly certain that you'll find helpful examples on the ECM Place forum.
HTH!
Tom Purl

Categories