Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

İrsaliyeyi Model Olarak Gönderir

İrsaliyeyi model olarak gönderir.

post

İrsaliyeyi model olarak göndermek için bu uç kullanılır.

Authorizations
HTTPRequired

API anahtar� giriniz

Body
CustomerAliasstring · nullableOptional
Responses
200

İrsaliyeyi model olarak gönderir.

UUIDstring · nullableOptional
DespatchNumberstring · nullableOptional
post/Send/Model
POST /edespatch/Send/Model HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 1924

{
  "EDespatch": {
    "DespatchInfo": {
      "UUID": "6dc4870c-1f0d-4f2e-b1c5-e33549fcc7b0",
      "IssueDate": "2026-11-14T15:37:51.0629147+03:00",
      "TemplateBase64String": null,
      "TemplateUUID": "60d04a45-dd8e-401e-ac69-74712efbe31a",
      "ActualDespatchDateTime": "2026-11-14T15:37:51.0629151+03:00",
      "PayableAmount": 0,
      "CurrencyCode": "TRY",
      "DespatchType": "SEVK",
      "DespatchProfile": "TEMELIRSALIYE",
      "DespatchSerieOrNumber": "IRS",
      "MatbuIssueDate": null,
      "MatbuNumber": null,
      "ShipmentNumber": null
    },
    "DespatchSupplierInfo": null,
    "DeliveryCustomerInfo": {
      "PartyIdentifications": null,
      "Address": "Papatya Caddesi Yasemin Sokak No21",
      "District": "Melikgazi",
      "City": "Kayseri",
      "PostalCode": "38038",
      "Country": "Türkiye",
      "TaxOffice": null,
      "TaxNumber": "1288331521",
      "Name": "AAA Anonim Şirketi",
      "Phone": null,
      "Email": null,
      "Fax": null,
      "WebSite": null
    },
    "BuyerCustomerInfo": null,
    "SellerSupplierInfo": null,
    "OriginatorCustomerInfo": null,
    "Notes": null,
    "DespatchLines": [
      {
        "DeliveredUnitType": "C62",
        "DeliveredUnitName": "Adet",
        "Name": "Laptop",
        "SellerCode": null,
        "BuyerCode": null,
        "Description": null,
        "DeliveredQuantity": 1,
        "QuantityPrice": 0,
        "LineTotal": 0,
        "AdditionalItemIdentification": null,
        "OutstandingQuantity": 0,
        "OutstandingUnitType": null,
        "OutstandingUnitName": null,
        "OutstandingReason": null,
        "ManufacturerCode": null,
        "BrandName": null,
        "ModelName": null,
        "LabelNumbers": null
      }
    ],
    "ShipmentDetail": {
      "ShipmentInfo": {
        "DriverPerson": null,
        "LicensePlateID": "38AAA038"
      },
      "Delivery": {
        "AddressInfo": {
          "Address": "Teslimat Adresi",
          "District": "Melikgazi",
          "City": "Kayseri",
          "Country": "Türkiye",
          "PostalCode": "38038",
          "Phone": null,
          "Fax": null,
          "Mail": null,
          "WebSite": null
        },
        "CarrierInfo": {
          "Address": "carrier address",
          "District": "Melikgazi",
          "City": "Kayseri",
          "PostalCode": "38038",
          "Country": "Türkiye",
          "TaxNumber": "1288331521",
          "Phone": null,
          "TaxOffice": null,
          "Name": "AAA Anonim Şirket",
          "Email": null,
          "WebSite": null,
          "Fax": null
        }
      },
      "TransportEquipment": null
    },
    "AdditionalDocumentReference": null,
    "OrderReference": null
  },
  "CustomerAlias": null
}
{
  "UUID": "7aa2635c-bcbb-4494-b03c-f5b0814761eb",
  "DespatchNumber": "IRS2026000000001"
}
var options = new RestClientOptions("https://apitest.nilvera.com")
{
    MaxTimeout = -1,
};

var client = new RestClient(options);
var request = new RestRequest("/edespatch/Send/Model", Method.Post);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "APIKEY");

