First time here? Check out the FAQ!
0

No @odata.nextLink in NEREN responses

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

Organ_re12's avatar
Organ_re12
asked 2023-01-16 12:14:33 -0500
bwolven's avatar
bwolven
updated 2023-01-19 09:24:38 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

Joe_Brueske's avatar
Joe_Brueske
answered 2023-01-25 13:50:07 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Login/Signup to Answer