First time here? Check out the FAQ!
0

Expand Attribute in Paragon API

Hello, We are currently making calls to our Strategic MLS Alliance Paragon API feed and a question came up I'm hoping you can help with. Do you allow the use of the expand attribute in a request URL? We are using the following Request URL and are getting a 400 error.

https://SMLSA.paragonrels.com/OData/S... gt 2022-06-24&$top=100&$count=true&$orderby=ModificationTimestamp&$expand=Media

Additionally, we have not seen documentation around the Paragon API. Could you please provide any API documentation our team could reference?

Thanks

Clear Capital's avatar
Clear Capital
asked 2022-10-24 19:00:01 -0500
Joe_Brueske's avatar
Joe_Brueske
updated 2023-03-14 08:22:21 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

We do not currently support the expand attribute.

bwolven's avatar
bwolven
answered 2022-10-25 11:32:53 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you for confirming. How would you suggest we download the media URLs for listings?

Clear Capital's avatar Clear Capital (2022-10-25 12:15:31 -0500) edit

I think you just change Property to Media in your URL.

bwolven's avatar bwolven (2022-10-25 13:39:43 -0500) edit

If we change Property to Media then we do not get the listingID that belongs to the MediaURL. We only get the MediaURLs which is not the only thing we want. Is it possible to get MediaURL from the Property resource?

Clear Capital's avatar Clear Capital (2022-10-25 15:48:02 -0500) edit

It should be the ResourceRecordKeyNumeric value that links back to the Property it is associated with.

bwolven's avatar bwolven (2022-10-25 15:54:40 -0500) edit

One more thing, we've noticed that you don't provide @odata.nextLink when we request the listing data. For example, the following request does not return @odata.nextLink which usually tells us to go to the next set of records.

https://SMLSA.paragonrels.com/OData/S... gt 2022-09-19T00:00:00Z and ModificationTimestamp lt 2022-10-26T14:17:42Z)&$orderby=ModificationTimestamp

Is this something that will be implemented in the future? If it won't be added, how do we know if we have reached the last page of records?

Clear Capital's avatar Clear Capital (2022-10-28 10:42:26 -0500) edit

It is in the queue to be added sometime in the future. But no definite date yet.
I would assume that if you request the next batch and nothing is returned, you are done.
You can also pass $count=true to have it return the record count and use that to determine when you are done.

bwolven's avatar bwolven (2022-10-28 11:11:37 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer