I use this to get reports:
http://1x.yy.zz.qq:ww05/biprws/raylight/v1/documents?limit=50
It returns all reports which id between 1 and 50.
But I want it to get only modified reports?
thanks in advance
Related
I would like to get running workitems to track progress of the posted workitems.
It is possible to get details to a given workitem by providing an ID, like this:
https://developer.api.autodesk.com/da/us-east/v3/workitems/{{workitemId}}
but I have posted multiple jobs, and using postman, only the last ID gets saved to an environment variable.
I tried getting the generic /workitems endpoints without query strings, but the result was that "The requested resource does not exist."
It would be nice to get a bit more documentation about the specific endpoints, I have read
The developers_guide
but could not find an answer.
I would expect a rest api to give back a list of workitems, just like it does it for activites or appbundles.
Design Automation doesn't have an API to list WorkItems. We only keep WorkItem's reports for 3 days.
You can use this API to get details of a given workitem by providing its id.
I'm trying to create a Google Apps Script that pulls a specific value from this webpage https://www.luno.com/en/price/XRP. I'm attempting to read the HTML to find the value that I'm looking for which the price of XRP from my broker, denoted as "MYR". Here's the code I'm trying to use.
function getXRP(){
var html = UrlFetchApp.fetch('https://www.luno.com/en/price/XRP').getContentText();
var loc = html.indexOf("MYR");
return html.substring(loc, loc+8);
}
From what I understand, html.indexof("MYR") is returning a value of 0, hence the output I'm getting is the first 8 characters of the websites XML
<!DOCTY
For reference, I'm trying to capture the price as below and insert it into my Google Sheets document. Any help would be greatly appreciated, Thank you!
html.indexOf("MYR") is returning -1 because the source code of the page that you are fetching doesn't include MYR.
UrlFetchApp.fetch('https://www.luno.com/en/price/XRP').getContentText() can't be used to fetch dynamic content, instead you should find some way to create a headless browser and parse the rendered DOM instead of the source code.
Related
Using Apps Script to scrape javascript rendered web page
Is it possible to use Google Apps Script to get an info from the code I see at DevTools?
You can just use their API service and fetch the price: https://www.luno.com/en/developers/api#tag/Conventions
It'll be less overhead to fetch from a API than to scarp the whole webpage, parse the field by ID or name and then insert it into the spreadsheet. Fetching from API is lot easier and resource friendly.
I'm currently creating a chrome extension that will query EnvironmentHubMember records from our Salesforce org, however I'm currently getting this returned from the REST callout;
'"sObject type 'EnvironmentHubMember' is not supported."'
The endpoint I'm using is 'INSTANCENAME.COM/services/data/v20.0/query/?q=SELECT+Name+FROM+EnvironmentHubMember
I can't seem to find any specific settings to make this sObject available via an api call, has anybody been able to query these records from an external system before?
Thanks!
try using a later API version. The object itself was not available in version 20. The most recent version is 41.
I am building a JS Webapp with the new Office 365 REST Api. My problem is, that I am no getting all occurence events from a Roomcalendar.
Has anybody an Idea?
I am trying to receive all Events with this URL:
https://outlook.office365.com/EWS/OData/Users(room#exampledomain.com)/Events?$top=100&$filter=End%20ge%202014-08-20T22:30:00Z%20and%20Start%20le%202020-12-14T22:30:00Z
Thanks in advance
The server will page the results back to you in lots of 100 (AFIAK), your date range is quite large 2014-2020 if you have Recurring appointments with no End date your more then likely going to get pages of results. Check the Results you getting back for #odata.nextLink eg
"#odata.nextLink": "https://outlook.office365.com/EWS/OData/Users('user#domain.onmicrosoft.com')/Events/?%24top=100&%24filter=End+ge+2014-08-20T22%3a30%3a00Z+and+Start+le+2020-12-14T22%3a30%3a00Z&%24skip=100"
This is what you should use to the get the next page of results
Cheers
Glen
I have created a report for particular products which pulls up product number and types of products related to those product numbers. It is a very simple report where user is allowed to enter product number in a parameter which returns all the data related to this product. Main purpose for this report was to create pdf files for individual product numbers and all its data. So I decided to do data driven subscription to provide this functionality to the business users. Now, in the business requirement it says that "business submits request to pull 200 products and get a message saying "your request will be delivered to this particular folder within 24 hours" Now this is the part where I got confused. Can a report take request and display messages like that?
Requirements: 1.request is submitted by business to pull 200 producttypes let's say today. Then message is received "thank you for requesting. We will send an email to"[email address just entered] " when the report is ready. Files will be delivered to the following folder: [Path+date, time]" I don't know what email address he's talking about here I'm assuming he wants the report to accept emails when submitting the request. And date time on the folder path will the time request was submitter. 2. A job is kicked off to slowly deliver producttypes to the folder path. 3. Resulting file are places in a new subfolder named todaysdate+time. 4. Filename is productnumber. I have got the part down to create a report that has two columns productnumber and producttypes which has a data driven subscription that delivers files with productnumber name in folder. But I don't understand this message and request thing he's talking about. Also how to generate a subfolder depending on the time of the request. Thanks Daniel
Yes
Report can handle this.
Please provide more details and I will work this out for you.
Daniel
One way that comes to mind is by having two sets of reports and two stored procedures.
Report 1 and stored procedure1 would get the parameters and update the report data (see "When the report data is updated on the report server" option in the data driven subscription wizard) and the other report would then be executed and email/save the files in the required format.
Your first SP however needs to flag that your second report needs to be executed.