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

Update subscription api is missing. #76

Open
VinodTarsariya opened this issue Jan 19, 2023 · 0 comments
Open

Update subscription api is missing. #76

VinodTarsariya opened this issue Jan 19, 2023 · 0 comments

Comments

@VinodTarsariya
Copy link

VinodTarsariya commented Jan 19, 2023

I am trying to commit changes to update the subscription API but it is throwing access denied error.

Suggestion: below code can be used for subscription update API.

public Subscription Update(Dictionary<string, object> data)
{
string relativeUrl = GetEntityUrl() + "/" + this["id"];
List<Entity> entities = Request(relativeUrl, HttpMethod.PATCH, data);
return (Subscription)entities[0];
}

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