Yanıt Serisi Oluşturur

Yeni yanıt seri oluşturur.

POST/edespatch/AnswerSeries
Body
Namenullable string
IsActiveboolean
IsDefaultboolean
Response

Yeni yanıt seri oluşturur.

Body
IDinteger (int32)
Namenullable string
IsDefaultboolean
IsActiveboolean
CreatedDatestring (date-time)
Detailsnullable array of SerieDetailResponse (object)
Request
const response = await fetch('/edespatch/AnswerSeries', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json-patch+json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "Name": "text",
  "IsDefault": false,
  "IsActive": false,
  "CreatedDate": "2024-11-21T06:36:16.810Z",
  "Details": [
    {
      "Year": "text",
      "LastIssueDate": "2024-11-21T06:36:16.810Z"
    }
  ]
}
var options = new RestClientOptions("https://apitest.nilvera.com")
{
    MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/edespatch/AnswerSeries", Method.Post);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "APIKEY");

var body = new
{
    Name = "string",
    IsActive = true,
    IsDefault = true
};

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

Last updated