Api doc


SDK's


Api Modules

training.reorder



Supported Methods:

UPDATE
Params
  • token (Required): valid token
  • mode (Required): varchar
  • order: varchar
  • mas_order: integer
  • module_id: integer


Documentation

GET
Reordering training sections/modules.
Level 2 is required.

--

Parameters:

  1. "mode": required //Mode (enum[section, module])
  2. /* "section": Reorder sections
  3.   * "module": Reorder modules */
  4. "order": accepted //Order (varchar)
  5. "mas_order": accepted //Master section (integer)
  6. "module_id": accepted //Module id (integer)
  7. "token": "xxxxxxx" //Valid token is required

Example Request:

  1. {
  2. "method":"UPDATE",
  3. "module":"training.reorder",
  4. "request":{
  5. "module_id":"2066",
  6. "mode": "module",
  7. "mas_order": 342,
  8. "order":"2080,0;2056,1;2057,2;2077,3;2078,4;2079,5;2074,6;2066,7;"
  9. }
  10. }

Example Response:

  1. {
  2. "status":1,
  3. "data":{
  4. },
  5. "token":"xxxxxxx"
  6. }

GET STARTED NOW

Free Trial. No Credit Card Required.

close
(e.g.+14158675309 or +1415-8675-309)

By clicking "Create my Humanity Account" you agree to the Terms of Service and Privacy Policy.

Have a promotional code?Click Here


LIVE CHAT DEMO REQUEST!

Please provide information below.

close
INSTANT DEMOSCHEDULED DEMO
Connect with a Humanity Team Member for a live demo right now!
 

RESELLER REQUEST!

Please provide information below.

close