API Reference
- Company Onboarding
- User Onboarding
- Admin Portal
- User Portal
- Payroll
- Benefits
- Reports
- Webhooks
Company Onboarding
Addcompanylocation
POST
/
companyOnboarding#addCompanyLocation
curl --request POST \
--url 'https://sandbox.rollfi.xyz/companyOnboarding#addCompanyLocation' \
--header 'Content-Type: application/json' \
--data '{
"method": "addCompanyLocation",
"companyLocation": {
"companyId": "8b77ce43-4596-4af7-bf1b-3bfc946ad5e4",
"companyLocation": "Main",
"address1": "8745 Colard Ln",
"address2": "",
"city": "Lyons",
"state": "CO",
"zipcode": "80540",
"country": "US",
"phoneNumber": "9889890989",
"isWorkLocation": true,
"isMailingAddress": true,
"isFilingAddress": true
}
}'
{
"summary": "Success",
"value": {
"companyLocation": {
"companyLocationId": "EAE2367A-F86E-4495-B403-627FCCFD8184",
"status": "Verification pending",
"message": "Company Location has been saved successfully."
}
}
}
Body
application/json
Example:
["addCompanyLocation"]
Maximum length:
20
Example:
[
"Suggested Values : Main, Branch, Corporate"
]
Maximum length:
40
Maximum length:
40
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
Available options:
US
Example:
["9874563210"]
Maximum length:
40
curl --request POST \
--url 'https://sandbox.rollfi.xyz/companyOnboarding#addCompanyLocation' \
--header 'Content-Type: application/json' \
--data '{
"method": "addCompanyLocation",
"companyLocation": {
"companyId": "8b77ce43-4596-4af7-bf1b-3bfc946ad5e4",
"companyLocation": "Main",
"address1": "8745 Colard Ln",
"address2": "",
"city": "Lyons",
"state": "CO",
"zipcode": "80540",
"country": "US",
"phoneNumber": "9889890989",
"isWorkLocation": true,
"isMailingAddress": true,
"isFilingAddress": true
}
}'
{
"summary": "Success",
"value": {
"companyLocation": {
"companyLocationId": "EAE2367A-F86E-4495-B403-627FCCFD8184",
"status": "Verification pending",
"message": "Company Location has been saved successfully."
}
}
}