Skip to main content
GET
Get Data Model Flags
This endpoint retrieves the current data model flags configuration for the SDK.

Overview

The Get Data Model Flags API allows you to retrieve the current configuration of data model flags that control which fields are enabled, disabled, or optional in the SDK.

Request

Headers

Example Request

Response

Success Response (200)

Field Categories

detail_info_fields

Basic employee information fields including personal details, employment information, and contact details.

bank_details_fields

Bank account information fields for salary disbursement.

dependent_details_fields

Information about employee dependents including family members and their details.

ctc_details_fields

Cost to Company (CTC) related fields including salary components, deductions, and bonuses.

salary_monthly_details_fields

Monthly salary breakdown including allowances, deductions, and reimbursements.

Flag Values

Error Responses

401 Unauthorized

500 Internal Server Error

Authorizations

Authorization
string
header
required

Response

Data model flags retrieved successfully

status
string
Example:

"success"

message
string
Example:

"Data model flags retrieved successfully"

data
object