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
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives