We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Although I set name property of segment I getting null exception.
My code is below:
public void CreateSegment(string segmentName) { Segment newSegment = new() { Name = segmentName }; var filterItem = new FilterExpressions(new Filter(field: "user_tag", relation: Filter.RelationEnum.Equal, value: segmentName)); newSegment.Filters.Add(filterItem); _appInstance.CreateSegments(appId: _appId, segment: newSegment); }
SS attachment
![one_signal_create_segment](https://github.com/OneSignal/onesignal-dotnet-api/assets/105269510/e629b655-aed8-43fd-be58-d9cac4c5b004)
1. Installed RestSharp v108.0.3 2. Installed OneSignal Api v2.0.2
I expected to create new segment
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened?
Although I set name property of segment I getting null exception.
My code is below:
SS attachment
Steps to reproduce?
What did you expect to happen?
I expected to create new segment
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: