Api doc


SDK's


Api Modules

training.sync

Toggle sync section



Supported Methods:

UPDATE
Params
  • token (Required): valid token
  • id (Required): integer


Documentation

UPDATE
Sync one Training section to all group accounts.
Level 3 is required.

--

Parameters:

  1. "id" : required //Training id (integer)
  2. "token": "xxxxxxx" //Valid token is required

Example Request:

  1. {
  2. "module":"training.sync",
  3. "method":"UPDATE",
  4. "request":{
  5. "id" : 1734
  6. }
  7. }

Example Response:

  1. {
  2. "status":1,
  3. "data":"Section is synced",
  4. "token":"xxxxxxx"
  5. }