Şablonu Günceller

Etiket günceller.

put
Authorizations
Body
UUIDstring · uuidOptional
Namestring | nullableOptional
Descriptionstring | nullableOptional
Colorstring | nullableOptional
Responses
200
Etiket günceller.
application/json
Responseboolean
put
PUT /einvoice/Tags HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 97

{
  "UUID": "123e4567-e89b-12d3-a456-426614174000",
  "Name": "text",
  "Description": "text",
  "Color": "text"
}
true
var client = new RestClient("https://apitest.nilvera.com/einvoice/Templates");
client.Timeout = -1;
var request = new RestRequest(Method.PUT);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AddHeader("Content-Type", "application/json");
var body = @"{
"ID": 0,
"Name": "string",
"IsActive": true,
"IsDefault": true,
"Base64String": "string"}";
request.AddParameter("application/json", body,  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Last updated