Get Custom Function

Changed on
get/misc/custom_functions

Request

  • Base URL
    https://dc-region.zuperpro.com/api
  • URL
    https://dc-region.zuperpro.com/api/misc/custom_functions
  • Auth
    API key in header x-api-key

Query parameters

pageinteger
limitinteger
sort'"ASC"' | '"DESC"'
sort_by''function_name'' | ''created_at'' | ''updated_at''
filter.is_activeboolean
filter.modulestring[]
filter.updated_at_fromstring
filter.updated_at_tostring
filter.function_uidstring[]
filter.is_deletedboolean
filter.keywordstring

Response

200

typestring
total_recordsinteger
current_pageinteger
total_pagesinteger

Example response

{
  "type": "success",
  "data": [
    {
      "function_uid": "97bce995-5ce3-49c9-b777-e9243e4382e9",
      "function_name": "Test",
      "function_module": "JOB",
      "function_description": "Test function",
      "is_active": true,
      "created_by": {
        "user_uid": "b9c91ee7-850f-47b7-b2cd-a6b78f4254d3",
        "first_name": "Tom",
        "last_name": "R",
        "email": "tom.r@zuper.co",
        "designation": "Admin",
        "emp_code": "001",
        "profile_picture": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.zuper/attachments/4ddf323f-19ed-456-81cc-70d0bdf628c5/ea2602d9-0379-4ffb-a2c0-916dc2558c56.JPG",
        "is_active": true,
        "created_at": "2024-06-14T07:34:28.000Z",
        "updated_at": "2024-09-18T04:03:31.000Z"
      },
      "created_at": "2024-09-20T06:13:24.306Z",
      "updated_at": "2024-09-20T06:13:24.306Z"
    }
  ],
  "total_records": 1,
  "current_page": 1,
  "total_pages": 1
}

Changes