Accountant Creates
var options = new RestClientOptions("https://apitest.nilvera.com")
{
MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/eledger/Accountants", Method.Post);
request.AddHeader("Content-Type", "application/json-patch+json");
request.AddHeader("Authorization", "Bearer <API KEY>");
var body = @"{
""Name"": ""string"",
""BuildingNumber"": ""string"",
""Street"": ""string"",
""City"": ""string"",
""Country"": ""string"",
""PostalCode"": ""string"",
""Phone"": ""string"",
""Fax"": ""string"",
""Email"": ""string"",
""ContractDate"": ""2024-04-02T11:46:43.407Z"",
""AccountantType"": ""string"",
""ContractNumber"": ""string""
}";
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);