Sync Email Accounts
Start syncing of the given accounts, from mail server to SuperOffice database cache.
Only one of these API calls may run at a time. If one is already active, we return after 1 (one) second, with no indication that the sync was not really started. This is a way to throttle sync’ing to avoid making the mail servers angry at us.
There is an additional level of throttling within the implementation as well, limiting us to a maximum of 10 tasks, regardless of how many associates are to to be sync’ed. The outer, API-level lock is released when all those tasks are done.
NsApiSlow threshold: 5000 ms.
Headers
The application token that identifies the partner app. Used when calling Online WebAPI from a server.
Query Parameters
Optional comma separated list of properties to include in the result. Other fields are then nulled out to reduce payload size: "Name,department,category". Default = show all fields.
Body
SyncUserAccounts
SyncEmailAccounts: Start syncing of the given accounts, from mail server to SuperOffice database cache. Only one of these API calls may run at a time. If one is already active, we return after 1 (one) second, with no indication that the sync was not really started. This is a way to throttle sync'ing to avoid making the mail servers angry at us.
There is an additional level of throttling within the implementation as well, limiting us to a maximum of 10 tasks, regardless of how many associates are to to be sync'ed. The outer, API-level lock is released when all those tasks are done.
Response
No Content