POST
/
payroll#importRegularDifferntialPayrollData
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/payroll#importRegularDifferntialPayrollData' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "importRegularDifferntialPayrollData",
  "companyId": "582C407F-4398-4F0A-AF67-4363D7CD7795",
  "payPeriodId": "0ECF3C90-C589-40B4-83B6-B7AFCCF5D2E0",
  "payrollData": [
    {
      "userId": "7CB45BFC-D5C1-4B24-9F53-8666690D13D4",
      "firstName": "Stormi",
      "lastName": "Douglas",
      "basePay": [
        {
          "payCode": "1001",
          "payRate": 60,
          "payHours": 20,
          "multiplier": 1,
          "amount": 1200
        },
        {
          "payCode": "1002",
          "payRate": 50,
          "payHours": 10,
          "multiplier": 1,
          "amount": 500
        }
      ],
      "additionalCompensations": [
        {
          "description": "Van Pool & Transit Passes",
          "amount": 60
        }
      ],
      "deductions": [
        {
          "description": "Qualified Parking Sup",
          "amount": 120
        }
      ],
      "reimbursements": [
        {
          "reimbursementType": "GYM",
          "amount": 120
        }
      ]
    }
  ]
}'
{
  "importDifferntiaPayrollData": {
    "status": "Ready",
    "message": "Imported Differential Payroll Data Successfully"
  }
}

Body

application/json

Response

200
application/json

The response is of type object.