Taslak İrsaliyeleri Listeler

Taslak irsaliyeleri listeler.

GET/edespatch/Draft
Query parameters
Response

Taslak irsaliyeleri listeler.

Body
Pageinteger (int32)
PageSizeinteger (int32)
TotalCountnullable integer (int32)
TotalPagesnullable integer (int32)
Contentnullable array of DraftDespatchResponse (object)
Request
const response = await fetch('/edespatch/Draft', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "Content": [
    {
      "UUID": "text",
      "TaxNumber": "text",
      "IssueDate": "2024-11-21T06:38:52.384Z",
      "ReceiverTaxNumber": "text",
      "ReceiverName": "text",
      "DespatchNumber": "text",
      "CreatedDate": "2024-11-21T06:38:52.384Z",
      "ErrorDescription": "text",
      "CurrencyCode": "text",
      "PayableAmount": 0,
      "Alias": "text",
      "DespatchStatusDescription": "text",
      "DespatchProfile": "TEMELIRSALIYE",
      "DespatchType": "MATBUDAN",
      "ReceiverAlias": "text",
      "IsPrint": false,
      "Tags": [
        {
          "UUID": "text",
          "Description": "text",
          "Name": "text",
          "Color": "text"
        }
      ],
      "SpecialCode": "text"
    }
  ]
}

var client = new RestClient("https://apitest.nilvera.com/edespatch/Draft");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);