We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

Update data partially in a data source API

Answered
Thiago Santos asked on June 13, 2024

Hello,

We already use a function on Flexmonster to handle the data updates (https://www.flexmonster.com/api/updatedata/).

This function have an option where we can update the data partially. However this function only can be used on a "data source json", but in our project we use the "data source api".

We would like to ask for a solution where we can use the partial option to update data partially like you allow to do in a data source json.

Thank You,
Thiago

3 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster June 17, 2024

Hello, Thiago!

Thank you for reaching out to us.

Kindly note that updateData() API call with partial update is available only for JSON and CSV data sources.

Hope our answer has addressed your question well.

Kind regards,
Solomiia

Public
Thiago Santos June 26, 2024

Hi Solomiia,

Is there any intention from Flexmonster to make updateData() available for datasource API?

Can we expect something like that or can we request it?

Thanks,
Thiago!

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster June 27, 2024

Hello, Thiago!

Thank you for getting back to us.

Please note that when using custom data source API, Flexmonster requests the data with one request. Therefore, even if the part of the data is changed, the /select request contains all the data. This is the intended behavior of sending data from the server using the custom data source API protocol, and we don't plan to change it in the near future.

Hope our answer has addressed your question.

Kind regards,
Solomiia

Please login or Register to Submit Answer