staff.customfields

SUPPORTED METHODS:

GET

ParametersTypeDescription
token (required)Valid token

DOCUMENTATION

GET
Retrieves all custom field (id, name, type, access and values).
All users can fetch this module.

--

Example Request:

{
   "module":"staff.customfields",
   "method":"GET",
   "request":{
    }
}

Example Response:

{
   "status":1,
   "data":[
      {
         "id":2893,
         "name":"T-Shirt Size",
         "type":3,
         "access":1,
         "values":"XS, S, M, L, XL, XXL, XXXL"
      },
      {
         "id":2896,
         "name":"Skype",
         "type":1,
         "access":1,
         "values":""
      },
      {
         "id":2897,
         "name":"Drivers Licence",
         "type":4,
         "access":1,
         "values":""
      },
      {
         "id":2898,
         "name":"Biography",
         "type":2,
         "access":1,
         "values":""
      }
   ],
 
   "token":"xxxxxxx"
}