因此希望从Source_C提取信息,但只获取字段值
假设我在source_c中的来源是;
字段名称Email_Mass_MailEmail_Direct_EmailMeeting_RequestMeeting_Submit
这些来源的显示名称是;
显示名称Mailchip电子邮件直接电邮电子邮件推荐网站提交
我目前仅返回字段名称值,但我希望显示名称对最终用户更友好。
您应该获取(并可能缓存)该模块的字段列表。
您可以从Api/V8/meta/fields/Accounts
获取-帐户是模块名称。
您将获得所有字段的列表
{
"data": {
"type": "fields",
"attributes": {
"id": {
"type": "id",
"required": true,
"dbType": "id"
},
"name": {
"type": "name",
"dbType": "varchar",
"len": 150,
"required": true
},
不幸的是,enum / multienum存在一个未解决的问题,未在API调用中显示列表。已确认并将其设置为“高优先级”,因此我希望很快得到解决(SuiteCRM很快就会有几个月的时间)https://github.com/salesagility/SuiteCRM/issues/8622