Questions?

They are answered by the XTRF community and our experts

0
Answered

API Timeout Issues After Upgrade to XTRF 7?

Cori Alcorn 6 years ago in API updated by Łukasz Kaleta (Senior Customer Success Manager) 6 years ago 7

Is anyone else having issues with API Timeouts after upgrade to XTRF 7? Several of our main integrations are now failing since our upgrade, and they are all /browser/csv calls that are trying to generate CSVs. When I look in the logs, it looks like an error is being thrown saying the max temporary file size has been exceeded. These are the same exact scripts that were running on XTRF 6 before the upgrade.


I have a ticket into XTRF, but just curious if anyone else has a) run into this since upgrading, b) got it resolved through XTRF support and c) if anyone has found a way to skip the CSV download and instead loop through the pages of the browser call and compile all of the rows into a json/CSV format directly?

Answer

Hi Cory, we use the API extensively. Since upgrading to XTRF 7, I didn't experience any of the said timeouts. We have been generating reports/csv reports with all our data, approx. 1500 entries. Though, it did seem to be not fully idem potent and the results varied on every refresh.

We came up with an other solution:

1. Send a CSV file every hour to my e-mail address with the Periodic Jobs (XTRF --> Settings --> Integrations --> Periodic Jobs). You can select any View you'd like.

2. Have an e-mail reader automatically read the e-mail and save the CSV into your database

3. Run a report on the CSV within your database

0
Answered

How do you add files to a task using the Home Portal API?

Mike MacKechnie 6 years ago in API updated by Łukasz Kaleta (Senior Customer Success Manager) 6 years ago 2

I'm looking to develop a process where our customer managers can upload 1 to many source files to tasks in an XTRF project, using the Home Portal API - my intention is to write the code to run server-side so that at a push of a button, multiple files can be uploaded.


We have daily project files that we create from a template - that bit's nice and simple; the files come in during the day from our client, and then at about 5 p.m. each evening all the files have to be uploaded to the project. This is currently time-consuming and open to human error.


Has anybody here faced a similar challenge, and if so, what did they do to resolve it?


 

0
Answered

Can I export a Smart View through the API?

mark 6 years ago in API updated by Łukasz Kaleta (Senior Customer Success Manager) 6 years ago 3

I'm struggling with this and would love some thoughts. 


I would like to connect through the API a smart view and dump it into a Google Sheet or Google BigQuery. I know that you can connect a smart view in Google DataStudio via the beta connector, and I thought I read on this forum (but can't find it now) that someone said you can export a smart view via the API. However, I can't find that in the API documentation.


Does anyone have any thoughts or ideas on this?


Thanks!!

0
Answered

How do you create a new quote using the Home Portal API?

Mike MacKechnie 6 years ago in API updated by Jorge Villafuerte 2 years ago 20

I've searched the API documentation, and all the questions here, but I can't find an answer to the questions - how can I create a quote using the Home Portal API? I see lots of API's which can act on a known quote number, but what about if you have an incoming request which requires a quote to be created before the project can be created? We have a customer who has this requirement, and at the moment we are having to create projects via the API,  which we then "disguise" as quotes (basically by sticking the word Quote at the end of the project name).

0
Answered

Set Office by API?

Cori Alcorn 6 years ago in API updated by Łukasz Kaleta (Senior Customer Success Manager) 6 years ago 2

I have been working on an API integration and I have looked all over the documentation and all I see in the API is in the Customer API it allows one to list the offices, but it doesn't allow you to set a parent office ID or anything when you are creating a new Customer from the Home Portal API. Does anyone know if I am missing something and there is some way to set parent office of new or existing customers?