Hi All: I had a Custom Workbook that I was using ...
# integrations
a
Hi All: I had a Custom Workbook that I was using through the REST API endpoint successfully. However it seems the last few days I'm getting a failure. {​​​​​​​"type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1","title":"Bad Request","status":400,"o:errorDetails":[{​​​​​​​"detail":"Invalid request URL. The request URL must be constructed in the following way: https://<accountID>.suitetalk.api.netsuite.com/services/rest/<service>/v1/<recordname>/<recordid>.","o:errorUrl":"/services/rest/query/v1/services/rest/query/V1","o:errorCode":"INVALID_URL"}​​​​​​​​]} using the following URL: https://[realm].suitetalk.api.netsuite.com/services/rest/query/v1/workbook/custworkbook12/result Did the endpoints get updated?
m
Based on the error message, I wonder if you just need to take
/result
off of the end of your URL
a
Valid assumption, no luck.
m
also just to confirm, you aren't actually using the text
[realm]
right? You are actually putting your account id in the url?
a
That is correct 🙂
Looks like datasets took the place of workbooks
m
yeah was just about to ask you what exactly you were trying to do
glad you got it working
a
Thanks!
t
Hi, just to confirm, the model has changed, dataset can exist without a workbook. You are getting the result of the dataset execution not the workbook (URL has to be changed).
a
Thank you @Tomas Novotny (NS REST API PM) I enabled the Workbook API in the settings, and was still not able to access the Dataset via API. I suggested we just move toward utilizing SuiteQL for all of our needs which seems to be the best solution for us.