POST api/ProductionPlanning/AddProductionPlanningFinishedGoodItems

Request Information

URI Parameters

None.

Body Parameters

AddProductionPlanningFinishedGoodItemsPrm
NameDescriptionTypeAdditional information
warehouseId

integer

None.

batchNo

string

None.

productionPlanningMasterId

integer

None.

remarks

string

None.

preStatusId

integer

None.

finishedGoodItems

Collection of FinishedGoodItemsPrm

None.

isSimplePlan

boolean

None.

ginNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "warehouseId": 1,
  "batchNo": "sample string 2",
  "productionPlanningMasterId": 3,
  "remarks": "sample string 4",
  "preStatusId": 5,
  "finishedGoodItems": [
    {
      "poItemDetailId": 1,
      "totalItemQuantity": 2.0,
      "finishedGoodItemMasterId": 3,
      "finishedGoodItemQuantity": 4.0
    },
    {
      "poItemDetailId": 1,
      "totalItemQuantity": 2.0,
      "finishedGoodItemMasterId": 3,
      "finishedGoodItemQuantity": 4.0
    }
  ],
  "isSimplePlan": true,
  "ginNumber": "sample string 7"
}

text/html

Sample:
{"warehouseId":1,"batchNo":"sample string 2","productionPlanningMasterId":3,"remarks":"sample string 4","preStatusId":5,"finishedGoodItems":[{"poItemDetailId":1,"totalItemQuantity":2.0,"finishedGoodItemMasterId":3,"finishedGoodItemQuantity":4.0},{"poItemDetailId":1,"totalItemQuantity":2.0,"finishedGoodItemMasterId":3,"finishedGoodItemQuantity":4.0}],"isSimplePlan":true,"ginNumber":"sample string 7"}

application/xml, text/xml

Sample:
<AddProductionPlanningFinishedGoodItemsPrm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <batchNo>sample string 2</batchNo>
  <finishedGoodItems>
    <FinishedGoodItemsPrm>
      <finishedGoodItemMasterId>3</finishedGoodItemMasterId>
      <finishedGoodItemQuantity>4</finishedGoodItemQuantity>
      <poItemDetailId>1</poItemDetailId>
      <totalItemQuantity>2</totalItemQuantity>
    </FinishedGoodItemsPrm>
    <FinishedGoodItemsPrm>
      <finishedGoodItemMasterId>3</finishedGoodItemMasterId>
      <finishedGoodItemQuantity>4</finishedGoodItemQuantity>
      <poItemDetailId>1</poItemDetailId>
      <totalItemQuantity>2</totalItemQuantity>
    </FinishedGoodItemsPrm>
  </finishedGoodItems>
  <ginNumber>sample string 7</ginNumber>
  <isSimplePlan>true</isSimplePlan>
  <preStatusId>5</preStatusId>
  <productionPlanningMasterId>3</productionPlanningMasterId>
  <remarks>sample string 4</remarks>
  <warehouseId>1</warehouseId>
</AddProductionPlanningFinishedGoodItemsPrm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2025/12/28 05:09:35",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

text/html

Sample:
{"Version":"1.0.0","dateTime":"2025/12/28 05:09:35","StatusCode":1,"ErrorMessage":"sample string 2","Result":{}}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>