POST
/
payroll#addSupplementalPayrollLineItem
Authorization
Body
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/payroll#addSupplementalPayrollLineItem' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "addSupplementalPayrollLineItem",
  "payrollLineItem": {
    "payPeriodId": "00b8b220-f329-4554-bd7b-d0ef53fc0542",
    "employeeId": "30da3ca7-8b39-4a3c-8ab9-050f17fbcb3b",
    "payRate": 10
  }
}'
{
  "1": {
    "summary": "Success",
    "value": {
      "payrollLineItem": {
        "employeeId": "30da3ca7-8b39-4a3c-8ab9-050f17fbcb3b",
        "status": "Ready",
        "message": "The PayrollLineItem for Nelson John has been saved successfully."
      }
    }
  }
}

Body

application/json
method
string
required
payrollLineItem
object
required

Response

200 - application/json
payrollLineItem
object
required