POST ops/logistics/deliveries

Request Information

URI Parameters

None.

Body Parameters

TransportOffload
NameDescriptionTypeAdditional information
Coordinates

Coordinates

None.

DeliveryNote

string

None.

DepotId

integer

None.

Logs

Collection of TransportLog

None.

Submitted

date

None.

TrailerId

integer

None.

TruckId

integer

None.

UserName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "coordinates": null,
  "deliveryNote": "sample string 1",
  "depotId": 2,
  "logs": [
    {
      "logNo": "sample string 1"
    },
    {
      "logNo": "sample string 1"
    }
  ],
  "submitted": "2024-10-11T10:13:44.502506+02:00",
  "trailerId": 4,
  "truckId": 5,
  "userName": "sample string 6"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'MTO.Coordinates' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'MTO.Coordinates' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

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 'TransportOffload'.

Response Information

Resource Description

None.