Ask Your Question
0

Get object with Location = 1 returns no results

asked 2019-06-19 09:59:42 -0500

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",

edit retag flag offensive close merge delete

Comments

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

bwolven gravatar imagebwolven ( 2019-06-19 10:57:04 -0500 )edit

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

jwoods gravatar imagejwoods ( 2019-06-19 11:21:04 -0500 )edit

What library are you using to access RETS?

bwolven gravatar imagebwolven ( 2019-06-19 11:22:08 -0500 )edit

I am currently writing my own in elixir

jwoods gravatar imagejwoods ( 2019-06-19 11:23:40 -0500 )edit

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

bwolven gravatar imagebwolven ( 2019-06-19 11:27:18 -0500 )edit

I'm leaving that blank

jwoods gravatar imagejwoods ( 2019-06-19 11:29:58 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2019-06-19 11:31:40 -0500

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.

edit flag offensive delete link more

Comments

RETS-Version →RETS/1.8 is coming back

jwoods gravatar imagejwoods ( 2019-06-19 11:31:55 -0500 )edit

Setting to 1.7.2 still, get the same result

jwoods gravatar imagejwoods ( 2019-06-19 11:33:43 -0500 )edit

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

jwoods gravatar imagejwoods ( 2019-06-19 11:34:57 -0500 )edit

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

bwolven gravatar imagebwolven ( 2019-06-19 11:36:38 -0500 )edit

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

jwoods gravatar imagejwoods ( 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 gravatar imagebwolven ( 2019-06-19 11:42:43 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-06-19 09:59:42 -0500

Seen: 234 times

Last updated: Jun 19