Api doc


SDK's


Api Modules

staff.skill



Supported Methods:

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


CREATE
Params
  • token (Required): valid token
  • name (Required): varchar


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


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


Documentation

GET
Returns skill specified by id.
Level 5 is required

--

Parameters:

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

Example Request:

  1. {
  2. "module":"staff.skill",
  3. "method":"GET",
  4. "request":{
  5. "id":"374"
  6. }
  7. }

Example Response:

  1. {
  2. "status":1,
  3. "data":{
  4. "id":"374",
  5. "title":"Word"
  6. },
  7. "token":"xxxxxxx"
  8. }

---

CREATE
Creates new skill.
Level 5 is required

--

Parameters:

  1. "name": required //Name (varchar)
  2. "token": "xxxxxxx" //Valid token is required

Example Request:

  1. {
  2. "module":"staff.skill",
  3. "method":"CREATE",
  4. "request":{
  5. "name":"jQuery"
  6. }
  7. }

Example Response:

  1. {
  2. "status":1,
  3. "data":{
  4. "id":"1496",
  5. "title":"JQuery"
  6. },
  7. "token":"xxxxxxx"
  8. }

---

UPDATE
Updates skill.
Level 5 is required

--

Parameters:

  1. "id": required //Skill id (integer)
  2. "name": required //Skill name (varchar)
  3. "token": "xxxxxxx" //Valid token is required

Example Request:

  1. {
  2. "module":"staff.skill",
  3. "method":"UPDATE",
  4. "request":{
  5. "id":"1496",
  6. "name":"jQuery - updated"
  7. }
  8. }

Example Response:

  1. {
  2. "status":1,
  3. "data":{
  4. "id":"1496",
  5. "title":"JQuery - updated"
  6. },
  7. "token":"xxxxxxx"
  8. }

---

DELETE
Deletes skill.
Level 5 is required

--

Parameters:

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

Example Request:

  1. {
  2. "module":"staff.skill",
  3. "method":"DELETE",
  4. "request":{
  5. "id":"1496"
  6. }
  7. }

Example Response:

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

GET STARTED NOW

Free Trial. No Credit Card Required.

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

By clicking "Create my ShiftPlanning 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 ShiftPlanning Team Member for a live demo right now!
 

RESELLER REQUEST!

Please provide information below.

close