First time here? Check out the FAQ!
0

Get object with Location = 1 returns no results

https://imls.apps.retsiq.com/dd16/ret... When trying to get the CDN URL to the image returning zero results. This was working but now returning <rets replycode="0" replytext=""> Not sure If I'm missing something. </rets>

user : "557413", url: "https://imls.apps.retsiq.com",

jwoods's avatar
jwoods
asked 2019-06-19 09:59:42 -0500
edit flag offensive 0 remove flag close merge delete

Comments

What RETS Version are you sending?
Try setting to RETS/1.7.2

bwolven's avatar bwolven (2019-06-19 10:57:04 -0500) edit

How do I know what version of RETS the system is on?

jwoods's avatar jwoods (2019-06-19 11:21:04 -0500) edit

What library are you using to access RETS?

bwolven's avatar bwolven (2019-06-19 11:22:08 -0500) edit

I am currently writing my own in elixir

jwoods's avatar jwoods (2019-06-19 11:23:40 -0500) edit

What RETS version are you sending in the RETS-Version header?

bwolven's avatar bwolven (2019-06-19 11:27:18 -0500) edit

I'm leaving that blank

jwoods's avatar jwoods (2019-06-19 11:29:58 -0500) edit
add a comment see more comments

1 Answer

0

You need to pass in a RETS-Version header with every request.
Paragon RETS supports: RETS/1.8, RETS/1.7.2, and RETS/1.5.

bwolven's avatar
bwolven
answered 2019-06-19 11:31:40 -0500
edit flag offensive 0 remove flag delete link

Comments

RETS-Version →RETS/1.8 is coming back

jwoods's avatar jwoods (2019-06-19 11:31:55 -0500) edit

Setting to 1.7.2 still, get the same result

jwoods's avatar jwoods (2019-06-19 11:33:43 -0500) edit

Location = 0 returns image but Location = 1 rutruns <rets replycode="0" replytext="">

jwoods's avatar jwoods (2019-06-19 11:34:57 -0500) edit

You don't see the URL returned in a header?

bwolven's avatar bwolven (2019-06-19 11:36:38 -0500) edit

Ok, I see the Location header has the result. Thanks, sorry to waste your time.

jwoods's avatar jwoods (2019-06-19 11:38:06 -0500) edit

If you request more than one image, 116864:*, in a single GETOBJECT request, the results are returned in multi-part mime format so you would need to decode the results.

bwolven's avatar bwolven (2019-06-19 11:42:43 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer