Muhasebeci Oluşturur

Muhasebeci eklenir.

post
Authorizations
Body
Namestring | nullableOptional
BuildingNumberstring | nullableOptional
Streetstring | nullableOptional
Citystring | nullableOptional
Countrystring | nullableOptional
PostalCodestring | nullableOptional
Phonestring | nullableOptional
Faxstring | nullableOptional
Emailstring | nullableOptional
ContractDatestring · date-timeOptional
AccountantTypestring | nullableOptional
ContractNumberstring | nullableOptional
Responses
200
Muhasebeci eklenir.
Responseboolean
post
POST /eledger/Accountants HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 239

{
  "Name": "text",
  "BuildingNumber": "text",
  "Street": "text",
  "City": "text",
  "Country": "text",
  "PostalCode": "text",
  "Phone": "text",
  "Fax": "text",
  "Email": "text",
  "ContractDate": "2025-06-26T04:52:04.369Z",
  "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.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);

Last updated