【发布时间】:2017-08-08 11:26:47
【问题描述】:
我正在尝试使用 REST API 从我的 SugarCRM 帐户获取通话记录,而我正在使用 Python。 我想获取所有与会者,但我得到的只是分配呼叫的用户。
u'assigned_user_id': u'xxxxxxxx',
我收到的回复是,
{u'created_by_link': {u'id': u'1', u'full_name': u'adminx', u'_acl': {u'fields': {u'last_login': {u' write': u'no', u'create': u'no'}, u'pwd_last_changed': {u'write': u'no', u'create': u'no'}}, u'_hash ': u'xxxx', u'delete': u'no'}}, u'dri_workflow_task_template_link': {u'_acl': {u'fields': [], u'_hash': u'xxxx'}, u'name': u'', u'id': u''},
u'customer_journey_points':10,
u'dri_subworkflow_id': u'',
u'recurrence_id': u'',
u'created_by_name': u'adminx',
u'date_end': u'2018-05-02T09:45:00+00:00',
u'dri_subworkflow_template_id': u'',
u'parent_type': u'Accounts',
u'contact_id': u'xxxx',
u'_acl': {u'fields': {}},
u'duration_minutes':30,
你的标签':[],
u'assigned_user_name': u'xxxx',
u'repeat_ordinal': u'',
u'repeat_count':无,
u'contact_name': u'xxxx',
u'repeat_interval': 1, u'id': u'xxxx', > - u'parent_name': u'ABC',
u'customer_journey_parent_activity_id': u'',
u'date_entered': u'2017-07-17T12:49:23+00:00',
u'outlook_id': u'',
u'team_name': [{u'name_2': u'', u'selected': False, u'primary': True, u'id': u'1', u'name': u' Global'}, {u'name_2': u'', u'selected': False, u'primary': False, u'id': u'West', u'name': u'West'}],
u'contacts': {u'_acl': {u'fields': [], u'_hash': u'xxxx'}, u'name': u'xxx', u'id': u 'xxx'},
u'dri_workflow_task_template_id': u'',
u'customer_journey_score':无,
u'date_start': u'2018-05-02T09:15:00+00:00',
u'reminder_checked': u'',
u'dri_workflow_sort_order': u'1',
u'created_by': u'1',
u'parent_id': u'xxxx',
u'dri_subworkflow_template_link': {u'_acl': {u'fields': [], u'_hash': u'xxxx'}, u'name': u'', u'id': u' '},
u'dri_subworkflow_name': u'',
u'dri_subworkflow_link': {u'_acl': {u'fields': [], u'_hash': u'xxxx'}, u'name': u'', u'id': u' '},
u'modified_by_name': u'adminx',
u'repeat_selector': u'',
你的email_reminder_sent':假,
u'dri_workflow_template_id': u'',
u'status': u'Not Held',
u'方向':u'出站',
u'accept_status_users': u'',
u'repeat_dow': u'',
u'描述': u'',
u'parent': {u'type': u'Accounts', u'_acl': {u'fields': [], u'_hash': u'xxxx'}, u'name': u 'XYZ Funding Inc', u'id': u'xxxx'},
u'repeat_unit': u'',
你'删除':假,
你'is_customer_journey_parent_activity':假,
u'customer_journey_parent_activity_type': u'',
u'locked_fields': [],
u'email_reminder_time':-1,
你'以下':假,
u'assigned_user_link': {u'id': u'xxxx', u'full_name': u'xxxx', u'_acl': {u'fields': [], u'_hash': u' xxxx'}},
u'repeat_type': u'',
你'assigned_user_id':你'seed_sally_id',
u'team_count_link': {u'team_count': u'', u'id': u'1', u'_acl': {u'fields': [], u'_hash': u'xxxx '}},
u'dri_workflow_task_template_name': u'',
u'modified_user_link': {u'id': u'1', u'full_name': u'adminx', u'_acl': {u'fields': {u'last_login': {u'write ': u'no', u'create': u'no'}, u'pwd_last_changed': {u'write': u'no', u'create': u'no'}}, u'_hash' : u'xxx', u'delete': u'no'}},
u'email_reminder_checked': u'',
u'_module': u'Calls',
u'modified_user_id': u'1',
u'repeat_until': u'',
u'name': u'test',
u'date_modified': u'2017-07-17T12:49:23+00:00',
u'accept_status': u'',
你的提醒时间':-1,
u'customer_journey_progress': 0,
u'dri_workflow_template_name': u'',
u'my_favorite': 假,
u'dri_subworkflow_template_name': u'',
u'dri_workflow_template_link': {u'_acl': {u'fields': [], u'_hash': u'xxx'}, u'name': u'', u'id': u' '}, > - u'set_accept_links': u'',
u'repeat_days': u'',
你'is_customer_journey_activity':假,
u'repeat_parent_id': u'',
u'team_count': u'',
u'duration_hours':0,
u'recurring_source': u''},
【问题讨论】: