First time here? Check out the FAQ!
0

GetObject Primary Key & Deleted Records

URL: http://ranwmls.rets.paragonrels.com/r... Account: iCheck

1.) Looking to confirm what is the unique primary key field(s) for a get object record?

a.) What is the primary key(s) for GetObject ?

Can Content-ID, Object-ID be used together as a unique Primary Key?

b.) Same question put another way: Is it possible to have more than one GetObject record per Content-ID (MlsNumber) with the same Object-ID, X-Document-Type and X-Document-Type values?

c.) Would this be true, only 1 record for the same Content-ID (MLSNumber)

WHERE Object-ID = 6

AND X-Document-Type = 25

AND X-Document-Type = Listing Contract—Private

2.) Deleted Object records:

a.) Can an Object record can be deleted?

b.) Do Deleted Object records just go away or is there a field or resource to identify deleted object records?

Thanks, Tony

Tony's avatar
Tony
asked 2017-03-31 16:59:10 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

You request items using GetObject with the ID parameter. The key is the resources key field. So in the case of property it would be the L_ListingID field. So to request object 6 you would pass ID value: "1234:6" where 1234 is the ListingID and 6 is the object you are requesting.

You can also return all document objects using: "1234:*" which returns them in multi-part mime format. If you set Location=1 it will return URLs for the documents which is probably the most efficient way to see what is there and to get the document type headers.

As far as the X-Document-Type header value. It is returned to identify the type of document if document types are enabled for the MLS. I do not think there is a limit on the number of documents per document type in Paragon.

Objects can be deleted from Paragon and would be removed from RETS too. They can also be changed from public to private which could exclude them from RETS depending on your account configuration.

We do not have a resource to track deleted objects in RETS.

bwolven's avatar
bwolven
answered 2017-04-03 08:34:45 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Login/Signup to Answer