Ask Your Question

Revision history [back]

The default format should be COMPACT-DECODED.

Don't know if case matters but you can try: 'Format' => 'COMPACT-DECODED'

Internal search defaults are: $defaults = [ 'SearchType' => $resource_id, 'Class' => $class_id, 'Query' => $dmql_query, 'QueryType' => 'DMQL2', 'Count' => 1, 'Format' => 'COMPACT-DECODED', 'Limit' => 99999999, 'StandardNames' => 0, ];

This is from Session.php on GitHub: https://github.com/troydavisson/PHRETS

I'm not a PHP guy but I have played around with PHRETS it a little.

The default format should be COMPACT-DECODED.

Don't know if case matters but you can try: 'Format' => 'COMPACT-DECODED'

Internal search defaults are: $defaults = [ 'SearchType' => $resource_id, 'Class' => $class_id, 'Query' => $dmql_query, 'QueryType' => 'DMQL2', 'Count' => 1, 'Format' => 'COMPACT-DECODED', 'Limit' => 99999999, 'StandardNames' => 0, ];

This is from Session.php on GitHub: https://github.com/troydavisson/PHRETS

I'm not a PHP guy but I have played around with PHRETS it a little.

UPDATE: Looks like the use_post_method option in PHRETS puts the parameters on both the URL and the body instead of switching from one to the other. This results in duplicate parameter values in Paragon RETS servers.