Sends the Despatch as a Model

Last updated

post
POST /edespatch/Send/Model HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 1884

{
  "EDespatch": {
    "DespatchInfo": {
      "UUID": "c39679d6-ec73-45b9-a6bb-7b1be3b3846c",
      "IssueDate": "2025-04-28T13:51:59.4926091+03:00",
      "TemplateBase64String": null,
      "TemplateUUID": "e5fdb690-4c43-42fd-a3a8-a75f5ecfdaba",
      "ActualDespatchDateTime": "2025-04-28T13:51:59.4926095+03:00",
      "PayableAmount": 0,
      "CurrencyCode": "TRY",
      "DespatchType": "SEVK",
      "DespatchProfile": "TEMELIRSALIYE",
      "DespatchSerieOrNumber": "IRS",
      "MatbuIssueDate": null,
      "MatbuNumber": 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
      }
    ],
    "ShipmentDetail": {
      "ShipmentInfo": {
        "DriverPerson": null,
        "LicensePlateID": "00 AAA 000"
      },
      "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": "f149a6de-5e1f-467d-9a26-cc6b5b30270a",
  "DespatchNumber": "IRS2025000000001"
}