POST api/Logistics/InsertLogistics

Request Information

URI Parameters

None.

Body Parameters

GT_Logistics
NameDescriptionTypeAdditional information
id

integer

None.

logisticsCompany

string

None.

address

string

None.

phone

string

None.

landline

string

None.

LogisticsName

string

None.

creater

string

None.

createTime

date

None.

updater

string

None.

updateTimes

date

None.

isContract

integer

None.

capacity

integer

None.

orderType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "logisticsCompany": "sample string 1",
  "address": "sample string 2",
  "phone": "sample string 3",
  "landline": "sample string 4",
  "LogisticsName": "sample string 5",
  "creater": "sample string 6",
  "createTime": "2025-12-12T01:38:33.1187617+08:00",
  "updater": "sample string 7",
  "updateTimes": "2025-12-12T01:38:33.1187617+08:00",
  "isContract": 1,
  "capacity": 1,
  "orderType": 1
}

application/xml, text/xml

Sample:
<GT_Logistics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application_API.Models.Finished">
  <LogisticsName>sample string 5</LogisticsName>
  <address>sample string 2</address>
  <capacity>1</capacity>
  <createTime>2025-12-12T01:38:33.1187617+08:00</createTime>
  <creater>sample string 6</creater>
  <id>1</id>
  <isContract>1</isContract>
  <landline>sample string 4</landline>
  <logisticsCompany>sample string 1</logisticsCompany>
  <orderType>1</orderType>
  <phone>sample string 3</phone>
  <updateTimes>2025-12-12T01:38:33.1187617+08:00</updateTimes>
  <updater>sample string 7</updater>
</GT_Logistics>

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

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>