CalculateRollupField Dynamics WebAPI

CalculateRollupField Dynamics WebAPI

我正在尝试从 for . I can't seem to find many examples of the implementation and my attempt at following the documentation 调用 CalculateRollupField WebAPI 调用抛出错误:

The request URI is not valid. The segment 'CalculateRollupField' cannot include key predicates, however it may end with empty parenthesis

WebAPI 调用

https://crm.com/api/data/v8.0/CalculateRollupField(ccseq_contracts(FFA8E06D-30AD-E711-80E8-005056B33317), ccseq_totalamount)

我需要调整什么才能使此 WebAPI 调用正常工作?

正确的url如下

https://crm.com/api/data/v8.0/CalculateRollupField(Target=@tid,FieldName=@field)?@tid={'@odata.id':'ccseq_contracts(3047FD4D-CCC3-E711-80E9-005056B33317)'}&@field='ccseq_totalamount'