Serinin Detayını Getirir

Serinin detayını getirir.

GET/einvoice/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('/einvoice/Series/{id}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "Name": "text",
  "IsDefault": false,
  "IsActive": false,
  "CreatedDate": "2024-07-23T15:54:50.185Z",
  "Details": [
    {
      "Year": "text",
      "LastIssueDate": "2024-07-23T15:54:50.185Z"
    }
  ]
}
var client = new RestClient("https://apitest.nilvera.com/einvoice/Series/63");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);