Create a salary component
Payroll
Create a salary component
Create a salary component
POST
Create a salary component
Authorizations
Issue keys in Settings → API. Send them as Authorization: Bearer ont_… (an X-Api-Key: ont_… header is also accepted). Session-cookie routes are used by the OnTime web apps and are shown for completeness.
Body
application/json
Available options:
earning, deduction Available options:
Fixed, PercentOfCtc, PercentOfBasic, PercentOfGross, Balancing, AttendanceOT, SlabPT, SlabTDS Required range:
-9007199254740991 <= x <= 9007199254740991Required range:
-9007199254740991 <= x <= 9007199254740991Required range:
-9007199254740991 <= x <= 9007199254740991Response
200 - application/json
Success
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Available options:
earning, deduction Available options:
Fixed, PercentOfCtc, PercentOfBasic, PercentOfGross, Balancing, AttendanceOT, SlabPT, SlabTDS Required range:
-9007199254740991 <= x <= 9007199254740991Required range:
-9007199254740991 <= x <= 9007199254740991Required range:
-9007199254740991 <= x <= 9007199254740991