omron — Using REST

Chapter 4: DataStore 20964-000 Rev. C Fleet Operation Workspace Core Integration Toolkit 29 User's Manual Table 4-5. DataStore - Value Item Details Item Details Data Type namekey Predefined string for the DataStore item's namekey. The AMR name will be appended for AMR-specific val- ues, as shown below. l AMR-specific value - "namekey:AMR name" l Fleet Manager value - "namekey" String value Current value. ing REST Use the following REST calls to get DataStore values. Table 4-6. DataStore Value REST Calls Method Resource Function GET /DataStoreValue/ByKey/{namekey} Get DataStoreValue by namekey.

GET /DataStoreValue/UpdatedSince?sinceTime= {time millis} Get a list of DataStoreValue entities that have been updated since the given time. GET /DataStoreValue/Stream Listen for DataStoreValue updates. Table 4-7. DataStoreValueLatest Item REST Calls Method Resource Function GET /DataStoreValueLatest/{DataStore item name} Return (without subscription) a one- time value for the DataStore item named. GET /DataStoreValueLatest/{DataStore item name}:{AMR name} Return (without subscription) a one- time value for the DataStore item named on the AMR named. GET /DataStoreValueLatest/{DataStore item name}:* Return (without subscription) a one- time value for the DataStore item named on all AMRs.

This method will create a 2-second delay while all values are collected.