Etiket Günceller

Etiket günceller.

put
Authorizations
Body
UUIDstring · uuidOptional
Namestring · max: 20Required
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 options = new RestClientOptions("//einsurance/Tags")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("", Method.Put);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Accept", "application/json");
request.AddHeader("Authorization", "Bearer {{bearerToken}}");
var body = @"{" + "\n" +
@"  ""Name"": ""<string>""," + "\n" +
@"  ""UUID"": ""<uuid>""," + "\n" +
@"  ""Description"": ""<string>""," + "\n" +
@"  ""Color"": ""<string>""" + "\n" +
@"}";
request.AddStringBody(body, DataFormat.Json);
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);

Last updated