Ask Your Question

Revision history [back]

Why does StandardNames output different amounts of data?

So, when I change between StandardNames: 0 and 1 I get different amounts of data.

$results = $session->Search("property", "RE_1", "(L_ListingID=0+)",
    [
        'Format' => 'COMPACT-DECODED',
        'StandardNames' => 0,
        'Limit' => 1,
        'Select' => '*'
    ]);

Why does one output only show 50 or so elements of data while the other shows 600? I thought StandardNames only change the names from system to standard so it's more readable? Why does it retract some data based on 0 and 1?

StandardNames: 1 (50 or so elements of data)

[
  'ListingID' => '279251',
  'Type' => 'Single Family',
  'ListingArea' => 'Ensley/Fairfield/Midfield/West End',
  'ListPrice' => '63900',
  'StreetNumber' => '6605',
  'StreetDirPrefix' => '',
  'StreetName' => 'AVE N',
  'UnitNumber' => '',
  'City' => 'BIRMINGHAM',
  'PostalCode' => '35228',
   ...
  'ListingStatus' => 'Sold',
  'LotSizeArea' => '0.4',
  'ListDate' => '2005-10-13',
  'ExpirationDate' => '',
  'ParcelAccess' => 'Public Road',
  'ShowingInstructions' => ''
]

StandardNames: 0

(600 elements of data)

[
  'LO2_OrgState' => '',
  'LO2_OrgZip' => '',
  'SO3_BranchOfOrgID' => '',
  'SO3_HiddenOtyID' => '',
  'SO3_ShortName' => '',
  'LV_vow_avm' => 'No',
  ...
  'L_IdxInclude' => 'Yes',
  'L_LastDocUpdate' => ''
]