POST api/Haji_Dispatch_Challan/Post

Request Information

URI Parameters

None.

Body Parameters

HAJI_DISPATCH_CHALLAN_Composite_Model
NameDescriptionTypeAdditional information
Header

HAJI_DISPATCH_CHALLAN_Model

None.

Details

Collection of HAJI_DISPATCH_CHALLAN_DETAILS_Model

None.

Request Formats

application/json, text/json

Sample:
{
  "Header": {
    "company_id": 1,
    "year": 2,
    "bo": "sample string 3",
    "slip_no": 4,
    "lr_no": "sample string 5",
    "lr_type": "sample string 6",
    "dispatch_date": "2026-11-08T02:59:12.0822962-08:00",
    "invoice_no": 8,
    "loading_date": "2026-11-08T02:59:12.0822962-08:00",
    "driver_id": 10,
    "owner_name": "sample string 11",
    "from_location": "sample string 12",
    "to_location": "sample string 13",
    "export_to": "sample string 14",
    "delivered_at": "sample string 15",
    "private_marks": "sample string 16",
    "lorry_no": "sample string 17",
    "supplier_id": 18,
    "supplier_name": "sample string 19",
    "customer_id": 20,
    "customer_name": "sample string 21",
    "total_quantity": 22,
    "total_weight": 23.0,
    "total_value": 24.0,
    "freight": 25.0,
    "bc": 26.0,
    "handling": 27.0,
    "aoc": 28.0,
    "total": 29.0,
    "ttc": 30.0,
    "grand_total": 31.0,
    "sc": 32.0,
    "ul_hamali": 33.0,
    "d_charge": 34.0,
    "grc": 35.0,
    "demurrage": 36.0,
    "dd": 37.0,
    "total_amount": 38.0,
    "is_foc": true,
    "note": "sample string 40",
    "is_paid": true,
    "cash_memo_no": 1,
    "cash_memo_datetime": "2026-11-08T02:59:12.0822962-08:00",
    "hammal_id": 42,
    "hammal_name": "sample string 43",
    "paid_date": "2026-11-08T02:59:12.0822962-08:00",
    "crossing_invoice_no": 44,
    "crossing_date": "2026-11-08T02:59:12.0822962-08:00",
    "crossing_vehicle_no": "sample string 46",
    "crossing_destination": "sample string 47",
    "crossing_freight": 1.0,
    "cash_memo_created_by": 1,
    "is_deleted": true,
    "added_by": 49,
    "added_at": "2026-11-08T02:59:12.0822962-08:00",
    "edited_by": 50,
    "edited_at": "2026-11-08T02:59:12.0822962-08:00",
    "deleted_by": 51,
    "deleted_at": "2026-11-08T02:59:12.0822962-08:00"
  },
  "Details": [
    {
      "company_id": 1,
      "year": 2,
      "bo": "sample string 3",
      "slip_no": 4,
      "lr_no": "sample string 5",
      "quantity": 6,
      "uom": "sample string 7",
      "product_id": 8,
      "product_name": "sample string 9",
      "rate": 10.0,
      "weight": 11.0,
      "weight_charges": 12.0,
      "total_value": 13.0
    },
    {
      "company_id": 1,
      "year": 2,
      "bo": "sample string 3",
      "slip_no": 4,
      "lr_no": "sample string 5",
      "quantity": 6,
      "uom": "sample string 7",
      "product_id": 8,
      "product_name": "sample string 9",
      "rate": 10.0,
      "weight": 11.0,
      "weight_charges": 12.0,
      "total_value": 13.0
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.