Example Parameter

All API calls can be made using the POST or GET method to "https://amsapi.nextzen.com.bd/api/v1/data"! Please see the sample code for more details.

Following https://amsapi.nextzen.com.bd/api/v1/data. See Below for an Example Parameter:

Method - log
{
    "request_type":"log", 
    "api_key":"ZHdfv6GYuNq0sezBpQob9vbGqVtZWZ",
    "start_date":"2022-04-04",
    "end_date":"2022-8-29",
    "start_time":"05:49:09",
    "end_time":"05:49:09",
    "access_id":"11301000"
}
Method - add_employee
{
    "request_type":"add_employee", 
    "api_key":"ZHdfv6GYuNq0sezBpQob9vbGqVtZWZ",
    "signature_type":"card", 
    "username":"example_username", 
    "signature":"1234abcd", 
    "device_id":["EM111111","EM101010"] 
}
Method - remove_employee_from_device
{
    "request_type":"remove_user_from_device", 
    "api_key":"ZHdfv6GYuNq0sezBpQob9vbGqVtZWZ",
    "username":"example_username",
    "device_id":"EM111111" 
}
Method - delete_employee_permanently
{
    "request_type":"delete_employee_permanently", 
    "api_key":"ZHdfv6GYuNq0sezBpQob9vbGqVtZWZ",
    "username":"example_username"
}
Method - employees_list
{
    "request_type":"employees_list", 
    "api_key":"ZHdfv6GYuNq0sezBpQob9vbGqVtZWZ"
}
Method - employees_in_device_list
{
    "request_type":"employees_in_device_list", 
    "api_key":"ZHdfv6GYuNq0sezBpQob9vbGqVtZWZ"
}
Method - device_detail
{
    "request_type":"device_detail", 
    "api_key":"ZHdfv6GYuNq0sezBpQob9vbGqVtZWZ"
}
Method - unsent_log
{
    "request_type":"unsent_log", 
    "api_key":"ZHdfv6GYuNq0sezBpQob9vbGqVtZWZ"
}
Method - set_employee_registration_mode
{
    "request_type":"set_employee_registration_mode", 
    "api_key":"ZHdfv6GYuNq0sezBpQob9vbGqVtZWZ",
    "device_id":"EM111111"
}

Last updated