Ask Your Question
0

No @odata.nextLink in NEREN responses

asked 2023-01-16 12:14:33 -0600

updated 2023-01-19 09:24:38 -0600

I'm working with Organic Return on behalf of NEREN member Anne Erwin. We would very much like to use the OData feed from Paragon to access listings. In accessing the API we're seeing some issues...

When requesting properties, there is no @odata.nextLink attribute returned in the response in order to support pagination/replication. The responses are also very slow, even when requesting a single record. For instance this URL returns 1 record after 16 seconds and there is no @odata.nextLink property:

REQUEST: https://neren.paragonrels.com/OData/n...

RESPONSE: { "@odata.context": "https://neren.paragonrels.com/OData/neren/DD1.7/$metadata#Property", "value": [ { "AccessibilityFeatures": [], "Appliances": [], "AssociationAmenities": [], "Basement": [], ...

We work with another client on paragon and their responses include both the @odata.nextLink attribute and the @odata.count attribute:

REQUEST: https://api.paragonapi.com/api/v2/ODa...

RESPONSE: { "@odata.context": "https://api.paragonapi.com/api/v2/OData/bk1/$metadata#Property", "@odata.nextLink": "https://api.paragonapi.com/api/v2/OData/bk1/Property/replication?access_token=XXXXXXXX&%24top=1&$next=1659734298743642b40d1c4f4da1d3a7fc200fe1be61f", "@odata.count": 63959, ...

Thanks for any insights on the NEREN OData feed.

Ned

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-01-25 13:50:07 -0600

Hi Organic,

Currently our API does not support nextLink. This addition has already been requested and we're evaluating it for a future release. Until we are able to implement this functionality please use the $top and $skip operators to create the page size. The API defaults $top to 25.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2023-01-16 12:14:33 -0600

Seen: 39 times

Last updated: Jan 25