【发布时间】:2022-09-30 01:58:12
【问题描述】:
我正在尝试使用 Tooling REST API 激活流程。 Documentation indicates that this is possible。
但是当我尝试这样做时,我在 http 响应正文中收到此错误:
\"message\": \"You must provide a valid Metadata field for InteractionDefinitionVersion\",
\"errorCode\": \"REQUIRED_FIELD_MISSING\",
\"fields\": []
这是我的卷曲请求:
curl --location --request PATCH \'https://XXX.my.salesforce.com/services/data/v55.0/tooling/sobjects/Flow/3015Y000000YJ7pQAG\' \\
--header \'Content-Type: application/json\' \\
--header \'Authorization: Bearer XXX\' \\
--data-raw \'{
\"Status\": \"Active\"
}\'
标签: rest salesforce