Online CoreAPI call (dooNowOrThrow) from ATMRepositoryImp.fetchATMDataNow when the user refreshes the farmer's ATM list. Returned farming models get local geofence file info copied by titleId and are saved to farming_model. Empty result is treated as success; errors return the raw response as an error.
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
ownerEntityId
query
Yes
40001
Farmer IE id.
ownerEntityType
query
Yes
ENTITY_TYPE.IE
Fixed.
date
query
Yes
2026/07/01
First day of current month.
appCreatedAt
query
Yes
1780000000000
Now, epoch ms.
Request
No body. ownerEntityId, ownerEntityType, date, appCreatedAt