Serinin Detayını Getirir

Serinin detayını getirir.

GET/ebill/Series/{id}
Path parameters
id*integer (int32)
Response

Serinin detayını getirir.

Body
IDinteger (int32)
Namenullable string
IsDefaultboolean
IsActiveboolean
CreatedDatestring (date-time)
Detailsnullable array of SerieDetailResponse (object)
Request
const response = await fetch('/ebill/Series/{id}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "Name": "text",
  "IsDefault": false,
  "IsActive": false,
  "CreatedDate": "2024-06-21T17:03:43.538Z",
  "Details": [
    {
      "Year": "text",
      "LastIssueDate": "2024-06-21T17:03:43.538Z"
    }
  ]
}
var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/ebill/Series/1540", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);