POST api/ProductStock/AddCheckProducts

Request Information

URI Parameters

None.

Body Parameters

ProductCheckViewModel
NameDescriptionTypeAdditional information
FCompID

integer

None.

FCompName

string

None.

FSectionID

integer

None.

FSectionName

string

None.

FSectionInID

integer

None.

FSectionInName

string

None.

FRemark

string

None.

FCheckOptID

integer

None.

FCheckOptName

string

None.

FCreaterOptID

integer

None.

FCreaterOptName

string

None.

FCreaterDate

date

None.

FCustodianOptID

integer

None.

FCustodianOptName

string

None.

FIP

string

None.

FLatitude

string

None.

FLongitude

string

None.

FDeviceID

string

None.

FDeviceType

integer

None.

DetailedList

Collection of ProductCheckDetailedViewModel

None.

DetailedSpecList

Collection of ProductCheckSpecDetailedViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "FCompID": 1,
  "FCompName": "sample string 1",
  "FSectionID": 1,
  "FSectionName": "sample string 2",
  "FSectionInID": 1,
  "FSectionInName": "sample string 3",
  "FRemark": "sample string 4",
  "FCheckOptID": 1,
  "FCheckOptName": "sample string 5",
  "FCreaterOptID": 1,
  "FCreaterOptName": "sample string 6",
  "FCreaterDate": "2025-12-06 13:45:50",
  "FCustodianOptID": 1,
  "FCustodianOptName": "sample string 7",
  "FIP": "sample string 8",
  "FLatitude": "sample string 9",
  "FLongitude": "sample string 10",
  "FDeviceID": "sample string 11",
  "FDeviceType": 1,
  "DetailedList": [
    {
      "FProNO": "sample string 1",
      "FBottleType": 1,
      "FCheckInventory": 1
    },
    {
      "FProNO": "sample string 1",
      "FBottleType": 1,
      "FCheckInventory": 1
    }
  ],
  "DetailedSpecList": [
    {
      "FBarCode": "sample string 1",
      "FScanCode": 1,
      "FAbnormal": 2
    },
    {
      "FBarCode": "sample string 1",
      "FScanCode": 1,
      "FAbnormal": 2
    }
  ]
}

application/xml, text/xml

Sample:
<ProductCheckViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel">
  <DetailedList>
    <ProductCheckDetailedViewModel>
      <FBottleType>1</FBottleType>
      <FCheckInventory>1</FCheckInventory>
      <FProNO>sample string 1</FProNO>
    </ProductCheckDetailedViewModel>
    <ProductCheckDetailedViewModel>
      <FBottleType>1</FBottleType>
      <FCheckInventory>1</FCheckInventory>
      <FProNO>sample string 1</FProNO>
    </ProductCheckDetailedViewModel>
  </DetailedList>
  <DetailedSpecList>
    <ProductCheckSpecDetailedViewModel>
      <FAbnormal>2</FAbnormal>
      <FBarCode>sample string 1</FBarCode>
      <FScanCode>1</FScanCode>
    </ProductCheckSpecDetailedViewModel>
    <ProductCheckSpecDetailedViewModel>
      <FAbnormal>2</FAbnormal>
      <FBarCode>sample string 1</FBarCode>
      <FScanCode>1</FScanCode>
    </ProductCheckSpecDetailedViewModel>
  </DetailedSpecList>
  <FCheckOptID>1</FCheckOptID>
  <FCheckOptName>sample string 5</FCheckOptName>
  <FCompID>1</FCompID>
  <FCompName>sample string 1</FCompName>
  <FCreaterDate>2025-12-06T13:45:50.5162968+08:00</FCreaterDate>
  <FCreaterOptID>1</FCreaterOptID>
  <FCreaterOptName>sample string 6</FCreaterOptName>
  <FCustodianOptID>1</FCustodianOptID>
  <FCustodianOptName>sample string 7</FCustodianOptName>
  <FDeviceID>sample string 11</FDeviceID>
  <FDeviceType>1</FDeviceType>
  <FIP>sample string 8</FIP>
  <FLatitude>sample string 9</FLatitude>
  <FLongitude>sample string 10</FLongitude>
  <FRemark>sample string 4</FRemark>
  <FSectionID>1</FSectionID>
  <FSectionInID>1</FSectionInID>
  <FSectionInName>sample string 3</FSectionInName>
  <FSectionName>sample string 2</FSectionName>
</ProductCheckViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageModelOfInt32
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

Msg

string

None.

Response

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 200,
  "Success": true,
  "Msg": "sample string 3",
  "Response": 4
}

application/xml, text/xml

Sample:
<MessageModelOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity">
  <Msg>sample string 3</Msg>
  <Response>4</Response>
  <Status>200</Status>
  <Success>true</Success>
</MessageModelOfint>