It's all about the answers!

Ask a question

REST call returns deleted data in data model


Greg Sturtz (1111) | asked Jun 17 '15, 11:00 a.m.
I have a Data model which includes a REST call for resource assignments.  When queried, it returns assignements that are no longer current and have been deleted.  Why is this happening and how might it be corrected.

One answer



permanent link
Francesco Chiossi (5.7k11119) | answered Jun 17 '15, 11:20 a.m.
Hello Greg,

I assume this is a custom data model you built using a custom xdc file to query a REST resource.

It's difficult to provide a meaningful answer without more details, however a few thing that could be related are:
  • check if there is a field returned by the REST API indicating if the element is deleted or archived.
  • filter the call to not show archived elements.
  • use a modified since clause, if supported by the REST source, to filter out old data.

Best Regards,

Francesco Chiossi


Comments
Greg Sturtz commented Jun 18 '15, 7:30 a.m.

Your explanation makes sense.  I plan to work with the person who formed the xdc file to confirm your suspicions.

Your answer


Register or to post your answer.