Total Access Docs
Openapi

Create a public holiday

POST
/api/v1/time-attendance/public-holidays

Authorization

BearerAuth
AuthorizationBearer <token>

JWT access token for REST API endpoints (user-facing apps).

Authorization: Bearer <jwt_access_token>

Tokens expire after 15 minutes. Use the refresh token to obtain a new one.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/api/v1/time-attendance/public-holidays" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "date": "2019-08-24"  }'
Empty