POST
/
payroll#addSupplementalPayPeriod
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/payroll#addSupplementalPayPeriod' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "addSupplementalPayPeriod",
  "payPeriod": {
    "companyId": "3c62037a-2bac-4910-839d-5c803f0d4f0a",
    "payPeriodType": "Missing",
    "workerType": "W2",
    "payBeginDate": "2023-11-12",
    "payEndDate": "2023-12-10",
    "payDate": "2023-12-10"
  }
}'
{
  "payPeriod": {
    "payPeriodId": "91384C53-089C-42E9-8CB0-59978AF46DEA",
    "status": "New",
    "message": "Supplemental PayPeriod for Prism Ltd has been saved successfully."
  }
}

Body

application/json

Response

200
application/json

The response is of type object.