Skip to main content
POST
/
payroll#removeUsersFromSupplementalPayPeriod
removeUsersFromSupplementalPayPeriod
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/payroll#removeUsersFromSupplementalPayPeriod' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '"{\r\n  \"method\": \"removeUsersFromSupplementalPayPeriod\",\r\n  \"companyId\": \"C8D57032-BF6F-4510-AA41-08A358365531\",\r\n  \"payPeriodId\": \"4083B766-8F3A-4A23-ABB7-FB67FA1F97D3\",\r\n  \"payrollLineItems\": [\r\n    {\r\n      \"userId\": \"7DDB8A83-29D5-4454-9467-53CC80307139\",\r\n      \"reason\": \"\" // optional\r\n    }\r\n  ]\r\n}"'
{
  "payrollLineItems": [
    {
      "userId": "7DDB8A83-29D5-4454-9467-53CC80307139",
      "status": "Removed",
      "message": "The PayrollLineItem for Const Jonas has been removed 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
method
string
required
companyId
string
required
payPeriodId
string
required
payrollLineItems
object[]
required

Response

payrollLineItems
object[]
required
I