update
Developing
PUT
http://localhost:1337/api/staff/salaries/dnshmvgtioib5pkxkqlj26yk
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://localhost:1337/api/staff/salaries/dnshmvgtioib5pkxkqlj26yk' \
--header 'Content-Type: application/json' \
--data-raw '{
"basicPay": 8000,
"hra": 10000,
"otherAllowances": 777,
"grossSalary": 50000,
"epf": 1800,
"pt": 500,
"deductions": 200,
"netSalary": 85000,
"bankAccountNumber": "7894561230111",
"bankIFSC": "ISISA234",
"bankName": "State Bank of hyd",
"salaryMonth": "2025-04-01",
"remarks": null,
"staff": null
}'
Response Response Example
{"id":3,"documentId":"dnshmvgtioib5pkxkqlj26yk","createdAt":"2025-05-05T10:50:40.564Z","updatedAt":"2025-05-05T10:50:48.338Z","publishedAt":"2025-05-05T10:50:48.329Z","locale":null,"basicPay":8000,"hra":10000,"otherAllowances":777,"grossSalary":50000,"epf":1800,"pt":500,"deductions":200,"netSalary":85000,"bankAccountNumber":"7894561230111","bankIFSC":"ISISA234","bankName":"State Bank of hyd","salaryMonth":"2025-04-01","remarks":null}
Request
Body Params application/json