POST api/FinishedProductManagement/SaveWeightAndLogisticsInfo

Request Information

URI Parameters

None.

Body Parameters

GT_LogisticsInfo
NameDescriptionTypeAdditional information
id

integer

None.

logisticsNo

string

None.

weights

string

None.

logisticsId

integer

None.

agencyName

string

None.

shipmentDate

date

None.

createDate

date

None.

creater

string

None.

updateDate

date

None.

updater

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "logisticsNo": "sample string 1",
  "weights": "sample string 2",
  "logisticsId": 1,
  "agencyName": "sample string 3",
  "shipmentDate": "2025-12-12T01:38:43.0230855+08:00",
  "createDate": "2025-12-12T01:38:43.0230855+08:00",
  "creater": "sample string 4",
  "updateDate": "2025-12-12T01:38:43.0230855+08:00",
  "updater": "sample string 5"
}

application/xml, text/xml

Sample:
<GT_LogisticsInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application_API.Models.Finished">
  <agencyName>sample string 3</agencyName>
  <createDate>2025-12-12T01:38:43.0230855+08:00</createDate>
  <creater>sample string 4</creater>
  <id>1</id>
  <logisticsId>1</logisticsId>
  <logisticsNo>sample string 1</logisticsNo>
  <shipmentDate>2025-12-12T01:38:43.0230855+08:00</shipmentDate>
  <updateDate>2025-12-12T01:38:43.0230855+08:00</updateDate>
  <updater>sample string 5</updater>
  <weights>sample string 2</weights>
</GT_LogisticsInfo>

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

Response Information

Resource Description

ApiResultModel
NameDescriptionTypeAdditional information
Code

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<ApiResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application_API.Models">
  <Code>1</Code>
  <Data />
  <Message>sample string 2</Message>
</ApiResultModel>