POST api/WMS/StdCheckOKRecord

Request Information

URI Parameters

None.

Body Parameters

CheckSheet
NameDescriptionTypeAdditional information
ReceiveDetailId

integer

None.

RejectList

Collection of RejectReason

None.

OrderQty

decimal number

None.

RecQty

decimal number

None.

CheckQty

decimal number

None.

OKQty

decimal number

None.

NGQty

decimal number

None.

UserName

string

None.

UploadImage

UploadImageModel

None.

Request Formats

application/json, text/json

Sample:
{
  "ReceiveDetailId": 1,
  "RejectList": [
    {
      "ReceiveDetailId": 1,
      "RejectReasonId": 2,
      "RejectId": 3,
      "OKQty": 4.0,
      "NGQty": 5.0,
      "UserName": "sample string 6",
      "Remark": "sample string 7",
      "productId": 8,
      "supplierId": 9
    },
    {
      "ReceiveDetailId": 1,
      "RejectReasonId": 2,
      "RejectId": 3,
      "OKQty": 4.0,
      "NGQty": 5.0,
      "UserName": "sample string 6",
      "Remark": "sample string 7",
      "productId": 8,
      "supplierId": 9
    }
  ],
  "OrderQty": 2.0,
  "RecQty": 3.0,
  "CheckQty": 4.0,
  "OKQty": 5.0,
  "NGQty": 6.0,
  "UserName": "sample string 7",
  "UploadImage": {
    "DSNo": "sample string 1",
    "POLine": "sample string 2",
    "ReceieveDetailId": 3,
    "ImageData": "sample string 4",
    "PhotoType": "sample string 5",
    "RejectReasonId": 6,
    "RejectId": 7,
    "NGTranId": 8
  }
}

application/xml, text/xml

Sample:
<CheckSheet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AUTOID_API.Models">
  <CheckQty>4</CheckQty>
  <NGQty>6</NGQty>
  <OKQty>5</OKQty>
  <OrderQty>2</OrderQty>
  <RecQty>3</RecQty>
  <ReceiveDetailId>1</ReceiveDetailId>
  <RejectList>
    <RejectReason>
      <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>
    <RejectReason>
      <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>
  </RejectList>
  <UploadImage>
    <DSNo>sample string 1</DSNo>
    <ImageData>sample string 4</ImageData>
    <NGTranId>8</NGTranId>
    <POLine>sample string 2</POLine>
    <PhotoType>sample string 5</PhotoType>
    <ReceieveDetailId>3</ReceieveDetailId>
    <RejectId>7</RejectId>
    <RejectReasonId>6</RejectReasonId>
  </UploadImage>
  <UserName>sample string 7</UserName>
</CheckSheet>

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

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>