POST api/shipping/transaction

Request Information

URI Parameters

None.

Body Parameters

ShippingTransactionCreateDTO
NameDescriptionTypeAdditional information
ShippingId

integer

None.

TotalFreightCharge

decimal number

None.

BLNo

string

None.

ClientCode

string

None.

TransactionDate

date

None.

IsDebit

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ShippingId": 1,
  "TotalFreightCharge": 2.0,
  "BLNo": "sample string 3",
  "ClientCode": "sample string 4",
  "TransactionDate": "2025-01-10T09:47:44.49318+08:00",
  "IsDebit": true
}

application/xml, text/xml

Sample:
<ShippingTransactionCreateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VLIServices.Models.DTO">
  <BLNo>sample string 3</BLNo>
  <ClientCode>sample string 4</ClientCode>
  <IsDebit>true</IsDebit>
  <ShippingId>1</ShippingId>
  <TotalFreightCharge>2</TotalFreightCharge>
  <TransactionDate>2025-01-10T09:47:44.49318+08:00</TransactionDate>
</ShippingTransactionCreateDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.