Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to get DDF data in STANDARD-XML format #324

Open
ShurikAg opened this issue Jan 15, 2024 · 2 comments
Open

Failing to get DDF data in STANDARD-XML format #324

ShurikAg opened this issue Jan 15, 2024 · 2 comments

Comments

@ShurikAg
Copy link

Until now we were working with DDF feed fetching the data in the default COMPACT-Decoded Format and getting the data properly. However, based on the docs, some data is only available in STANDARD-XML.

Screenshot 2024-01-12 at 4 30 29 PM Screenshot 2024-01-12 at 4 31 15 PM

When I request the data in STANDARD-XML I get no records at all.

I am using the latest PHRETS library and my test code looks like this.

public function test()
{
    $this->connect();

    return $this->rets->Search(
        'Property',
        'Property',
        'ID=26352397',
        ['Limit' => 1, 'Format' => 'STANDARD-XML']
    );
}

And the return from this function:

$value = $this->ddfService->test();
$io->success(var_export($value->toArray(), true));

This just gives an empty array.

What am I missing? Is there any other way to get these fields?

@agu2a
Copy link

agu2a commented Apr 3, 2024

I'm facing the same issue. @ShurikAg Did you figure out a way to fix this?
@troydavisson can you shed some light on this? Thank you !!

@agu2a
Copy link

agu2a commented Apr 4, 2024

** UPDATE : I found this article with the solution and now I can see STANDARD-XML
https://stackoverflow.com/questions/35264461/how-to-download-standard-xml-metadata-from-rets-using-phrets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants