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

Body

application/json
method
string
required
payrollDetails
object
required

Response

200 - application/json
payrollDataDocument
object
required