{"id":45431589,"url":"https://github.com/kleinrotti/idoitsharp","last_synced_at":"2026-02-22T02:01:20.531Z","repository":{"id":62216495,"uuid":"363656247","full_name":"Kleinrotti/IdoitSharp","owner":"Kleinrotti","description":"i-doit API C# library","archived":false,"fork":false,"pushed_at":"2022-10-30T20:50:02.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-24T05:21:57.066Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kleinrotti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-02T13:21:49.000Z","updated_at":"2022-09-01T18:25:38.000Z","dependencies_parsed_at":"2023-01-23T04:01:26.991Z","dependency_job_id":null,"html_url":"https://github.com/Kleinrotti/IdoitSharp","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Kleinrotti/IdoitSharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kleinrotti%2FIdoitSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kleinrotti%2FIdoitSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kleinrotti%2FIdoitSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kleinrotti%2FIdoitSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kleinrotti","download_url":"https://codeload.github.com/Kleinrotti/IdoitSharp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kleinrotti%2FIdoitSharp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29703254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T23:35:04.139Z","status":"online","status_checked_at":"2026-02-22T02:00:08.193Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-22T02:00:55.787Z","updated_at":"2026-02-22T02:01:20.518Z","avatar_url":"https://github.com/Kleinrotti.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IdoitSharp\n\nMake your i-doit API calls in C#\n\n[![NuGet package](https://img.shields.io/nuget/v/IdoitSharp)](https://www.nuget.org/packages/IdoitSharp)\n\n## Project Details\n\nThe lib `IdoitSharp` is going to make your work faster and more efficient, especially in the work relating to Visual studio.\nYou will be able to open a user session, which will help you to save resources on the server side and will \nadditionally allow to perform more calls in a shorter time frame. \n\nBy using the request and response HTTP headers, the lib `IdoitSharp` will help you to search for objects and \nfurthermore to get the current version of i-doit.\n\nRelating to objects, this library will help you to search for them as well as\n`create`, `delete`, `archive`, `purge`, `update` and `read` objects and `read` object types.\n\nIn addition you will be able to `create`, `delete`, `archive`, `purge`, `update` and `read` \nmulti-value categories and single-value categories.\n\n## Requirements \n\nThe following requirements are necessary before installing or using the `IdoitSharp` lib.\n\n- A running instance of [i-doit](https://www.i-doit.com/en/i-doit/trial-version/) pro or open, version 1.15 or higher\n- i-doit [API add-on](https://www.i-doit.com/en/i-doit/add-ons/api-add-on/), version 1.11.0 or higher\n- Visual Studio 2019\n- .NET 5\n\n## Available types and methods\n| Namespace                      | Remote Procedure Call (RPC)           | Class in API Client Library           | Method                                               |\n| ------------------------------ | ------------------------------------- | ------------------------------------- | ---------------------------------------------------- |\n|`IdoitSharp`                    | `idoit.login`                         | `IdoitClient`                         | `Login()`                                            |\n|                                | `idoit.logout`                        |                                       | `Logout()`                                           |\n|`IdoitSharp.Idoit`              | `idoit.constants`                     | `IdoitConstantsInstance`              | `ReadGlobalCategories()`, `ReadSpecificCategories()` |\n|                                |                                       |                                       | `ReadObjectTypes()`, `ReadRecordStates()`            |\n|                                |                                       |                                       | `ReadRelationTypes()`, `ReadStaticObjects()`         |\n|                                | `idoit.search`                        | `IdoitInstance`                       | `Search()`                                           |\n|                                | `idoit.version`                       |                                       | `Version()`                                          |\n|`IdoitSharp.CMDB.Object`        | `cmdb.object.create`                  | `IdoitObjectInstance`                 | `Create()`                                           |\n|                                | `cmdb.object.read`                    |                                       | `Read()`                                             |\n|                                | `cmdb.object.update`                  |                                       | `Update()`                                           |\n|                                | `cmdb.object.archive`                 |                                       | `Archive()`                                          |\n|                                | `cmdb.object.delete`                  |                                       | `Delete()`                                           |\n|                                | `cmdb.object.purge`                   |                                       | `Purge()`                                            |\n|`IdoitSharp.CMDB.Objects`       | `cmdb.objects.read`                   | `IdoitObjectsInstance`                | `Read()`                                             |\n|`IdoitSharp.CMDB.Category`      | `cmdb.category.delete`                | `IdoitMvcInstance`                    | `Delete()`                                           |\n|                                | `cmdb.category.read`                  | `IdoitMvcInstance`, `IdoitSvcInstance`| `Read()`                                             |\n|                                | `cmdb.category.update`                |                                       | `Update()`                                           |\n|                                | `cmdb.category.archive`               |                                       | `Archive()`                                          |\n|                                | `cmdb.category.create`                |                                       | `Create()`                                           |\n|                                | `cmdb.category.purge`                 |                                       | `Purge()`                                            |\n| `IdoitSharp.CMDB.Dialog`       | `cmdb.dialog.create`                  | `IdoitDialogInstance`                 | `Create()`                                           |\n|                                | `cmdb.dialog.read`                    |                                       | `Read()`                                             |\n|                                | `cmdb.dialog.delete`                  |                                       | `Delete()`                                           |\n|                                | `cmdb.dialog.update`                  |                                       | `Update()`                                           |\n| `IdoitSharp.CMDB.Logbook`      | `cmdb.logbook.create`                 | `IdoitLogbookInstance`                | `Create()`                                           |\n|                                | `cmdb.logbook.read`                   |                                       | `Read()`                                             |\n| `IdoitSharp.CMDB.Reports`      | `cmdb.reports.read`                   | `IdoitReportsInstance`                | `Read()`                                             |\n| `IdoitSharp.CMDB.Impact`       | `cmdb.impact.read`                    | `IdoitImpactInstance`                 | `Read()`                                             |\n\n## A simple example\n\n```cs\nusing IdoitSharp.Idoit;\nusing IdoitSharp;\n\nnamespace ConsoleApp\n{\n    class Program\n    {\n        static void Main(string[] args)\n        {\n            var idoitClient = new IdoitClient(\"URL\", \"APIKEY\", \"EN\")\n            {\n                Username = \"admin\",\n                Password = \"admin\"\n            };\n            var login = idoitClient.Login(); //Not needed, but usefull if you wan't to keep a session open instead of using new ones\n            var idoit = new IdoitInstance(idoitClient);\n            var idoitVersion = idoit.Version();\n            Console.WriteLine(\"The  currently i-doit version is: \" + \"'\"+ idoitVersion.version +\"'\");\n            Console.WriteLine(\"The currently i-doit type is: \" + \"'\" + idoitVersion.type + \"'\" );\n            var logout = idoitClient.Logout();\n        }\n    }\n}\n```\n## Documentation\n \n If you want to see more examples, click on the following links\n\n- Under [idoit](docs/idoit.md) you can search for objects, \n  it is possible to login or logout and it shows you the currently version of  your i-doit.\n\n- Under [cmdb](docs/cmdb/README.md) you can easily work with the objects, object types, categories and\n  dialog fields.\n\n\n## License\nOriginally a fork from https://github.com/OKT90/Idoit.API.Client\n\n[MIT license](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkleinrotti%2Fidoitsharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkleinrotti%2Fidoitsharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkleinrotti%2Fidoitsharp/lists"}