Authorization: Bearer ********************
curl --location --request GET 'https://api.upbooks.io/api/v1/salary-component?searchText' \
--header 'pageNo;' \
--header 'pageSize;' \
--header 'sortBy;' \
--header 'sortOrder;' \
--header 'ORGANIZATION-ID: 00000'
{
"data": [
[
{
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"__v": 0,
"_id": "string",
"organization": {
"id": "string",
"organizationId": "string",
"name": "string",
"state": "string"
},
"groupName": "string",
"components": [
{
"name": "string",
"code": "BASIC",
"type": "EARNINGS",
"isTaxable": true,
"isAttendanceBased": true,
"isIncludedInCTC": true,
"isActive": true,
"_id": "string",
"value": {
"amount": 0,
"currency": {
"name": "string",
"symbol": "string"
}
},
"formula": "string",
"custom": true,
"salaryComponentId": "string"
}
],
"isDeleted": true,
"salaryCalculationMode": "month-days",
"sandwichLeaves": true
}
]
],
"totalCount": 0,
"filteredCount": 0,
"message": "string"
}