POST api/Bottle/SetBottleInspectionColor

Request Information

URI Parameters

None.

Body Parameters

SetBottleInspectionColorViewModel
NameDescriptionTypeAdditional information
FLotNumber

string

None.

FColor

integer

None.

FBarCode

Collection of SetBottleInspectionColorBarCodeViewModel

None.

FOptID

integer

None.

FOptName

string

None.

FSpecID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FLotNumber": "sample string 1",
  "FColor": 1,
  "FBarCode": [
    {
      "FBarCode": "sample string 1"
    },
    {
      "FBarCode": "sample string 1"
    }
  ],
  "FOptID": 1,
  "FOptName": "sample string 2",
  "FSpecID": 1
}

application/xml, text/xml

Sample:
<SetBottleInspectionColorViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel">
  <FBarCode>
    <SetBottleInspectionColorBarCodeViewModel>
      <FBarCode>sample string 1</FBarCode>
    </SetBottleInspectionColorBarCodeViewModel>
    <SetBottleInspectionColorBarCodeViewModel>
      <FBarCode>sample string 1</FBarCode>
    </SetBottleInspectionColorBarCodeViewModel>
  </FBarCode>
  <FColor>1</FColor>
  <FLotNumber>sample string 1</FLotNumber>
  <FOptID>1</FOptID>
  <FOptName>sample string 2</FOptName>
  <FSpecID>1</FSpecID>
</SetBottleInspectionColorViewModel>

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>