Etiket Oluşturur

Etiket oluşturur.

post

/edespatch/Tags

Authorizations
Body
Namestring | nullable
Descriptionstring | nullable
Colorstring | nullable
Responses
curl -L \
  --request POST \
  --url '/edespatch/Tags' \
  --header 'Authorization: Bearer JWT' \
  --header 'Content-Type: application/json-patch+json' \
  --data '{
    "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("/edespatch/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