This end point allows you to send information about last update time stamps for different entities you send to Zoined.
After uploading entities you can post last update time stamp for each entity here, optionally on store level.
This information is used to report to end users when certain data set was last updated. Times should be posted in UTC time as they will be converted to user local time zone when presented in portal.
Similarly entity keys will be localized in user's selected language provided that correct key names are used.
POST https://api.zoined.com/updateTime?dryRun=false&separator=%3B&encoding=utf-8
Key of entity updated. Generally One of Zapi end point names in lower case eg. workshifts, sales, salessummaries, inventorysnapshots, visitors etc. Special key 'last_updated' can be used to send aggregated update time for all data sets.
Last time stamp when entity was successfully updated
- Mock serverhttps://zapi-api.zoined.com/_mock/updateTime
- https://api.zoined.comhttps://api.zoined.com/updateTime
curl -i -X POST \
'https://zapi-api.zoined.com/_mock/updateTime?dryRun=false&separator=%3B&encoding=utf-8' \
-H 'Authorization: Bearer <YOUR_token_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"entity": "workshifts",
"organisation_id": "123",
"last_updated": "2019-08-21T02:25:31",
"source_system": "ABCDEF"
}'{ "status": "OK", "msg": "1 entity added" }