PUT api/Logistics/getAllTruck?type={type}&deliveryPlanId={deliveryPlanId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

boolean

Required

deliveryPlanId

integer

Required

Body Parameters

mGetAllTruck
NameDescriptionTypeAdditional information
deliveryDate

date

None.

toDate

date

None.

truckTypeIds

Collection of mTypeId

None.

Request Formats

application/json, text/json

Sample:
{
  "deliveryDate": "2026-04-07T18:08:57.7045637+07:00",
  "toDate": "2026-04-07T18:08:57.7045637+07:00",
  "truckTypeIds": [
    {
      "truckTypeId": 1
    },
    {
      "truckTypeId": 1
    }
  ]
}

application/xml, text/xml

Sample:
<mGetAllTruck xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Logistics">
  <deliveryDate>2026-04-07T18:08:57.7045637+07:00</deliveryDate>
  <toDate>2026-04-07T18:08:57.7045637+07:00</toDate>
  <truckTypeIds>
    <mTypeId>
      <truckTypeId>1</truckTypeId>
    </mTypeId>
    <mTypeId>
      <truckTypeId>1</truckTypeId>
    </mTypeId>
  </truckTypeIds>
</mGetAllTruck>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'mGetAllTruck'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.