Create Journal Entry using V3 API? - intuit-partner-platform

How can you insert a general Journal Entry using V3 API? In V2, there was the JournalEntry object, but I don't see one in the V3 docs or the rollout schedule.
This is what I'm trying to accomplish: when an invoice is created in our system, we're making the appropriate create call that includes the invoice header and lines. At the same time, we need to make 0 or more journal entries related to each line. These are not the standard journal entries which QB automatically makes for invoices, but instead future revenue recognition entries related to each line. The recognition calculations take place in our app and if there are journal entries, the data needs to be sent to QB.

It is not available in V3 yet. It is not part of coming OCT release also.
Ref - https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services/v3/030_entity_services_reference/0500_v3_supported_entities_and_operations
Release notification will be made in the blog.
Blog - https://developer.intuit.com/blog
Thanks

Related

XRPL: How to get the history of the balance of an account?

I would like to query the history of the balance of an XRPL account with the new WebSocket API.
For example, how do I check the balance of an account on a particular day?
I know with the v2 api, there was a possibility to query balance_changes. But this doesn't seem to be part of the new version.
For example:
https://data.ripple.com/v2/accounts/rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn/balance_changes?start=2018-01-01T00:00:00Z
How is this done with the new Websocket API's?
There's no convenient API call that the WebSocket API can do to get this. I assume you want the XRP balance, not token/issued currency balances, which are in a different place.
One way to go about it is to make an account_tx call and then iterate through the metadata. Many, but not all, transactions will have a ModifiedNode entry of type AccountRoot—if that transaction changed the account's XRP balance, you can see the difference in the PreviousFields vs. FinalFields for that entry. The Look Up Transaction Results tutorial has some details on how to parse out metadata this way. There are some kind of tricky edge cases here: for example, if you send a transaction that buys 10 drops of XRP in the exchange but burns 10 drops of XRP as a transaction cost, then the metadata won't show a balance change because the net change was zero (+10, -10).
Another approach could be to estimate what ledger_index was most recently closed at a given time, then use account_info to look up the account's balance as of that time. The hard part there is figuring out what the latest ledger index was at a given time. This is one of the places where the Data API was just more convenient than the WebSocket API—there's no way to look up by date in WebSocket so you have to try a ledger index, see what the close time of the ledger was, try another ledger index, see what the date is, etc.

Unable to export recent logs from Microsoft graph API in identity protection

I have this weird issue when I try to get data from Identity protection by using MS graphs API, I only get two months ago data and not recent ones, what could be the issue here?
I'm using PowerShell to extract the data
Okay, I figure out the mistake I'm doing in here, https://graph.microsoft.com/v1.0/identityProtection/riskDetections is not only a single output
once I add a while loop until '#Odata.NextLink' is not null it gives me the full range

Where are the methods specified that are needed to analyse an Analytics Data API V1 Beta report?

I have added GTM and GA4 to some website apps to produce tables of detailed stats on click-throughs of ads per advertiser for a date range. I now have suitable reports working successfully using Data Studio, but my attempts to do the same using the PHP implementation of Analytics Data API V1 Beta (in order to do batch runs covering many date ranges) repeatedly hit a brick wall: the methods needed to analyse the response from instantiating BetaAnalyticsDataClient and then invoking runPivotReport or batchRunReports or batchRunPivotReports (and so on) appear not be specified.
The only example that I could work from is the ‘quickstart’ one that does a basic dimension and metric retrieval, and even this employs:
getRows()
getDimensionValues()
getValue()
getMetricValues
that do not appear in the API documentation, at least that I can find.
The JSON response format for each report is of course documented: for example the output from running runPivotReport is documented as an instantiation of runPivotReportResponse.
But nowhere can I find a specification of the methods to be used to traverse the JSON tree (vide getDimensionValues() above) and extract some output data.
Guesswork has taken me part way, but purely for example, when retrieving pivot data, should a
getPivotDimensionHeaders()[0]
be followed by a
getDimensionValues()
or a
getPivotDimensionValues()
I am obviously approaching this all wrong, but what should I do, please?

Is there a way to extract all the work items affected of a risk in Rally using REST API?

We have been using Power Bi to access our Rally backlog (Features, User stories). We are planning on including risks and milestones to the extract. We are currently able to successfully retrieve the risks and milestones but not the work items affected by them. Example is Risk RI000 that affects user stories US00000 and US00001.
We want retrieve the 2 work work items affected (US00000, US00001) along with the risk (RI000).
Rally stores WorkAffectedItems as a JSON Web file. From Risks, pull the "WorkItemsAffected.ref" column and you can convert it to a JSON record.
Table.AddColumn(#"PREVIOUS STEP", "WorkItemsAffected", each Json.Document(Web.Contents([WorkItemsAffected._ref])))
You'll then be able to expand the column like you would a normal Record to drilldown to the Formatted ID or whatever you need.

How to download stock data from Matlab

I have downloaded the last version I found (18/04/2017) of hist_stock_data.
It does not get the data from Yahoo (returning zero status).
Any way to fix this?
Any alternative for downloading stock data from Matlab?
Have you tried to use the fetch function?
d = fetch(c,s) returns data for all fields from the Yahoo! website for the indicated security.
Note: This function does not support retrieving multiple securities at once. You must fetch a single security at a time.