POST api/Release/Prepare_For_POLine

Request Information

URI Parameters

None.

Body Parameters

PP_C
NameDescriptionTypeAdditional information
BinNum

string

None.

PrepareQty

integer

None.

LotNum

string

None.

PackNum

string

None.

FileIndex

string

None.

PP_B_Id

integer

None.

Date

date

None.

HandlerName

string

None.

Id

integer

None.

sqlTransaction

SqlTransaction

None.

Request Formats

application/json, text/json

Sample:
{
  "sqlTransaction": null,
  "BinNum": "sample string 1",
  "PrepareQty": 2,
  "LotNum": "sample string 3",
  "PackNum": "sample string 4",
  "FileIndex": "sample string 5",
  "PP_B_Id": 6,
  "Date": "2026-04-03T17:40:52.9393062+08:00",
  "HandlerName": "sample string 8",
  "Id": 9
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: 无法序列化类型“System.Data.SqlClient.SqlTransaction”。请考虑将其标以 DataContractAttribute 特性,并将其所有要序列化的成员标以 DataMemberAttribute 特性。如果类型为集合,则请考虑将其标以 CollectionDataContractAttribute 特性。有关其他受支持的类型,请参见 Microsoft .NET Framework 文档。

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: 无法序列化类型“System.Data.SqlClient.SqlTransaction”。请考虑将其标以 DataContractAttribute 特性,并将其所有要序列化的成员标以 DataMemberAttribute 特性。如果类型为集合,则请考虑将其标以 CollectionDataContractAttribute 特性。有关其他受支持的类型,请参见 Microsoft .NET Framework 文档。

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>