HP ALM REST Api Requirement Traceability - alm

As the title says I need to get traceability information for my requirements with hp alm rest api.
What endpoint do I have to use?
The documentation seems to be pretty much not existing!
Somewhere I've read that the following endpoint should return a list of all available endpoints but I only get "Not found" -> /qcbin/rest/resource-list
So how to work with this api???

honestly speaking I did not get exactly your query. In particular to work with the REST api you should use a valid login before sending any other queries!
The "get started" from HP is quite helpful, but it may be different if you have a previous version. Link for the 12.50:
http://alm-help.saas.hpe.com/en/12.50/api_refs/Performance_Center_REST_API/Performance_Center_REST_API.htm
Having a look there and I was not able to understand the command you were mentioning. Here another link from HP where I found that, which is again mentioning the login steps of course:
https://community.saas.hpe.com/t5/All-About-the-Apps/A-user-guide-to-REST-API-with-HPE-ALM/ba-p/223878#.WVo2wVElGpo
Anyway if you are new to HP QC REST API, then I would suggest you to create your own module.
I have created a small module to send REST requests to HP ALM using python. The support module is called "requests". I guess that if you are familiar with android, then you should be familiar with python/java too.
Plenty of answers to your problems you will find already answered anyway in SO.
After you will proper login, then you should be able to send easily new REST msg and get your goal.
Have a nice day! ciao ciao!

The REST API (at least until 12.55) does not support reading traceability of requirements. But you can access the database directly. All traceability information are stored in table REQ_TRACE.

Related

How to access Google Classroom without API?

I'd like to automatize some processes that are not yet available through API(Google Classroom), like posting comments on announcements, seeing private comments on my work and so on. I have trouble accessing my account. I'd like the app to be able to run on a server. I'm currently working with node.js, but if there is an easier approach I'll gladly accept it (free if it's possible). Can you give me an example of how it's done because currently, I am struggling to find every button that needs to be clicked on?
Unfortunately, there are no methods right now to accomplish that. You can leave a feature request on Google Issue Tracker describing what methods you would like to use. Google engineers will study your case and, if applicable, they will develop the requested methods.
You could use something like Selenium with your language of choice (Javascript in this case) to automate the browser clicks.
This is however, not the best of ideas... To make Selenium log into your account you will need to hardcode your password somewhere.
Google services use Oauth for authentication, take a look at the Classroom API Getting-started for instructions on how to work with Google Classroom API.

Getting skype status from Javascript/Node

So I've been looking around for answers but haven't been able to find any up to date solutions to my problem. So my use case is pretty simple, I want to be able to check the online status of a list of users at my organisation using Skype for Business. Opening chats with them is simple enough, but actually getting the online status has shown to be a challenge.
I've been looking into the SDK but it seems a bit over the top for my use case, and I haven't been able to get web ticket authentication working (I'm implementing this in an Electron app). Even if I got that far, would I have to make an account with specifically only the contacts I need added and use that as authentication?
Sorry if this is a stupid question, but it seems like the SDK/API is a bit over my level and I'm missing something. Do I need to add in my own server middleware between the node/electron-app and their API or something similar maybe?
Any help is greatly appreciated.

Why Rest Api in Sharepoint

What is the main reason that we go for Rest Api in SharePoint 2013. Already we have Client Object Model for implementing application. Anybody can please guide me.
The Client Side Object Model is built upon the REST API so that is one reason for it to exist. For good JavaScript developers they may like the simplicity of the REST API. For people trying to keep their page size to a minimum, they may appreciate forgoing the size of the CSOM and its dependencies. Lastly, in mash up scenarios with other tools, having an easy way to address content via REST urls makes for better interoperability with other tools instead of relying on a product specific API (i.e. the CSOM).

Excel VBA to Quickbooks Online Link?

Is there any way I can write an Excel VBA program to interface with Quickbooks online? I work for a company that uses quickbooks for accounting, and I'd like to write a simple program that I can run from one of our common excel files to take data from that file and dump into in a Quickbooks bill.
The problem Im running in to is that I dont know where to start. The quickbooks online API online seems suitable for other web apps, and any integration with Excel is online with quickbooks desktop. Are there any good resources? Is this even possible?
You can definitely use the QuickBooks Online API to do what you're looking to do.
The API is usable to both web apps and desktop apps.
If you follow the linked text above there's tons of documentation.
The basic process if you're building a desktop app would be to:
get your OAuth tokens from Intuit's OAuth playground
find an OAuth library for your language of choice
parse the Excel sheet
send OAuth signed REST requests to Intuit's API to send the data to QBO
If you're building a web app instead, you'd be better off implementing the entire OAuth signup process instead of using the playground tool.
You probably don't want to do this from directly within Excel because there's a lot of OAuth signing and other crazy stuff that likely won't be easy/available within Excel directly. But you should be able to use Intuit's .NET DevKit to do what you're trying to do.
I researched this last month. From what I can tell the API is only for creating apps for their app store. The apps have to comply with their standards for navigation, security etc... so the answer to your question from what I can tell is that it's not possible. (I could be wrong but I was asking myself the same question a few weeks ago.)
Probably not the answer you were hoping for but I came to accept it. After talking with my business partner who is a Pro Adviser he said that it was easy enough for him to just upload a csv file if the information was correct and the file was documented.
QuickBooks Online API Diagnostics.php ERROR However, from the looks of this post one might have a reason to believe otherwise.
EDIT The API has been updated. Keith Palmer's answer is correct.
Last week this sample was posted:
OAuthHangoutSamples
I have been using a modified oAuth part of this. I found it was easier to build out the transaction than use the SDK for the API. I have a wrapper class, exposed to com that is working in VBA.
Attending the Intuit's Friday Developer Google Hangout was very helpful in my Intuit Magical Mystery Tour.

Any libraries that can make accessing Google APIs as a service account simpler for NodeJS?

Background: My idea is to create a primarily content-heavy website (think news articles or blog posts) written entirely in nodejs. Since creating content on Google Drive (Google Docs) in particular is very simple, what I would like to do is have Nodejs retrieve the website's content from Google Docs.
Challenge: As far as I can tell, the correct way to do this according to Google is to create a Service Account so that the application can access the files stored on Google Drive without requiring user-intervention in the form of a confirmation. Google provides three libraries--java, python, and php--for server-to-server requests. Does anyone know of anything similar already written by the Node community? I am aware of node-oauth but I've searched through it's source and haven't found anything referencing private keys, which are required for server-to-server interaction, which I'm taking to mean it's not supported. Writing one is also an option, but I'd like to avoid that if at all possible. Looking at the Google-written Java Oauth2 client library makes it pretty clear that it's not an easy task.
Thanks in advance!
This is one library I've found that looks pretty thorough and complete for creating JSON Web Tokens: JWCrypto
I know this thread is old, but in the event others arrive here looking for an answer:
Google is working on an official module to access all of their API's. Its alpha so be careful but it looks very nice- github repository

Resources