.NET client: ItemService.AddNewItem(AppId, newItem) does not fire webhook
AnsweredWe have an item.create webhook registered. It fires ok when new item is added via email to app, but when item is added via the .net client it does not.
I've tried to explicitly set hook = true when calling AddNewItem, like this: ItemService.AddNewItem(AppId, newItem, false, true), but without any luck.
Any thoughts?
-
Hi,
I have tested this now with the following code, and inspected the hook url with ngrok
Code:
var newItem = new Item();
var textFieldExternalId = ConfigurationManager.AppSettings["fieldName"];
var textItemField = newItem.Field<TextItemField>(textFieldExternalId);
textItemField.Value = "This is a test";
podioClient.ItemService.AddNewItem(9886486, newItem);
Nrok inspection result: http://goo.gl/R4BhHs
Ps: I have several Podio integration's built on .NET library with this kind of workflow, those are working good as well.
Please sign in to leave a comment.
Comments
2 comments