AndrewPla / TOPdeskPS

PowerShell module to interact with the TOPdesk API
MIT License
30 stars 12 forks source link

Add -CategoryId parameter for New-TdIncident #117

Open jefutte opened 3 years ago

jefutte commented 3 years ago

Is your feature request related to a problem? Please describe. Yes. When using special characters in Category name, New-TdIncident ignores the category. Specifically, I'm trying to use a category of name "Overvågning" - if I change this to any other category not containg "å" it works.

Describe the solution you'd like Switch to using Category ID, or make it possible to use either of them.

Examples of how the solution would work Add -CategoryId as a parameter

Describe alternatives you've considered I've changed category name, but it shouldn't be necessary.

Additional context I'll try to look into your code and fix this myself, and do a PR.