POST api/WMS/StdCheckNGRecord

Request Information

URI Parameters

None.

Body Parameters

RejectReason
NameDescriptionTypeAdditional information
ReceiveDetailId

integer

None.

RejectReasonId

integer

None.

RejectId

integer

None.

OKQty

decimal number

None.

NGQty

decimal number

None.

UserName

string

None.

Remark

string

None.

productId

integer

None.

supplierId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ReceiveDetailId": 1,
  "RejectReasonId": 2,
  "RejectId": 3,
  "OKQty": 4.0,
  "NGQty": 5.0,
  "UserName": "sample string 6",
  "Remark": "sample string 7",
  "productId": 8,
  "supplierId": 9
}

application/xml, text/xml

Sample:
<RejectReason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AUTOID_API.Models">
  <NGQty>5</NGQty>
  <OKQty>4</OKQty>
  <ReceiveDetailId>1</ReceiveDetailId>
  <RejectId>3</RejectId>
  <RejectReasonId>2</RejectReasonId>
  <Remark>sample string 7</Remark>
  <UserName>sample string 6</UserName>
  <productId>8</productId>
  <supplierId>9</supplierId>
</RejectReason>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

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