在 PodioAppField::update 上找不到路径
Path not found on PodioAppField::update
我正在关注文档 https://developers.podio.com/doc/applications
以及来自 SDK 的给定模型。
我正在尝试将新应用添加到现有应用引用中,如下所示:
$attributes = array(
"referenced_apps" => array(ref_app_id1 , ref_app_id2)
);
PodioAppField::update( 123 , 'my_external_id' ,array (
"settings" => $attributes
));
但是会收到如下错误
Uncaught PodioNotFoundError: "No matching operation could be found. The path '/app/123/field/my_external_id' was not found.."
我的 app_id 和 external_id 是正确的。
TIA
它需要 field_id 而不是 external_id。
我正在关注文档 https://developers.podio.com/doc/applications 以及来自 SDK 的给定模型。
我正在尝试将新应用添加到现有应用引用中,如下所示:
$attributes = array(
"referenced_apps" => array(ref_app_id1 , ref_app_id2)
);
PodioAppField::update( 123 , 'my_external_id' ,array (
"settings" => $attributes
));
但是会收到如下错误
Uncaught PodioNotFoundError: "No matching operation could be found. The path '/app/123/field/my_external_id' was not found.."
我的 app_id 和 external_id 是正确的。
TIA
它需要 field_id 而不是 external_id。