var body = new
{
    EDespatch = new
    {
        DespatchInfo = new
        {
            UUID = "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            IssueDate = "2024-01-01T00:00:00",
            TemplateBase64String = "string",
            TemplateUUID = "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            ActualDespatchDateTime = "2024-01-01T00:00:00",
            PayableAmount = 0,
            CurrencyCode = "string",
            DespatchType = "MATBUDAN",
            DespatchProfile = "TEMELIRSALIYE",
            DespatchSerieOrNumber = "string",
            MatbuIssueDate = "2024-01-01T00:00:00",
            MatbuNumber = "string",
            ShipmentNumber = "string"
        },
        DespatchSupplierInfo = new
        {
            PartyIdentifications = new[]
            {
                new
                {
                    SchemeID = "string",
                    Value = "string"
                }
            },
            WebSite = "string",
            Address = "string",
            District = "string",
            City = "string",
            PostalCode = "string",
            Country = "string",
            TaxOffice = "string",
            Phone = "string",
            Email = "string",
            Fax = "string",
            TaxNumber = "string",
            Name = "string"
        },
        DeliveryCustomerInfo = new
        {
            PartyIdentifications = new[]
            {
                new
                {
                    SchemeID = "string",
                    Value = "string"
                }
            },
            Address = "string",
            District = "string",
            City = "string",
            PostalCode = "string",
            Country = "string",
            TaxOffice = "string",
            TaxNumber = "string",
            Name = "string",
            Phone = "string",
            Email = "string",
            Fax = "string",
            WebSite = "string"
        },
        BuyerCustomerInfo = new
        {
            Address = "string",
            District = "string",
            City = "string",
            PostalCode = "string",
            Country = "string",
            TaxOffice = "string",
            Phone = "string",
            Email = "string",
            Fax = "string",
            TaxNumber = "string",
            Name = "string",
            WebSite = "string"
        },
        SellerSupplierInfo = new
        {
            Address = "string",
            District = "string",
            City = "string",
            PostalCode = "string",
            Country = "string",
            TaxOffice = "string",
            Phone = "string",
            Email = "string",
            Fax = "string",
            TaxNumber = "string",
            Name = "string",
            WebSite = "string"
        },
        OriginatorCustomerInfo = new
        {
            Address = "string",
            District = "string",
            City = "string",
            PostalCode = "string",
            Country = "string",
            TaxOffice = "string",
            Phone = "string",
            Email = "string",
            Fax = "string",
            TaxNumber = "string",
            Name = "string",
            WebSite = "string"
        },
        Notes = new[] { "string" },
        DespatchLines = new[]
        {
            new
            {
                DeliveredUnitType = "string",
                DeliveredUnitName = "string",
                Name = "string",
                SellerCode = "string",
                BuyerCode = "string",
                Description = "string",
                DeliveredQuantity = 0,
                QuantityPrice = 0,
                LineTotal = 0,
                AdditionalItemIdentification = "string",
                OutstandingQuantity = 0,
                OutstandingUnitType = "string",
                OutstandingUnitName = "string",
                OutstandingReason = "string",
                ManufacturerCode = "string",
                BrandName = "string",
                ModelName = "string",
                LabelNumbers = new[] { "string" }
            }
        },
        ShipmentDetail = new
        {
            ShipmentInfo = new
            {
                DriverPerson = new[]
                {
                    new
                    {
                        FirstName = "string",
                        LastName = "string",
                        TaxNumber = "string"
                    }
                },
                LicensePlateID = "string"
            },
            Delivery = new
            {
                AddressInfo = new
                {
                    Address = "string",
                    District = "string",
                    City = "string",
                    Country = "string",
                    PostalCode = "string",
                    Phone = "string",
                    Fax = "string",
                    Mail = "string",
                    WebSite = "string"
                },
                CarrierInfo = new
                {
                    Address = "string",
                    District = "string",
                    City = "string",
                    PostalCode = "string",
                    Country = "string",
                    TaxNumber = "string",
                    Phone = "string",
                    TaxOffice = "string",
                    Name = "string",
                    Email = "string",
                    WebSite = "string",
                    Fax = "string"
                }
            },
            TransportEquipment = new[] { "string" }
        },
        AdditionalDocumentReference = new[]
        {
            new
            {
                ID = "string",
                IssueDate = "2024-01-01T00:00:00",
                DocumentType = "string",
                DocumentTypeCode = "string",
                DocumentDescription = "string",
                Attachment = new
                {
                    Base64Data = "string",
                    MimeCode = "string",
                    FileName = "string"
                }
            }
        },
        OrderReference = new
        {
            ID = "string",
            IssueDate = "2024-01-01T00:00:00",
            DocumentReference = new
            {
                ID = "string",
                IssueDate = "2024-01-01T00:00:00",
                DocumentType = "string",
                DocumentTypeCode = "string",
                DocumentDescription = "string",
                Attachment = new
                {
                    Base64Data = "string",
                    MimeCode = "string",
                    FileName = "string"
                }
            }
        }
    },
    CustomerAlias = "string"
};

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

Last updated