Muhasebeciyi Günceller

Muhasebeci bilgileri düzenlenir.

put
Authorizations
Body
accountantobjectoptional

Responses
curl -L \
  --request PUT \
  --url '/eledger/Accountants' \
  --header 'Authorization: Bearer JWT' \
  --header 'Content-Type: application/json-patch+json' \
  --data '{
    "accountant": {
      "ID": 1,
      "Name": "text",
      "BuildingNumber": "text",
      "Street": "text",
      "City": "text",
      "Country": "text",
      "PostalCode": "text",
      "Phone": "text",
      "Fax": "text",
      "Email": "text",
      "ContractDate": "2025-04-04T03:44:40.232Z",
      "AccountantType": "text",
      "ContractNumber": "text"
    }
  }'
true
var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/eledger/Accountants", Method.Put);
request.AddHeader("Content-Type", "application/json-patch+json");
request.AddHeader("Authorization", "Bearer <API KEY>");
var body = @"{
    ""accountant"": {
        ""ID"": 0,
        ""Name"": ""string"",
        ""BuildingNumber"": ""string"",
        ""Street"": ""string"",
        ""City"": ""string"",
        ""Country"": ""string"",
        ""PostalCode"": ""string"",
        ""Phone"": ""string"",
        ""Fax"": ""string"",
        ""Email"": ""string"",
        ""ContractDate"": ""2024-04-02T11:52:17.442Z"",
        ""AccountantType"": ""string"",
        ""ContractNumber"": ""string""
    }
}";
request.AddStringBody(body, DataFormat.Json);
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);