POST
/
payroll#importPayrollDetailsFile
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/payroll#importPayrollDetailsFile' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "importPayrollDetails",
  "payrollDetails": {
    "companyId": "8A9B7683-8E02-494D-8422-963FD05EE785",
    "payPeriodId": "3b51b98b-2915-4854-b87c-f7952ef086ec",
    "fileLocation": "../documents/test.csv"
  }
}'
{
  "payrollDataDocument": {
    "payrollDataDocumentId": "BB14339E2-7AA6-4431-9BE7-73FCFBB4EC82",
    "status": "Ready",
    "message": "Imported Payroll Data Successfully, Tax Calcualtion is in Progress "
  }
}

Body

application/json

Response

200 - application/json

The response is of type object.