An array of strings with CUSTOMER_ID store codes to sync data on these stores.
DeepLinkConst.Parameters.STRING_CUSTOMER_IDstring
An alternative options list with CUSTOMER_ID store codes to sync data for these stores. In this format, a string with CUSTOMER_ID codes is passed, which is separated by a comma (",") without spaces.
If both methods are specified, then the values from STRING_CUSTOMER_ID will be used.
Intent launchIntent =newIntent(DeepLinkConst.IC_CAMERA_LAUNCH_ACTION);
launchIntent.putExtra(DeepLinkConst.Parameters.TOKEN,getDemoToken());
launchIntent.putExtra(DeepLinkConst.Parameters.IC_COMMAND,DeepLinkConst.Commands.IC_SYNC);String[] listCustomerId ={"id1","id2","id3","id4","id5"};// store list example
launchIntent.putExtra(DeepLinkConst.Parameters.LIST_CUSTOMER_ID, listCustomerId);startActivityForResult(launchIntent,ICDeepLink.DEFAULT_REQUEST_CODE);
SYNC_ERR (int: 4) - Synchronization failed. Detailed information in RESULT_INFO.
DeepLinkConst.Parameters.RESULT_INFOstring
Error description or additional information.
DeepLinkConst.Parameters.LIST_CUSTOMER_IDarray
An array of strings with CUSTOMER_ID codes of stores for which sync is performed.
After the sync is completed, the control will automatically return to the calling app.
3. Start visit
You can start or open a visit for viewing without prior synchronization. In this case, you will need an Internet connection at the point of sale. Information about the store will be loaded at the beginning of the visit.
Enable debug mode. Displays a log with the output of the main errors and calling parameters. Optional.
DeepLinkConst.Parameters.TOKENstring
Required. Calling application ID.
DeepLinkConst.Parameters.VISIT_IDstring
Required. Visit ID. If ID:
found — a visit will be opened;
not found — a new visit will be created;
empty or "0" - an error will be returned.
DeepLinkConst.Parameters.AGENT_IDstring
Required. Agent ID in UUID format. If the agent ID is not found, a new agent will be created.
DeepLinkConst.Parameters.CUSTOMER_IDstring
Required. Store ID.
The store is searched for by CUSTOMER_ID (store -> customer_id). If the store:
not found - an error will be returned, the visit cannot be started;
found — all store tasks will be added to the visit.
DeepLinkConst.Parameters.TASK_FILTERstring
Task filter. A regular expression (description) for filtering tasks by name. If specified, the visit will display tasks that match the specified filter. Optional.
Store ID. The store is searched for by CUSTOMER_ID (store -> customer_id)
DeepLinkConst.Parameters.LIST_CUSTOMER_IDstring[]
An array of strings with CUSTOMER_ID codes of stores for which sync is performed.
DeepLinkConst.Parameters.STRING_CUSTOMER_IDarray
An alternative list option with CUSTOMER_ID store codes to synchronize data for these stores.
In this format, a string with CUSTOMER_ID codes is passed, which is separated by a comma (",") without spaces. If both methods are specified in the command, then the values from STRING_CUSTOMER_ID will be used.
DeepLinkConst.Parameters.TASK_FILTERstring
Task filter. A regular expression (description) for filtering tasks by name. If specified, the visit will display tasks that match the specified filter.
DeepLinkConst.Parameters.READONLYboolean
Задает режим открытия визита только для чтения. В этом режиме задачи доступны только для просмотра.
DeepLinkConst.Parameters.TOTAL_IMAGESinteger
The number of images in the visit.
DeepLinkConst.Parameters.DEBUGboolean
Enable debug mode. Displays a log with the output of the main errors and calling parameters.