I am using Azure billing API (Resource Usage-Preview) for getting the consumption data for an Azure subscription and trying to get the aggregated data of particular dates on daily basis. As per the documentation, I am sending showDetails parameter as false while calling API which defines the data should be aggregated, but not able to get aggregated data. In order to make sure the issue I stored data in database and found duplicate entries for the same subscriptionId, meterId, usageStartTime and usageEndTime which seems not correct and also irrespective of the value of showDetails (true or false) parameter I am getting same number of records which all are not aggregated.
Url which i am using :
https://management.azure.com/subscriptions/My SubscriptionId/providers/Microsoft.Commerce/UsageAggregates?api-version=2015-06-01-preview&reportedstartTime=2016-03-02+00%3a00%3a00Z&reportedEndTime=2016-03-03+00%3a00%3a00Z&aggregationGranularity=Daily&showDetails=false
Does anyone has faced the same issue or have any idea on this please?
Related
Is there any rest api that can be used to fetch api access detail for a user. To know how many times a user accessed a api and how many success or failure request were there. i am not able to use log-to-eventhub.
Thanks to #MayankBargali-MSFT's Q&A answer to similar kind of issue and posting here to help other community members!
Azure APIM will do monitor the APIs published but only listed details are logged as per the APIManagementGatewayLogs.
Based on your requirement, leveage the APIM reporting API and refer to Microsoft Doc for more information on reporting API.
To know who the user accessed particular API in APIM recently, You can call the List by Request API by adding the filter (For example, last 4 days from this day, apiID, etc.).
The above response will provide the details like apiID, timeStamp, userID that helps to find the details.
Still paraphrasing #MayankBargali-MSFT from the post linked above:
To know how many time that user accessed the API, use List by User API where it gives the overall result in which we need to filter with the apiID, then you can get the API Level count.
Point to note here is:
Filter might not work for every column. Therefore, you must modify the outcome at your client's end to perform more filtering and obtain the appropriate result. For further information, kindly consult the relevant API document. As long as you don't delete the APIM instance, the data will continue to be maintained permanently.
I am trying to retrieve total of sold products variants (Like how we see them in the dashboard reports) from Shopify's dashboard via API.
I checked orders API documentation but it seems like it doesn't have any filter or endpoint that would returns that data.
I am not sure if it is possible via Shopify GraphQl or ShopifyQL.
In the documentation of ShopifyQL it says
(The Analytics API is deprecated. Please use our other APIs to get Sales, Payments, Taxes, and Customer data.)
Anybody knows how to access to that data in anyway?
I'm attempting to obtain a profit and loss statement, or balance sheet, using REST Web Services within Netsuite.
I've been successful at calling unique ID records (customers, vendors, and their respective data), but now I'd like to be able to pull a set of financials for a specific period/entity. Is there a way I can do that using Python, Postman, or does REST Web Services not support that sort of functionality?
Thanks in advance for your help.
We are using Chatbase for multiple clients that we identify with a different version number.
See my previous question here: Track multiple context for the same Bot
We have a dashboard for all those clients and would like to show them their own data. A bit like Google analytics allows it.
So:
Is an API in the pipeline (I couldn't find any existing resources)
If not, in what alternative way could we get the data to present it?
We have a .csv export that is currently limited to the first 500 rows of your message variations report. It is on our roadmap to increase the scope of this report, however there is no official timeline for release.
Our recommendation for deploying an integration like you described in your message is as follows:
Have the user create a Chatbase account in order to obtain the API key
Have the user integrate their analytics on your platform by providing the API key
Send the messages from their bot to their Chatbase API
Provide the user deeplinks to the Chatbase reports from within your UI
Alternatively, you could configure your bot to send a redundant message to an internal database, or bigquery table to have access to all of your logs.
If you would like access to data you have sent to Chatbase up to this point, please contact chatbase-support#google.com and provide your bot's name and/or api key and we can provide a one-time export.
I have a collection of 7 documents. 6 docs are about 1kb size and one is about 15kb.
Documents have a field named Email.
In Azure portal, in CosmosDB data explorer, i do simple query:
{"Email":/^co*/}
This returns all documents whose Email property starts with co (in this case its always 1 document returned). Now, when i run this query repeatedly, i get RU charges that vary from 6.98 to 104.99!
I emphasise, all of this happen in CosmosDB data explorer in Azure portal. Collection doesn't change during test. Noone else does any db queries while i am running tests.
Now this is complete mistery for me. I thought request charge is deterministic and that if collection and query don't change that request charge would be the same. This is 15 times different.
Does anyone have any explanation?