POST
/
payroll#addSupplementalPayPeriod
Authorization
Body
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",
    "payScheduleId": "10192FC7-E996-440A-AFA3-193F2D72302E",
    "payPeriodType": "Missing",
    "workerType": "W2",
    "payBeginDate": "2023-11-12",
    "payEndDate": "2023-12-10",
    "payDate": "2023-12-10",
    "total": 23309.33,
    "readyForProcessing": true
  }
}'
{
  "1": {
    "summary": "Success",
    "value": {
      "payPeriod": {
        "payPeriodId": "91384C53-089C-42E9-8CB0-59978AF46DEA",
        "status": "New",
        "message": "Supplemental PayPeriod for Prism Ltd has been saved successfully."
      }
    }
  }
}

Body

application/json
method
string
required
payPeriod
object
required

Response

200 - application/json
payPeriod
object
required