TC-1621 Added end time to APIDeviceSession