We are developing a Mobile App in c# xamarin which needs to call AWS FHIR Patient API to retrieve the Patient Details. We have done a setup in AWS FHIR Works API and was successful in retrieving the data in Postman using servrurl,auth url, clientid and api key. But I would like to know the implementation of the same in .net c#. Can someone give some pointers or code sample on how this implementation is acheived.
The Firely team have a great software development kit that includes a REST API client for interacting with HL7 data from a FHIR-compliant server. Here is the source code for their library, and here is a REST client example from their documentation.
Related
I want to implement the google pay in my server side code but no code or method available in stripe payment gateway. My payment type is google pay, not card type. I also see stripe document https://stripe.com/docs/google-pay but I did't find any server code. I find only install dependency in server code but don't find implementation method in server side in google pay.
I want to implement the google pay code in server side dot net c# web api.
It's more of frontend than backend for enabling Google Pay in your website.
You just need to create a PaymentIntent with payment_method_types=['card'] in the backend and pass the clientSecret to the frontend.
Read this doc for the complete integration guide.
I have a mobile App in Android that successfully authenticated with Google api returning id-token and also profile information. Now I need to integrate it with my login and registration which I use .net web api as backend. I found google explaind article but not with c# and nuget library and microsoft docs is little difficult to follow. It will be better if i can integrate it with Identity that visual studio provides when creating new project with user authentication generated.
thanks in advance
I resolved my confusion next day after little digging and trying>
Ok first there are two ways of authenticating with third party which i was mixing them and I got confused.
First one in which your application is web or mobile but with web view.
Second way (that I'am using) in which native android activity handle going to google api, so the resulted id-token I manually send it to my api and use this code in c# to verify, requires Google.Apis.Auth library from nuget
var Payload = await GoogleJsonWebSignature.ValidateAsync(idtoken);
See image of steps need to follow in the second way
For more info:
https://youtu.be/zZt8SFivjps
https://developers.google.com/identity/sign-in/android/start-integrating
https://developers.google.com/identity/sign-in/web/backend-auth
I'm working on an app using Azure's Mobile App services (as opposed to Azure Mobile Services). I've successfully implemented the single sign-on with FB (mentioned here: https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-how-to-configure-facebook-authentication-preview/), but now that I can log in I can't figure out how to access the user information on the backend (such as basic user information and access tokens).
Could someone please provide an example or point me to a tutorial explaining how to access this data?
Take a look at the following tutorial blog post: http://blogs.msdn.com/b/carlosfigueira/archive/2013/12/16/enhanced-users-feature-in-azure-mobile-services.aspx - also http://blogs.msdn.com/b/carlosfigueira/archive/2012/10/25/getting-user-information-on-azure-mobile-services.aspx
This is written a while ago, and uses the NodeJS backend, but you should be able to translate this to .NET as the same basic information exists - you use GetIdentities() to get the facebook token, then use the Facebook REST interface or the SDK (http://facebooksdk.net/) to get the rest of the information you need.
The basic piece of information you need is to use the GetIdentities() call to get your
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.
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