Etiket Oluşturur

Etiket oluşturur.

post
Authorizations
Body
Namestring | nullableOptional
Descriptionstring | nullableOptional
Colorstring | nullableOptional
Responses
200
Etiket oluşturur.
application/json
post
POST /eproducer/Tags HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 51

{
  "Name": "text",
  "Description": "text",
  "Color": "text"
}
{
  "UUID": "text",
  "Description": "text",
  "Name": "text",
  "Color": "text"
}
var options = new RestClientOptions("https://apitest.nilvera.com")
{
    MaxTimeout = -1,
};

var client = new RestClient(options);
var request = new RestRequest("/eproducer/Tags", Method.Post);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer APIKEY");

var body = new
{
    Name = "string",
    Description = "string",
    Color = "string"
};

request.AddJsonBody(body);
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);

Last updated