User Portal
AcceptTermsAndCondition
PUT
/
userPortal#acceptTermsAndCondition
Authorization
Body
curl --request PUT \
--url 'https://sandbox.rollfi.xyz/userPortal#acceptTermsAndCondition' \
--header 'Content-Type: application/json' \
--data '{
"method": "acceptTermsAndCondition",
"termsAndCondition": {
"employeeId": "e066e305-3816-4b06-8576-50d2502be436",
"phoneNumber": "7894565522",
"isTermsAccepted": true,
"isEsign": true
}
}'
{
"1": {
"summary": "Success",
"value": {
"termsAndCondition": {
"employeeId": "e066e305-3816-4b06-8576-50d2502be436",
"status": "Ready",
"message": "The Employee has been updated successfully."
}
}
}
}
Body
application/json
method
string
requiredtermsAndCondition
object
requiredResponse
200 - application/json
employee
object
requiredcurl --request PUT \
--url 'https://sandbox.rollfi.xyz/userPortal#acceptTermsAndCondition' \
--header 'Content-Type: application/json' \
--data '{
"method": "acceptTermsAndCondition",
"termsAndCondition": {
"employeeId": "e066e305-3816-4b06-8576-50d2502be436",
"phoneNumber": "7894565522",
"isTermsAccepted": true,
"isEsign": true
}
}'
{
"1": {
"summary": "Success",
"value": {
"termsAndCondition": {
"employeeId": "e066e305-3816-4b06-8576-50d2502be436",
"status": "Ready",
"message": "The Employee has been updated successfully."
}
}
}
}