Zammad.Client
Zammad.Client copied to clipboard
Zammad Client Library for .NET
Fixes #47 zammad offers the `organization_ids` property which contains the IDs of the secondary organizations. ```json { "id": 1463, "organization_id": 1058 /* Test-Organization-One */, "login": "[email protected]", "firstname": "Necati", "lastname": "Meral",...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 11.0.2 to 13.0.1. Release notes Sourced from Newtonsoft.Json's releases. 13.0.1 New feature - Add JsonSelectSettings with configuration for a regex timeout Change - Remove portable assemblies from...
Hi everyone, zammad now supports secondary organizations (https://admin-docs.zammad.org/en/latest/manage/users/index.html#reference-guide-user-details). I think this should be supported by this library. I'm willing to offer a PR implementing this change.
TagClient.cs public Task AddTagAsync(string objectName, int objectId, string tagName) { return GetAsync("/api/v1/tags/add", $"object={objectName}&o_id={objectId}&item={tagName}"); } public Task RemoveTagAsync(string objectName, int objectId, string tagName) { return GetAsync("/api/v1/tags/remove", $"object={objectName}&o_id={objectId}&item={tagName}"); } Change to: public...
My code looks like: ``` var userClient = _account.CreateUserClient(); var ticketClient = _account.CreateTicketClient(); var user = await userClient.CreateUserAsync(new User { Login = dto.Username, FirstName = dto.Username, Active = true });...
For query like "state: new OR state: open" a query builder could be implemented. https://docs.zammad.org/en/latest/general-search.html
https://docs.zammad.org/en/latest/api-user_access_token.html