'search_catalog' Response
The 'search_catalog' response contains the list of catalogs with
their description and structure as well as the total number of items
within. If a transaction is in progress for a catalog, the items uploaded
during such transaction are not taken into account calculation of
the total. During items upload to a newly created catalog, the operation
returns an empty catalog ('items_count' = 0). During items upload
to a catalog which already contained items before, only the previous
items count is returned 
Note: only the items having 'weight' > 0 are
counted).
The following table describes the 'search_catalog' response parameters.
| Name | Type | Description | 
|---|---|---|
| result_code | int | transaction result code. 'result_code' is always returned in a response. '0' on success. If the transaction fails, the 'result_code' is other than 0. | 
| error_msg | string | more specific description of the error. Returned only when the 'result_code' is other than 0. | 
| catalogs | array | array of 'catalog' elements, each containing data of a single catalog |