Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webhook Callback Classes to be made public #28

Open
JSanz-A opened this issue Apr 12, 2023 · 0 comments
Open

Webhook Callback Classes to be made public #28

JSanz-A opened this issue Apr 12, 2023 · 0 comments

Comments

@JSanz-A
Copy link

JSanz-A commented Apr 12, 2023

User requested on a post in Community (https://community.smartsheet.com/discussion/95340/what-are-the-classes-in-smartsheet-csharp-sdk-for-webhook-callbacks#latest) for these to be made public for clarification. Bobby Dick suggested on this post in Slack (https://smartsheet.slack.com/archives/C5T888SPP/p1663838571827249) to share the following:

public class WebhookCallback
{
public long? ScopeObjectId { get; set; }
public long? WebhookId { get; set; }
public List 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; }
}

Raising this as an issue as suggested by Iain McDonald on that same post in Slack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant