Ask Your Question
0

Expand Attribute in Paragon API

asked 2022-10-24 19:00:01 -0600

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-10-25 11:32:53 -0600

We do not currently support the expand attribute.

edit flag offensive delete link more

Comments

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

Clear Capital gravatar imageClear Capital ( 2022-10-25 12:15:31 -0600 )edit

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

bwolven gravatar imagebwolven ( 2022-10-25 13:39:43 -0600 )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 gravatar imageClear Capital ( 2022-10-25 15:48:02 -0600 )edit

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

bwolven gravatar imagebwolven ( 2022-10-25 15:54:40 -0600 )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 gravatar imageClear Capital ( 2022-10-28 10:42:26 -0600 )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 gravatar imagebwolven ( 2022-10-28 11:11:37 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2022-10-24 19:00:01 -0600

Seen: 43 times

Last updated: Oct 25