Find users with a particular license in Azure Graph REST - rest

Has anyone queried the Azure Graph REST API by licenses? I can't find any examples using REST online. We use REST for our operations and a need has come up to generate license reports and I'd like to be able to execute queries based on license codes.
Any help would be appreciate. Thanks for your time.

According to your description, it seems that you’d like to filter users by assignedLicenses that is a multi-valued complex type. From this documentation, we could find that currently the API seems not support querying of (filtering) a multi-valued complex type (assignedLicenses).
As a workaround, you could try to get users from API and leave the filtering on the client side.

Related

Azure Devops API - Can't find a way to get permission groups/membership using API

I am looking for a way to use the Azure DevOps API to get membership of permission groups. The data I am looking for is in the following location on the front end:
I had the same requirement to get team membership within Azure DevOps and was able to do so using the following URI:
https://dev.azure.com/{organization}/_apis/projects/hrs/teams/{teamname}/members?api-version=6.0
I could not find a similar URI to get permission groups and need a way to pull this information using the API.
I've tried many of the API endpoints on the official api documentation (below) focusing on any that seem like they may pull security group related information. In all cases I came up short either because the endpoint did not provide me with what I was looking for, or the documentation for an endpoint wasn't clear on how parameters need to be structured for more advanced use cases.
https://learn.microsoft.com/en-us/rest/api/azure/devops/graph/groups/get?view=azure-devops-rest-7.0&tabs=HTTP
I also tried asking this question to ChatGPT however the endpoints the chatbot provided me with did not work either.
I found a way to get what I am looking for, but I am not a big fan of the approach.
You can use the graph API to list all permission groups
once you have the permission groups, you can write a script to filter for the group object within the API response you want to get the members of.
The group object has the appropriate API endpoint to hit to get the member objects within the _links.memberships property.
Call the API with the memberships link from above. It will return an array of descriptors which can be used in further API calls.
For each descriptor, hit the appropriate API endpoint to resolve the object for that descriptor. If the descriptor starts with aad then it is a user and you can use the user get api. If the descriptor starts with aadgp then it is a group and you use the group get api.
This strategy is rather complicated and requires an API call for each member of the group. I'd hope there is a better solution.

Clio API Filter data based on nested resource

Filtering data based on a top level resource is straightforward, but what is the proper syntax for the url when attempting to filter based on a nested resource? For example, if I want to return all tasks but only for open matters, how should I enter that into the URL endpoint since the Matter Status is a nested resource under Tasks?
I do not see the method for filtering based on nested resources covered in the Clio API documentation.
As far as I understand, you can only filter by the options Clio's API provides. For example when querying a Matter, you can filter by an originating_attorney_id but not a user_id as the API doesn't provide a way to do that. You'll just have to pull in all the data and filter it in your code logic.
You can reach out to the Clio API team and ask them to add a specific filter option and see if they'll do that for you. I've found that they are at least willing to have a dialog.

How to get sample data from sales force developer account through rest api

I need to get sample data from sales force developer account but i am unable to find any API to get any data from sales force.
Is there any API exposed by sales force to accomplish the task.
Salesforce exposes a large number of thoroughly documented APIs.
Access to record data is most commonly achieved through the standard REST API.
You may be most interested in the endpoints named under Working with Records, which provide access to record data, or Working with Searches and Queries.

Microsoft Access APIs?

I've been digging through Microsoft's API pages (both the REST APIs and the Graph APIs) - but I'm having a hard time finding out if there is any way to access Microsoft Access through an API.
I'd like to be able to make an API call to get like the list of rows in a particular table or query for the list of tables altogether - or, on the flip side, add a row to an existing table. (Edit: I'd like to do this via REST calls and allow users to connect accounts so that many different people could access these things on their own). Does anyone know if this is possible? I'd super appreciate any links to any API docs or examples y'all have ^.^
For reference, I've been looking primarily at these two places:
https://learn.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0
https://learn.microsoft.com/en-us/office/client-developer/access/access-home
Access doesn't provide any functionality to directly access the data from a HTTP endpoint (REST API). It can only function as a database(backend) in this scenario and you would need to look into other solutions to get the data from the database and provide it from a HTTP endpoint (REST API).
If you're looking to use Microsoft technologies for this solution, then you can look into ASP.NET Core to provide the Web API functionality.
You'll need the Access Data Provider to be able to access data in a MS Access database, which as far as I know runs only on a Windows OS.

Data.com API query to Base CRM

Looking in at the DATA.com API we do have a license for 1000 API queries a day. My question is we are looking at a different CRM to handle our outbound sales processes other than SalesForce.
Base CRM looks like it is capable of handling our needs for our business and account processes. Is it possible to have the Base API send queries to the Data.com API and return the results?
I also see there is an API purchase within the SalesForce API. When you conduct a search API query does it require you to purchase the results if you have a license already in place to use Data.com?
Our goal is to have a primary CRM pull information from Data.com or another source for lead information and display it in the new CRM.
If none of this is possible with the solution I am looking at might you suggest other platforms.
Thank you!
Unfortunately, we don't currently offer the triggers to query Data.com's database. However, there are a couple of other ways to integrate Data.com with Base. You can either use a polling-driven trigger to Data.com, you could attempt to configure a workflow in Data.com to send this data over to Base, or you could use an import to pull this data into Base (as many of our customers have done). I hope that helps!