Online CoreAPI call (generated ProductAPI.getProduct, dooNowOrThrow) made by SetupServiceHelper.fetchTenantProduct from HomeActivity when the product table is empty or the language changes. The ProductDTO list is converted to the local Product entity, saved to the product table and used to build the product/SKU masters (crop pickers, inventory). On failure only a log line is written and the KEY_PRODUCT_DATA flag stays false, so it is retried on the next Home open.
Headers
Header
Value
Notes
X-SESSIONID
<session token>
Set by CoreAPIDefaultImpl.doOperation from the session manager; on 401 the session is invalidated and the call retried once (dooNowOrThrow = 1 retry).
Content-Type
application/json
Always added by CoreAPI for non-multipart requests.
Parameters
Param
In
Required
Example
Notes
criteria
query
Yes
isActive=true AND tenant.id=11
Built from the logged-in tenant id.
start / range / excludeAttributes / includeAttributes