Я пытаюсь удалить Обязательные и Необязательные стороны из Встречи, используя Dynamics 365 Web API.Я пытался удалить объект "Activityparties", но не повезло.
Запрос:
DELETE https://xxxxxx.crm.dynamics.com/api/data/v8.2/appointments(EE4C7268-81B7-E811-8143-3863BB368D98)/activitypointer_activity_parties_required(79ea68eb-4304-e911-8147-3863bb2eb450)
Ответ: 400 Плохой запрос
{
"error": {
"code": "",
"message": "Request message has unresolved parameters.",
"innererror": {
"message": "Request message has unresolved parameters.",
"type": "Microsoft.Crm.CrmHttpException",
"stacktrace": " at Microsoft.Crm.Extensibility.OData.CrmODataRoutingConvention.SelectAction(ODataPath odataPath, HttpControllerContext controllerContext, ILookup`2 actionMap)\r\n at System.Web.OData.Routing.ODataActionSelector.SelectAction(HttpControllerContext controllerContext)\r\n at System.Web.Http.ApiController.ExecuteAsync(HttpControllerContext controllerContext, CancellationToken cancellationToken)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()"
}
}
}