SearchHit
ResponseOne search result.
Returned in responses. Its enums are open: tolerate values not listed here, which later versions may add.
Attributes
6Kind of record found. document and fixed_asset are reserved: they are not searched yet. New values may be added: treat a value you do not know as valid, not as an error.
Known values (open: expect new ones) contact, item, sales_invoice, purchase_invoice, quote, transaction, document, fixed_asset, account
Primary text: the contact's or item's name, the account's code, the invoice number (a draft's party), the transaction's number.
Secondary text, e.g. the party, the account's name or the registry code.