IOperationServiceGetOrganizationFingerprint Method |
Returns a fingerprint which can be used to identify an iikoRMS server instance.
Namespace:
Resto.Front.Api
Assembly:
Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll)
Syntax byte[] GetOrganizationFingerprint()
Return Value
Type:
ByteExceptions Remarks
Sometimes iikoRMS server instances are being cloned with entire database, so that all their key entities have duplicated ids. Fingerprints help to detect changes of some specific server instance properties, which are usually different for cloned instances, but sometimes also may change on the same instance without any cloning. It is assumed that the plugin compares the currently received fingerprint with previously remembered one to ensure that it communicates with the same iikoRMS server instance. Fingerprints equality means that there is the same server instance. When fingerprints are different, plugin should somehow check, whether it is another instance or the fingerprint of the original instance has been changed. The method requires a connection to the iikoRMS server, so calling this method in offline mode will end up with an exception.
See Also