API Reference
- Company Onboarding
- User Onboarding
- Admin Portal
- POSTAddcompanybankaccount
- PUTDeactivateCompanyBankAccount
- POSTAddUser
- POSTAddBusinessContractor
- PUTUpdateUser
- POSTAddUsers
- POSTAddstateregistration
- PUTUpdatestateregistration
- POSTAddUserWage
- PUTUpdateUserWage
- PUTUpdateBusinessUserAsEmployee
- PUTUpdateEmployeeAsBusinessUser
- PUTUpdateBusinessUser
- PUTUpdatecompanylocation
- POSTActivateUser
- POSTDeactivateUser
- DELDeleteStateRegistration
- PUTTerminateUser
- StateRegistration
- POST
- User Portal
- Payroll
- Benefits
- Reports
- Webhooks
Admin Portal
UpdateBusinessUserAsEmployee
PUT
/
adminPortal#updateBusinessUserAsEmployee
curl --request PUT \
--url 'https://sandbox.rollfi.xyz/adminPortal#updateBusinessUserAsEmployee' \
--header 'Content-Type: application/json' \
--data '{
"method": "updateBusinessUserAsEmployee",
"businessUser": {
"businessUserId": "FDF3DC4C-78F1-4D2A-AAFE-39E9D41456AF",
"workerType": "W2",
"companyLocationCategory": "Remote",
"companyLocationId": "",
"code": "FL",
"jobTitle": "HR",
"startDate": "2020-09-09"
}
}'
{
"summary": "Success",
"value": {
"businessUser": {
"businessUserId": "FDF3DC4C-78F1-4D2A-AAFE-39E9D41456AF",
"status": "Ready",
"message": "The Business User has been updated successfully."
}
}
}
Body
application/json
Example:
["updateBusinessUserAsEmployee"]
Available options:
W2
, 1099-NEC
Available options:
TX
, AK
, ND
, IL
, MA
, KS
, AS
, AL
, UT
, SD
, MI
, DC
, GA
, SC
, TN
, OK
, CO
, CA
, ME
, MO
, WY
, MD
, VT
, NM
, CT
, AZ
, WI
, VA
, WV
, NJ
, DE
, NC
, PR
, IN
, MT
, NH
, HI
, IA
, KY
, WA
, OH
, FL
, OR
, MP
, GU
, MN
, MS
, PA
, NE
, RI
, ID
, LA
, NY
, NV
, AR
curl --request PUT \
--url 'https://sandbox.rollfi.xyz/adminPortal#updateBusinessUserAsEmployee' \
--header 'Content-Type: application/json' \
--data '{
"method": "updateBusinessUserAsEmployee",
"businessUser": {
"businessUserId": "FDF3DC4C-78F1-4D2A-AAFE-39E9D41456AF",
"workerType": "W2",
"companyLocationCategory": "Remote",
"companyLocationId": "",
"code": "FL",
"jobTitle": "HR",
"startDate": "2020-09-09"
}
}'
{
"summary": "Success",
"value": {
"businessUser": {
"businessUserId": "FDF3DC4C-78F1-4D2A-AAFE-39E9D41456AF",
"status": "Ready",
"message": "The Business User has been updated successfully."
}
}
}