Update user by ID
curl --request PUT \
--url https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/users/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"phone": "+12345678",
"notes": "some string",
"hourly_billing_rate": 1,
"hourly_cost_rate": 1,
"eligible_for_commission": true,
"tags": [
1
],
"member_of_teams": [
1
],
"manager_of_teams": [
1
],
"avatar_color": "#ff0000",
"commission_method": "some string",
"default_commission_type": 1,
"default_commission_percent": "some string",
"invoicing_enabled": true,
"invoice_list_permission": 1,
"invoice_lock_setting": "some string",
"lock_estimate_upon_conversion": true,
"can_create_cardpointe_payment": true,
"can_refund_cardpointe_payment": true,
"commission_access": "some string",
"can_view_customer_list": true,
"view_customer_list_mode": "some string",
"can_open_customer_profiles": true,
"customer_contact_details_limitation": "some string",
"is_able_to_view_customer_contact_info": true,
"is_able_to_view_to_contact_customer_from_mobile_app": true,
"customer_communication_permission": 1,
"timesheets_enabled": true,
"can_approve_timesheet_geofence_discrepancy": true,
"is_able_to_view_job_costing": true,
"is_pricebook_enabled": true,
"pricebook_show_li_in_groupings": true,
"is_item_list_visible": true,
"is_able_to_view_item_unit_cost": true,
"is_able_to_view_item_unit_price": true,
"is_able_to_create_item_template": true,
"is_able_to_add_line_items": true,
"can_view_orders": true,
"orders_visibility": "some string",
"orders_functionality": "some string",
"order_send_order": true,
"is_material_list_enabled": true,
"can_create_material_list": true,
"can_update_material_list": true,
"material_list_view_mode": "some string",
"is_maintenance_agreement_enabled": true,
"can_create_maintenance_agreement": true,
"can_update_maintenance_agreement": true,
"maintenance_agreement_list_visibility": "some string",
"is_recurring_billing_enabled": true,
"asset_visibility": "some string",
"can_view_leads": true,
"can_view_reporting": true,
"can_view_updates": true,
"is_engage_available": true,
"is_marketing_suite_available": true,
"my_assigned_estimates_notification": [],
"notify_about_estimate_status_change_in_progress": [
1
],
"notify_about_estimate_status_change_pending": [],
"notify_about_estimate_status_change_completed": [],
"tm_job_visibility": 1,
"is_able_to_view_project_costing": true,
"team_assigned_estimates_email_notification": true,
"can_view_team_timesheets": true,
"schedule_limitation": "some string",
"schedule_day_limitation": 1,
"is_able_to_see_jobs_assigned_to_other_users": true,
"is_sa_able_view_related_project_data": true,
"is_sa_able_view_related_project_jobs": true,
"is_sa_able_view_related_project_estimates": true,
"is_sa_able_view_related_project_invoices": true,
"is_sa_able_view_related_project_orders": true,
"is_sa_able_view_related_project_files": true,
"is_sa_able_to_create_jobs_assigned_to_himself": true,
"is_able_to_create_subtasks_on_assigned_jobs": true,
"is_able_to_edit_other_user_subtasks": true,
"can_see_subtasks_assigned_to_others": true,
"is_able_to_see_estimates_invoices_created_by_other_users": true,
"sa_able_create_ma": true,
"sa_able_see_ma_on_custom_profiles": true,
"sa_able_see_custom_list_page": true,
"sa_can_leave_customer_portal_comment": true
}
'import requests
url = "https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/users/{id}"
payload = {
"phone": "+12345678",
"notes": "some string",
"hourly_billing_rate": 1,
"hourly_cost_rate": 1,
"eligible_for_commission": True,
"tags": [1],
"member_of_teams": [1],
"manager_of_teams": [1],
"avatar_color": "#ff0000",
"commission_method": "some string",
"default_commission_type": 1,
"default_commission_percent": "some string",
"invoicing_enabled": True,
"invoice_list_permission": 1,
"invoice_lock_setting": "some string",
"lock_estimate_upon_conversion": True,
"can_create_cardpointe_payment": True,
"can_refund_cardpointe_payment": True,
"commission_access": "some string",
"can_view_customer_list": True,
"view_customer_list_mode": "some string",
"can_open_customer_profiles": True,
"customer_contact_details_limitation": "some string",
"is_able_to_view_customer_contact_info": True,
"is_able_to_view_to_contact_customer_from_mobile_app": True,
"customer_communication_permission": 1,
"timesheets_enabled": True,
"can_approve_timesheet_geofence_discrepancy": True,
"is_able_to_view_job_costing": True,
"is_pricebook_enabled": True,
"pricebook_show_li_in_groupings": True,
"is_item_list_visible": True,
"is_able_to_view_item_unit_cost": True,
"is_able_to_view_item_unit_price": True,
"is_able_to_create_item_template": True,
"is_able_to_add_line_items": True,
"can_view_orders": True,
"orders_visibility": "some string",
"orders_functionality": "some string",
"order_send_order": True,
"is_material_list_enabled": True,
"can_create_material_list": True,
"can_update_material_list": True,
"material_list_view_mode": "some string",
"is_maintenance_agreement_enabled": True,
"can_create_maintenance_agreement": True,
"can_update_maintenance_agreement": True,
"maintenance_agreement_list_visibility": "some string",
"is_recurring_billing_enabled": True,
"asset_visibility": "some string",
"can_view_leads": True,
"can_view_reporting": True,
"can_view_updates": True,
"is_engage_available": True,
"is_marketing_suite_available": True,
"my_assigned_estimates_notification": [],
"notify_about_estimate_status_change_in_progress": [1],
"notify_about_estimate_status_change_pending": [],
"notify_about_estimate_status_change_completed": [],
"tm_job_visibility": 1,
"is_able_to_view_project_costing": True,
"team_assigned_estimates_email_notification": True,
"can_view_team_timesheets": True,
"schedule_limitation": "some string",
"schedule_day_limitation": 1,
"is_able_to_see_jobs_assigned_to_other_users": True,
"is_sa_able_view_related_project_data": True,
"is_sa_able_view_related_project_jobs": True,
"is_sa_able_view_related_project_estimates": True,
"is_sa_able_view_related_project_invoices": True,
"is_sa_able_view_related_project_orders": True,
"is_sa_able_view_related_project_files": True,
"is_sa_able_to_create_jobs_assigned_to_himself": True,
"is_able_to_create_subtasks_on_assigned_jobs": True,
"is_able_to_edit_other_user_subtasks": True,
"can_see_subtasks_assigned_to_others": True,
"is_able_to_see_estimates_invoices_created_by_other_users": True,
"sa_able_create_ma": True,
"sa_able_see_ma_on_custom_profiles": True,
"sa_able_see_custom_list_page": True,
"sa_can_leave_customer_portal_comment": True
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
phone: '+12345678',
notes: 'some string',
hourly_billing_rate: 1,
hourly_cost_rate: 1,
eligible_for_commission: true,
tags: [1],
member_of_teams: [1],
manager_of_teams: [1],
avatar_color: '#ff0000',
commission_method: 'some string',
default_commission_type: 1,
default_commission_percent: 'some string',
invoicing_enabled: true,
invoice_list_permission: 1,
invoice_lock_setting: 'some string',
lock_estimate_upon_conversion: true,
can_create_cardpointe_payment: true,
can_refund_cardpointe_payment: true,
commission_access: 'some string',
can_view_customer_list: true,
view_customer_list_mode: 'some string',
can_open_customer_profiles: true,
customer_contact_details_limitation: 'some string',
is_able_to_view_customer_contact_info: true,
is_able_to_view_to_contact_customer_from_mobile_app: true,
customer_communication_permission: 1,
timesheets_enabled: true,
can_approve_timesheet_geofence_discrepancy: true,
is_able_to_view_job_costing: true,
is_pricebook_enabled: true,
pricebook_show_li_in_groupings: true,
is_item_list_visible: true,
is_able_to_view_item_unit_cost: true,
is_able_to_view_item_unit_price: true,
is_able_to_create_item_template: true,
is_able_to_add_line_items: true,
can_view_orders: true,
orders_visibility: 'some string',
orders_functionality: 'some string',
order_send_order: true,
is_material_list_enabled: true,
can_create_material_list: true,
can_update_material_list: true,
material_list_view_mode: 'some string',
is_maintenance_agreement_enabled: true,
can_create_maintenance_agreement: true,
can_update_maintenance_agreement: true,
maintenance_agreement_list_visibility: 'some string',
is_recurring_billing_enabled: true,
asset_visibility: 'some string',
can_view_leads: true,
can_view_reporting: true,
can_view_updates: true,
is_engage_available: true,
is_marketing_suite_available: true,
my_assigned_estimates_notification: [],
notify_about_estimate_status_change_in_progress: [1],
notify_about_estimate_status_change_pending: [],
notify_about_estimate_status_change_completed: [],
tm_job_visibility: 1,
is_able_to_view_project_costing: true,
team_assigned_estimates_email_notification: true,
can_view_team_timesheets: true,
schedule_limitation: 'some string',
schedule_day_limitation: 1,
is_able_to_see_jobs_assigned_to_other_users: true,
is_sa_able_view_related_project_data: true,
is_sa_able_view_related_project_jobs: true,
is_sa_able_view_related_project_estimates: true,
is_sa_able_view_related_project_invoices: true,
is_sa_able_view_related_project_orders: true,
is_sa_able_view_related_project_files: true,
is_sa_able_to_create_jobs_assigned_to_himself: true,
is_able_to_create_subtasks_on_assigned_jobs: true,
is_able_to_edit_other_user_subtasks: true,
can_see_subtasks_assigned_to_others: true,
is_able_to_see_estimates_invoices_created_by_other_users: true,
sa_able_create_ma: true,
sa_able_see_ma_on_custom_profiles: true,
sa_able_see_custom_list_page: true,
sa_can_leave_customer_portal_comment: true
})
};
fetch('https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/users/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": "api_access_disabled",
"message": "API access is no longer enabled for this account. Contact CSM."
}{
"error": true,
"errors": [
"error message",
"error message"
]
}{
"message": "Unauthorized"
}{
"message": "Request URL or object not found"
}{
"message": "Internal Server Error"
}Users
Update user by ID
Update a job
PUT
/
users
/
{id}
Update user by ID
curl --request PUT \
--url https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/users/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"phone": "+12345678",
"notes": "some string",
"hourly_billing_rate": 1,
"hourly_cost_rate": 1,
"eligible_for_commission": true,
"tags": [
1
],
"member_of_teams": [
1
],
"manager_of_teams": [
1
],
"avatar_color": "#ff0000",
"commission_method": "some string",
"default_commission_type": 1,
"default_commission_percent": "some string",
"invoicing_enabled": true,
"invoice_list_permission": 1,
"invoice_lock_setting": "some string",
"lock_estimate_upon_conversion": true,
"can_create_cardpointe_payment": true,
"can_refund_cardpointe_payment": true,
"commission_access": "some string",
"can_view_customer_list": true,
"view_customer_list_mode": "some string",
"can_open_customer_profiles": true,
"customer_contact_details_limitation": "some string",
"is_able_to_view_customer_contact_info": true,
"is_able_to_view_to_contact_customer_from_mobile_app": true,
"customer_communication_permission": 1,
"timesheets_enabled": true,
"can_approve_timesheet_geofence_discrepancy": true,
"is_able_to_view_job_costing": true,
"is_pricebook_enabled": true,
"pricebook_show_li_in_groupings": true,
"is_item_list_visible": true,
"is_able_to_view_item_unit_cost": true,
"is_able_to_view_item_unit_price": true,
"is_able_to_create_item_template": true,
"is_able_to_add_line_items": true,
"can_view_orders": true,
"orders_visibility": "some string",
"orders_functionality": "some string",
"order_send_order": true,
"is_material_list_enabled": true,
"can_create_material_list": true,
"can_update_material_list": true,
"material_list_view_mode": "some string",
"is_maintenance_agreement_enabled": true,
"can_create_maintenance_agreement": true,
"can_update_maintenance_agreement": true,
"maintenance_agreement_list_visibility": "some string",
"is_recurring_billing_enabled": true,
"asset_visibility": "some string",
"can_view_leads": true,
"can_view_reporting": true,
"can_view_updates": true,
"is_engage_available": true,
"is_marketing_suite_available": true,
"my_assigned_estimates_notification": [],
"notify_about_estimate_status_change_in_progress": [
1
],
"notify_about_estimate_status_change_pending": [],
"notify_about_estimate_status_change_completed": [],
"tm_job_visibility": 1,
"is_able_to_view_project_costing": true,
"team_assigned_estimates_email_notification": true,
"can_view_team_timesheets": true,
"schedule_limitation": "some string",
"schedule_day_limitation": 1,
"is_able_to_see_jobs_assigned_to_other_users": true,
"is_sa_able_view_related_project_data": true,
"is_sa_able_view_related_project_jobs": true,
"is_sa_able_view_related_project_estimates": true,
"is_sa_able_view_related_project_invoices": true,
"is_sa_able_view_related_project_orders": true,
"is_sa_able_view_related_project_files": true,
"is_sa_able_to_create_jobs_assigned_to_himself": true,
"is_able_to_create_subtasks_on_assigned_jobs": true,
"is_able_to_edit_other_user_subtasks": true,
"can_see_subtasks_assigned_to_others": true,
"is_able_to_see_estimates_invoices_created_by_other_users": true,
"sa_able_create_ma": true,
"sa_able_see_ma_on_custom_profiles": true,
"sa_able_see_custom_list_page": true,
"sa_can_leave_customer_portal_comment": true
}
'import requests
url = "https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/users/{id}"
payload = {
"phone": "+12345678",
"notes": "some string",
"hourly_billing_rate": 1,
"hourly_cost_rate": 1,
"eligible_for_commission": True,
"tags": [1],
"member_of_teams": [1],
"manager_of_teams": [1],
"avatar_color": "#ff0000",
"commission_method": "some string",
"default_commission_type": 1,
"default_commission_percent": "some string",
"invoicing_enabled": True,
"invoice_list_permission": 1,
"invoice_lock_setting": "some string",
"lock_estimate_upon_conversion": True,
"can_create_cardpointe_payment": True,
"can_refund_cardpointe_payment": True,
"commission_access": "some string",
"can_view_customer_list": True,
"view_customer_list_mode": "some string",
"can_open_customer_profiles": True,
"customer_contact_details_limitation": "some string",
"is_able_to_view_customer_contact_info": True,
"is_able_to_view_to_contact_customer_from_mobile_app": True,
"customer_communication_permission": 1,
"timesheets_enabled": True,
"can_approve_timesheet_geofence_discrepancy": True,
"is_able_to_view_job_costing": True,
"is_pricebook_enabled": True,
"pricebook_show_li_in_groupings": True,
"is_item_list_visible": True,
"is_able_to_view_item_unit_cost": True,
"is_able_to_view_item_unit_price": True,
"is_able_to_create_item_template": True,
"is_able_to_add_line_items": True,
"can_view_orders": True,
"orders_visibility": "some string",
"orders_functionality": "some string",
"order_send_order": True,
"is_material_list_enabled": True,
"can_create_material_list": True,
"can_update_material_list": True,
"material_list_view_mode": "some string",
"is_maintenance_agreement_enabled": True,
"can_create_maintenance_agreement": True,
"can_update_maintenance_agreement": True,
"maintenance_agreement_list_visibility": "some string",
"is_recurring_billing_enabled": True,
"asset_visibility": "some string",
"can_view_leads": True,
"can_view_reporting": True,
"can_view_updates": True,
"is_engage_available": True,
"is_marketing_suite_available": True,
"my_assigned_estimates_notification": [],
"notify_about_estimate_status_change_in_progress": [1],
"notify_about_estimate_status_change_pending": [],
"notify_about_estimate_status_change_completed": [],
"tm_job_visibility": 1,
"is_able_to_view_project_costing": True,
"team_assigned_estimates_email_notification": True,
"can_view_team_timesheets": True,
"schedule_limitation": "some string",
"schedule_day_limitation": 1,
"is_able_to_see_jobs_assigned_to_other_users": True,
"is_sa_able_view_related_project_data": True,
"is_sa_able_view_related_project_jobs": True,
"is_sa_able_view_related_project_estimates": True,
"is_sa_able_view_related_project_invoices": True,
"is_sa_able_view_related_project_orders": True,
"is_sa_able_view_related_project_files": True,
"is_sa_able_to_create_jobs_assigned_to_himself": True,
"is_able_to_create_subtasks_on_assigned_jobs": True,
"is_able_to_edit_other_user_subtasks": True,
"can_see_subtasks_assigned_to_others": True,
"is_able_to_see_estimates_invoices_created_by_other_users": True,
"sa_able_create_ma": True,
"sa_able_see_ma_on_custom_profiles": True,
"sa_able_see_custom_list_page": True,
"sa_can_leave_customer_portal_comment": True
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
phone: '+12345678',
notes: 'some string',
hourly_billing_rate: 1,
hourly_cost_rate: 1,
eligible_for_commission: true,
tags: [1],
member_of_teams: [1],
manager_of_teams: [1],
avatar_color: '#ff0000',
commission_method: 'some string',
default_commission_type: 1,
default_commission_percent: 'some string',
invoicing_enabled: true,
invoice_list_permission: 1,
invoice_lock_setting: 'some string',
lock_estimate_upon_conversion: true,
can_create_cardpointe_payment: true,
can_refund_cardpointe_payment: true,
commission_access: 'some string',
can_view_customer_list: true,
view_customer_list_mode: 'some string',
can_open_customer_profiles: true,
customer_contact_details_limitation: 'some string',
is_able_to_view_customer_contact_info: true,
is_able_to_view_to_contact_customer_from_mobile_app: true,
customer_communication_permission: 1,
timesheets_enabled: true,
can_approve_timesheet_geofence_discrepancy: true,
is_able_to_view_job_costing: true,
is_pricebook_enabled: true,
pricebook_show_li_in_groupings: true,
is_item_list_visible: true,
is_able_to_view_item_unit_cost: true,
is_able_to_view_item_unit_price: true,
is_able_to_create_item_template: true,
is_able_to_add_line_items: true,
can_view_orders: true,
orders_visibility: 'some string',
orders_functionality: 'some string',
order_send_order: true,
is_material_list_enabled: true,
can_create_material_list: true,
can_update_material_list: true,
material_list_view_mode: 'some string',
is_maintenance_agreement_enabled: true,
can_create_maintenance_agreement: true,
can_update_maintenance_agreement: true,
maintenance_agreement_list_visibility: 'some string',
is_recurring_billing_enabled: true,
asset_visibility: 'some string',
can_view_leads: true,
can_view_reporting: true,
can_view_updates: true,
is_engage_available: true,
is_marketing_suite_available: true,
my_assigned_estimates_notification: [],
notify_about_estimate_status_change_in_progress: [1],
notify_about_estimate_status_change_pending: [],
notify_about_estimate_status_change_completed: [],
tm_job_visibility: 1,
is_able_to_view_project_costing: true,
team_assigned_estimates_email_notification: true,
can_view_team_timesheets: true,
schedule_limitation: 'some string',
schedule_day_limitation: 1,
is_able_to_see_jobs_assigned_to_other_users: true,
is_sa_able_view_related_project_data: true,
is_sa_able_view_related_project_jobs: true,
is_sa_able_view_related_project_estimates: true,
is_sa_able_view_related_project_invoices: true,
is_sa_able_view_related_project_orders: true,
is_sa_able_view_related_project_files: true,
is_sa_able_to_create_jobs_assigned_to_himself: true,
is_able_to_create_subtasks_on_assigned_jobs: true,
is_able_to_edit_other_user_subtasks: true,
can_see_subtasks_assigned_to_others: true,
is_able_to_see_estimates_invoices_created_by_other_users: true,
sa_able_create_ma: true,
sa_able_see_ma_on_custom_profiles: true,
sa_able_see_custom_list_page: true,
sa_can_leave_customer_portal_comment: true
})
};
fetch('https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/users/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": "api_access_disabled",
"message": "API access is no longer enabled for this account. Contact CSM."
}{
"error": true,
"errors": [
"error message",
"error message"
]
}{
"message": "Unauthorized"
}{
"message": "Request URL or object not found"
}{
"message": "Internal Server Error"
}Body raw (json)
{
"phone" // optional | string | phone:INTERNATIONAL,<company country>
"notes" // optional | string | max:2000
"hourly_billing_rate" // optional | numeric | min:0
"hourly_cost_rate" // optional | numeric | min:0
"eligible_for_commission" // optional | boolean
"tags" // optional | array | array of existing tag ids
"member_of_teams" // optional | array | array of existing team ids
"manager_of_teams" // optional | array | array of existing team ids
"avatar_color" // optional | string | example "#ff0000"
"commission_method" // optional | nullable | string | acceptable values - default,custom
"default_commission_type" // optional | nullable | integer | acceptable values - 0(none), 1(gross revenue), 2(gross margin), 3(flat rate)
"default_commission_percent" // optional | nullable | string |required_if: default_commission_type = 3(flat rate)
"invoicing_enabled" // optional | boolean
"invoice_list_permission" // optional | integer | user that controls which invoices and estimates that user can list | acceptable values - 0(No list), 1(Full list), 2(Only records the user authored)
"invoice_lock_setting" // optional | string | acceptable values - none, finalized, paid
"lock_estimate_upon_conversion" // optional | boolean
"can_create_cardpointe_payment" // optional | boolean
"can_refund_cardpointe_payment" // optional | boolean
"commission_access" // optional | nullable | string | acceptable values - hide, view_only, view_edit
"can_view_customer_list" // optional | boolean
"view_customer_list_mode" // optional | string | acceptable values - all, assigned
"can_open_customer_profiles" // optional | boolean
"customer_contact_details_limitation" // optional | string | acceptable values - none, primary_contact, locations_contacts, all
"is_able_to_view_customer_contact_info" // optional | boolean
"is_able_to_view_to_contact_customer_from_mobile_app" // optional | boolean
"customer_communication_permission" // optional | integer | user that controls which invoices and estimates that user can list | acceptable values - 0(Cannot see any customer communication), 1(can see all customer communication), 2(can see all customer communication)
"timesheets_enabled" // optional | boolean
"can_approve_timesheet_geofence_discrepancy" // optional | boolean
"is_able_to_view_job_costing" // optional | boolean
"is_pricebook_enabled" // optional | boolean
"pricebook_show_li_in_groupings" // optional | boolean
"is_item_list_visible" // optional | boolean
"is_able_to_view_item_unit_cost" // optional | boolean
"is_able_to_view_item_unit_price" // optional | boolean
"is_able_to_create_item_template" // optional | boolean
"is_able_to_add_line_items" // optional | boolean
"can_view_orders" // optional | boolean
"orders_visibility" // optional | nullable | string | acceptable values - all , own
"orders_functionality" // optional | nullable | string | acceptable values - create, create_edit_own, create_edit_all
"order_send_order" // optional | boolean
"is_material_list_enabled" // optional | boolean
"can_create_material_list" // optional | boolean
"can_update_material_list" // optional | boolean
"material_list_view_mode" // optional | nullable | string | acceptable values - all, team, assigned, assigned_or_job, none
"is_maintenance_agreement_enabled" // optional | boolean
"can_create_maintenance_agreement" // optional | boolean
"can_update_maintenance_agreement" // optional | boolean
"maintenance_agreement_list_visibility" // optional | nullable | string | acceptable values - all, author, assigned
"is_recurring_billing_enabled" // optional | boolean
"asset_visibility" // optional | nullable | string | acceptable values - none, view, view_create_edit_assigned, view_create_edit
"can_view_leads" // optional | boolean
"can_view_reporting" // optional | boolean
"can_view_updates" // optional | boolean
"is_engage_available" // optional | boolean
"is_marketing_suite_available" // optional | boolean
"my_assigned_estimates_notification" // optional | array | list of channels that tell a user they were just assigned to a scheduled estimate. An empty array means they are not notified | values - 1(notify via email), 2(notify via push), 3(notify via app)
"notify_about_estimate_status_change_in_progress" // optional | array | list of channels that user wants when a scheduled estimate moves to the In Progress status type. It is array of channel ids. An empty array means that user gets nothing for this change | values - 1(notify via email), 2(notify via push), 3(notify via app)
"notify_about_estimate_status_change_pending" // optional | array | list of channels that user wants when a scheduled estimate moves into the Pending status type. An empty array means they are not notified | values - 1(notify via email), 2(notify via push), 3(notify via app)
"notify_about_estimate_status_change_completed" // optional | array | list of channels that user wants when a scheduled estimate’s status type changes to Completed. An empty array means they are not notified | values - 1(notify via email), 2(notify via push), 3(notify via app)
"tm_job_visibility" // optional | integer | acceptable values - 0(none), 2(assigned), 3(assigned and unassigned)
"is_able_to_view_project_costing" // optional | boolean
"team_assigned_estimates_email_notification" // optional | boolean
"can_view_team_timesheets" // optional | boolean
"schedule_limitation" // optional | nullable | string | acceptable values - none, next_job, by_day
"schedule_day_limitation" // optional | nullable | integer | how many days ahead a Service Agent can see on the schedule when schedule_limitation is by_day | values - null or 0(End of today), 1(End of tomorrow), N(End of the day N days from today)
"is_able_to_see_jobs_assigned_to_other_users" // optional | boolean
"is_sa_able_view_related_project_data" // optional | boolean
"is_sa_able_view_related_project_jobs" // optional | boolean
"is_sa_able_view_related_project_estimates" // optional | boolean
"is_sa_able_view_related_project_invoices" // optional | boolean
"is_sa_able_view_related_project_orders" // optional | boolean
"is_sa_able_view_related_project_files" // optional | boolean
"is_sa_able_to_create_jobs_assigned_to_himself" // optional | boolean
"is_able_to_create_subtasks_on_assigned_jobs" // optional | boolean
"is_able_to_edit_other_user_subtasks" // optional | boolean
"can_see_subtasks_assigned_to_others" // optional | boolean
"is_able_to_see_estimates_invoices_created_by_other_users" // optional | boolean
"sa_able_create_ma" // optional | boolean
"sa_able_see_ma_on_custom_profiles" // optional | boolean
"sa_able_see_custom_list_page" // optional | boolean
"sa_can_leave_customer_portal_comment" // optional | boolean
}
Body
application/json
List of channels that user wants when a scheduled estimate moves to the In Progress status type. It is array of channel ids. An empty array means that user gets nothing for this change. Values - 1(notify via email), 2(notify via push), 3(notify via app).