What are the classes in smartsheet-csharp-sdk for webhook callbacks
Hi there, What are the classes in smartsheet-csharp-sdk for webhook callbacks?
I can see two call backs that will have different classes for callback to the CallbackUrl
- Verification
- Callback Event
But I don't see the classes in the SDK that I should be getting back?
Any ideas or examples of the C# call back process?
P.S. The reason I ask is spinning up debug on this is not easy, you have to build and deploy as the call back will only work on an external IP with a valid Cert, so I cannot easily discover the return object shapes.
Tags:
Answers
-
You may use the following basic property definitions for your convenience:
{ public long? ScopeObjectId { get; set; } public long? WebhookId { get; set; } public List<CallbackEvent> Events { get; set; } public string NewWebhookStatus { get; set; } public string Nonce { get; set; } public string Scope { get; set; } public string Timestamp { get; set; } public string Challenge { get; set; } } public class CallbackEvent { public long? Id { get; set; } public long? ColumnId { get; set; } public long? RowId { get; set; } public long? UserId { get; set; } public string ObjectType { get; set; } public string ChangeAgent { get; set; } public string EventType { get; set; } public string Timestamp { get; set; } }
I hope that these can be of help.
Cheers!
Julio
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives