Is there a documentation that gives information on different parameters/values that can be passed to QueryRequest in RallyRestAPI? - rally

I want to develop an application that can integrate with rally, hence I got to know about java-tool-kit rally rest api. So that for example, I can query rally to get information about a feature, list of user stories in that feature, owner of that feature etc.. or List of fields we can fetch for our request on userstory, defect, Feature etc
QueryRequest queryRequest = new QueryRequest("PortfolioItem_Feature");
queryRequest.setFetch(new Fetch("Feature"));
queryRequest.setLimit(1000);
queryRequest.setScopedDown(true);
In above code, if I want to look for Feature and US in that feature, a documentation for such might be of great help.

Related

How to set/get custom Employee metadata?

We run an events data based system and a customer needs to integrate with us via their QuickBooks. Using Node JS we've managed to build a basic API where they can OAuth, and we can start querying their API. They have a "Job Title" field which is integral for us to read in order to split users into the correct groups for our business logic, but we cannot seem to find or query this field at all.
Is there a specific place we can instruct them to store the "Job Title" of an employee so that we can pull it via the API? Or does anyone have any other clues/ideas as to how to integrate with this? The QB API seems like it's really falling out of support...

Get vehicle registration details from apisetu.gov.in API

I am trying to implement a feature in my website where user can input the Vehicle's Registration Number and pull out the details of the vehicle and owner. Similar to https://jankari.loconav.com/rc
There is an API provided by the government of India to achieve this - https://ndh.digitallocker.gov.in/public/api/transport#/APIs/drvlc but there is no documentations involved. I am not even sure how to use it in postman. There are no options to generate an API key etc. When you click the "try" button it just shows you a pre-written json which gives error after you execute it. Can some help me find a way to build something similar to https://jankari.loconav.com/rc using the http://apisetu.gov.in
Thanks in advance

How to Get All Tasks from a Story Using DevOps API

I'm trying to get all Tasks from a Story with the DevOps API but I only found a relation expand command which is not that what I want.
So how can I "expand" a Story to see all Tasks?
API REQ: https://----/----/----/_apis/wit/workitems/ID?api-version=5.1
With that I only get like the name, desc, state, reason, assignedto and so on.
Check with the related REST API and Azure CLI, it seems that currently we have no easy way to get the list of Tasks that have been linked to a User Story.
You can execute the API "Work Items - Get Work Item" and get the list of work items that have linked to the specified User Story from the Response body of this API.
GET https://dev.azure.com/{organization}/{project}/_apis/wit/workitems/{id}?$expand={$expand}&api-version=6.1-preview.3
In the list you can get the URL of each linked work item. You can get the detailed information of each work item via sending request to the URL. From the detailed information, you can get the work item type of each item.

Get Salesforce Account fields

I am doing the specifications using Salesforce API
I searched so much but didn't find the list of fields that i could retrieve using GET method
Someone could provide me the link that give me this list please ?
I just found this link
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_get_field_values.htm
Thank you
You need to use a "describe" call. It'll return a list of all objects your user can see in the org and it'll include links how to get more detailed info about all fields on say Account. (you can jump straight to describing an Account if you want, the links are constructed in a predictable pattern)
"Describes" are limited to what your Profile can see so if the profile lacks the "Read" checkbox on some object - it won't appear in the results.
Go to https://workbench.developerforce.com for example and experiment (from menu select Utilities -> REST explorer)
Base call that lists all APIs available to you: /services/data/v41.0
List of all sObjects & links to obtain more info about them: /services/data/v41.0/sobjects
Detailed info about Account, including fields: /services/data/v41.0/sobjects/Account/describe

Social Tables data model

I've just started looking at the documentation as we are going to need to integrate Salesforce with Social Tables shortly, so I am really new to Social Tables.
Specifically, we will need to sync data between the CRM and Social Tables Events and Guests, and maybe other objects, so it would be very helpful to have a data model or similar to check the relationships and fields available in Social Tables architecture.
I haven't found anything in the documentation, is there any way to get this, even if it's at a high level?
Thanks
Danny
To make an integration with SocialTables you'll have to do a few manual steps, there is no way to do this completely programmatic from my experience. You'll also have to be prepared to contact SocialTables to get get correct guestlist ids. Also keep in mind that the API documentation isn't always correct, the API logic is also quite difficult to understand from time to time.
The first thing you need to do is figure out which version of the Venue Mapper you use. You'd want to use the 4.0 api and as far as I know this version of the api is only supported by Venue Mapper 3.0. I believe the Venue Mapper 3.0 is the frontend tool SocialTables provides to do the venue planning.
In social tables an event has two ids, one numerical one and one alpha-numerical one, when you use the 4.0/events endpoint you only get the alpha-numerical event id, and your going to need the numerical one. The only way I've been able to get the numerical id is to pull it out from the url when using the Venue Mapper, example of the url follows below:
https://plan.socialtables.com/team/{team_id}/event/{event_id}/space/{space_id}
Now you need to get the guestlist id, you can get that by using the following url, using the numerical event id:
GET https://api.socialtables.com/4.0/diagrams?event={numerical_event_id}
This endpoint return a json structure where one of the parameters is "guestlist_id".
Please be aware that the guestlist id you get from this endpoint might not be the correct one. I struggled quite a bit with this part and ended up with SocialTables sending me the guestlist id by email.
To get the guests in your guestlist use the following api endpoint:
GET https://api.socialtables.com/4.0/guestlists/{guestlist_id}
The {guestlist_id} is an alpha-numerical string similar to: cfdac1c0-yb1d-12e6-84a5-a39e92131645
And by that you should hopefully get access to your guests.
Hey thanks for using our API.
To answer your question, the best way to see the data model at the moment is to access our developer portal and use the API console to see what is returned. For events you will need to know the team id of the team you are working with use the team events endpoint to get access to the event ids.
https://developer.socialtables.com/api-console#!/Events/get_4_0_legacyvm3_teams_team_events
This will return some basic information about each event for that team. You can then request additional details for specific events by using this endpoint:
https://developer.socialtables.com/api-console#!/Events/get_4_0_legacyvm3_events_event