POST
/
payroll#importRegularPayrollData
importRegularPayrollData
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/payroll#importRegularPayrollData' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "importRegularPayrollLData",
  "companyId": "4AE76BE2-8983-45CA-AF00-08691A071AB3",
  "payPeriodId": "6E65A352-B435-49BF-8BCF-3BA84FD8F1EE",
  "payrollData": [
    {
      "userId": "653AC8C5-A878-49C8-856D-78628EE961F5",
      "basicPay": {
        "payHours": 173
      },
      "unPaidLeave": {
        "noOfHours": 2
      },
      "retro": {
        "amount": 4,
        "description": "JK"
      },
      "overTime": [
        {
          "type": "Comp off OT",
          "noOfHours": 10.5,
          "multiplier": 1.5
        }
      ],
      "additionalCompensation": [
        {
          "description": "Bonus",
          "amount": 60
        },
        {
          "description": "Van Pool & Transit Passes",
          "amount": 50
        }
      ],
      "deductions": [
        {
          "description": "Qualified Parking Sup",
          "amount": 110
        }
      ],
      "reimbursements": [
        {
          "reimbursementType": "GYM",
          "amount": 120
        }
      ]
    }
  ]
}'
{
  "importRegularPayrollLData": {
    "status": "Ready",
    "message": "Imported Payroll Data Successfully"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Response

200
application/json

The response is of type object.