A new API for Time Attendance has been added with BioStar 2.8.13.

 

For ‘How to use TA API swagger’, please refer to the link below:

 [BioStar 2 TA API] How to use and start BioStar 2 TA API  

 

 

How to Search for a specific rule

BioStar 2 TA Rules can be searched by using TA API.

 

테이블이(가) 표시된 사진

자동 생성된 설명

 



 You can find the /tna/Rule API in your TA Swagger.

 

 

Part 1. Search for a specific Rule

 

[GET]: /tna/rules/{Rule_ID}

[Headers] 

*id header is required.

[Parameters] 

Name

Type

*M/O

Explanation

Value

 

 

 

 

 

   * M – Mandatory, O – Optional

[Example Value/Parameters Model]

 

 

[Response: successful]

{

    "id": 2,

    "message": "Processed Successfully",

       "message_key": "SUCCESSFUL",

    "language": "en",

       "status_code": "SUCCESSFUL",

    "name": "Rule 2",

       "description": "Rule 2",

       "created_perm_id": 1,

       "daily_overtime": {

           "max_minutes": 0,

        "use": true,

           "overtime": {

               "regular_minutes": 480,

               "pay_code_after_regular_minutes": {

                   "id": 2

            }

        },

           "double_overtime": {

               "overtime_minutes": 0

        }

    },

       "weekend_overtime": {

        "use": false,

           "day_start_time": 300,

           "first_in_last_out": false

    },

       "holiday_overtime": {

        "use": false,

           "day_start_time": 300,

           "first_in_last_out": false

    }

}

 

Above response represents the rule which has the rule_id value ‘2’.

테이블이(가) 표시된 사진

자동 생성된 설명

 

 

 

Part 2. Search for a specific Schedule Template via POSTMAN