POST api/Product/AddProCheckOut

Request Information

URI Parameters

None.

Body Parameters

ProOutViewModel
NameDescriptionTypeAdditional information
FKey

integer

None.

FCompID

integer

None.

FSectionID

integer

None.

FCompName

string

None.

FSectionName

string

None.

FSectionOutID

integer

None.

FSectionOutName

string

None.

FSectionOutType

integer

None.

FSectionInID

integer

None.

FSectionInName

string

None.

FSectionInType

integer

None.

FBillOutDate

date

None.

FBillInDate

date

None.

FPlateNumber

string

None.

FPlateID

integer

None.

FDriverID

integer

None.

FDriverName

string

None.

FEscortID

integer

None.

FEscortName

string

None.

FCustNO

integer

None.

FType

integer

None.

FCreateOptID

integer

None.

FCreateOptName

string

None.

FCreateDate

date

None.

FRemark

string

None.

DetailsList

Collection of ProOutDetailsViewModel

None.

SpecDetailsList

Collection of ProOutSpecDetailsViewModel

None.

FBuyBillSectionID

integer

None.

BuyBillNoList

Collection of BuyBillNoViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "FKey": 1,
  "FCompID": 1,
  "FSectionID": 1,
  "FCompName": "sample string 1",
  "FSectionName": "sample string 2",
  "FSectionOutID": 1,
  "FSectionOutName": "sample string 3",
  "FSectionOutType": 1,
  "FSectionInID": 1,
  "FSectionInName": "sample string 4",
  "FSectionInType": 1,
  "FBillOutDate": "2025-12-06 13:37:37",
  "FBillInDate": "2025-12-06 13:37:37",
  "FPlateNumber": "sample string 5",
  "FPlateID": 1,
  "FDriverID": 1,
  "FDriverName": "sample string 6",
  "FEscortID": 1,
  "FEscortName": "sample string 7",
  "FCustNO": 8,
  "FType": 1,
  "FCreateOptID": 1,
  "FCreateOptName": "sample string 9",
  "FCreateDate": "2025-12-06 13:37:37",
  "FRemark": "sample string 10",
  "DetailsList": [
    {
      "FProNO": "sample string 1",
      "FQtyScanCode": 1,
      "FCount": 1,
      "FBottleType": 1
    },
    {
      "FProNO": "sample string 1",
      "FQtyScanCode": 1,
      "FCount": 1,
      "FBottleType": 1
    }
  ],
  "SpecDetailsList": [
    {
      "FBarCode": "sample string 1",
      "FAbnormal": 2,
      "FScanCode": 3
    },
    {
      "FBarCode": "sample string 1",
      "FAbnormal": 2,
      "FScanCode": 3
    }
  ],
  "FBuyBillSectionID": 1,
  "BuyBillNoList": [
    {
      "FBuyBillNo": "sample string 1"
    },
    {
      "FBuyBillNo": "sample string 1"
    }
  ]
}

application/xml, text/xml

Sample:
<ProOutViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel">
  <BuyBillNoList>
    <BuyBillNoViewModel>
      <FBuyBillNo>sample string 1</FBuyBillNo>
    </BuyBillNoViewModel>
    <BuyBillNoViewModel>
      <FBuyBillNo>sample string 1</FBuyBillNo>
    </BuyBillNoViewModel>
  </BuyBillNoList>
  <DetailsList>
    <ProOutDetailsViewModel>
      <FBottleType>1</FBottleType>
      <FCount>1</FCount>
      <FProNO>sample string 1</FProNO>
      <FQtyScanCode>1</FQtyScanCode>
    </ProOutDetailsViewModel>
    <ProOutDetailsViewModel>
      <FBottleType>1</FBottleType>
      <FCount>1</FCount>
      <FProNO>sample string 1</FProNO>
      <FQtyScanCode>1</FQtyScanCode>
    </ProOutDetailsViewModel>
  </DetailsList>
  <FBillInDate>2025-12-06T13:37:37.7654961+08:00</FBillInDate>
  <FBillOutDate>2025-12-06T13:37:37.7654961+08:00</FBillOutDate>
  <FBuyBillSectionID>1</FBuyBillSectionID>
  <FCompID>1</FCompID>
  <FCompName>sample string 1</FCompName>
  <FCreateDate>2025-12-06T13:37:37.7654961+08:00</FCreateDate>
  <FCreateOptID>1</FCreateOptID>
  <FCreateOptName>sample string 9</FCreateOptName>
  <FCustNO>8</FCustNO>
  <FDriverID>1</FDriverID>
  <FDriverName>sample string 6</FDriverName>
  <FEscortID>1</FEscortID>
  <FEscortName>sample string 7</FEscortName>
  <FKey>1</FKey>
  <FPlateID>1</FPlateID>
  <FPlateNumber>sample string 5</FPlateNumber>
  <FRemark>sample string 10</FRemark>
  <FSectionID>1</FSectionID>
  <FSectionInID>1</FSectionInID>
  <FSectionInName>sample string 4</FSectionInName>
  <FSectionInType>1</FSectionInType>
  <FSectionName>sample string 2</FSectionName>
  <FSectionOutID>1</FSectionOutID>
  <FSectionOutName>sample string 3</FSectionOutName>
  <FSectionOutType>1</FSectionOutType>
  <FType>1</FType>
  <SpecDetailsList>
    <ProOutSpecDetailsViewModel>
      <FAbnormal>2</FAbnormal>
      <FBarCode>sample string 1</FBarCode>
      <FScanCode>3</FScanCode>
    </ProOutSpecDetailsViewModel>
    <ProOutSpecDetailsViewModel>
      <FAbnormal>2</FAbnormal>
      <FBarCode>sample string 1</FBarCode>
      <FScanCode>3</FScanCode>
    </ProOutSpecDetailsViewModel>
  </SpecDetailsList>
</ProOutViewModel>

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>