POST api/productions/save

Request Information

URI Parameters

None.

Body Parameters

ProductionDeepData
NameDescriptionTypeAdditional information
ProductionItems

Collection of ProductionItemData

None.

ApplicationBranchOfficeID

integer

None.

Date

date

None.

Shift

string

None.

Status

string

None.

OrderNumber

string

None.

Notes

string

None.

ShiftAsEnum

ProductionShiftEnum

None.

StatusAsEnum

ProductionStatusEnum

None.

ID

integer

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

text/xml

Sample:
<ProductionDeepData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data.Production">
  <ID xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">1</ID>
  <ApplicationBranchOfficeID>1</ApplicationBranchOfficeID>
  <Date>2025-08-02T19:17:21.6738476+00:00</Date>
  <Notes>sample string 4</Notes>
  <OrderNumber>sample string 3</OrderNumber>
  <Shift>MORNING</Shift>
  <ShiftAsEnum>MORNING</ShiftAsEnum>
  <Status>OPEN</Status>
  <StatusAsEnum>OPEN</StatusAsEnum>
  <ProductionItems>
    <ProductionItemData>
      <ID xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">1</ID>
      <ExpirationDate>2025-08-02T19:17:21.6738476+00:00</ExpirationDate>
      <FailurefulQuantity>3</FailurefulQuantity>
      <Lote>sample string 4</Lote>
      <ProductionID>1</ProductionID>
      <StockInHandID>1</StockInHandID>
      <StockInHandQuantity>1</StockInHandQuantity>
      <SuccessfulQuantity>2</SuccessfulQuantity>
      <TransactionableID>1</TransactionableID>
      <TransactionableName>sample string 5</TransactionableName>
      <Type>sample string 1</Type>
    </ProductionItemData>
    <ProductionItemData>
      <ID xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">1</ID>
      <ExpirationDate>2025-08-02T19:17:21.6738476+00:00</ExpirationDate>
      <FailurefulQuantity>3</FailurefulQuantity>
      <Lote>sample string 4</Lote>
      <ProductionID>1</ProductionID>
      <StockInHandID>1</StockInHandID>
      <StockInHandQuantity>1</StockInHandQuantity>
      <SuccessfulQuantity>2</SuccessfulQuantity>
      <TransactionableID>1</TransactionableID>
      <TransactionableName>sample string 5</TransactionableName>
      <Type>sample string 1</Type>
    </ProductionItemData>
  </ProductionItems>
</ProductionDeepData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ProductionDeepData
NameDescriptionTypeAdditional information
ProductionItems

Collection of ProductionItemData

None.

ApplicationBranchOfficeID

integer

None.

Date

date

None.

Shift

string

None.

Status

string

None.

OrderNumber

string

None.

Notes

string

None.

ShiftAsEnum

ProductionShiftEnum

None.

StatusAsEnum

ProductionStatusEnum

None.

ID

integer

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

text/xml

Sample:
<ProductionDeepData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data.Production">
  <ID xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">1</ID>
  <ApplicationBranchOfficeID>1</ApplicationBranchOfficeID>
  <Date>2025-08-02T19:17:21.6894629+00:00</Date>
  <Notes>sample string 4</Notes>
  <OrderNumber>sample string 3</OrderNumber>
  <Shift>MORNING</Shift>
  <ShiftAsEnum>MORNING</ShiftAsEnum>
  <Status>OPEN</Status>
  <StatusAsEnum>OPEN</StatusAsEnum>
  <ProductionItems>
    <ProductionItemData>
      <ID xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">1</ID>
      <ExpirationDate>2025-08-02T19:17:21.6894629+00:00</ExpirationDate>
      <FailurefulQuantity>3</FailurefulQuantity>
      <Lote>sample string 4</Lote>
      <ProductionID>1</ProductionID>
      <StockInHandID>1</StockInHandID>
      <StockInHandQuantity>1</StockInHandQuantity>
      <SuccessfulQuantity>2</SuccessfulQuantity>
      <TransactionableID>1</TransactionableID>
      <TransactionableName>sample string 5</TransactionableName>
      <Type>sample string 1</Type>
    </ProductionItemData>
    <ProductionItemData>
      <ID xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">1</ID>
      <ExpirationDate>2025-08-02T19:17:21.6894629+00:00</ExpirationDate>
      <FailurefulQuantity>3</FailurefulQuantity>
      <Lote>sample string 4</Lote>
      <ProductionID>1</ProductionID>
      <StockInHandID>1</StockInHandID>
      <StockInHandQuantity>1</StockInHandQuantity>
      <SuccessfulQuantity>2</SuccessfulQuantity>
      <TransactionableID>1</TransactionableID>
      <TransactionableName>sample string 5</TransactionableName>
      <Type>sample string 1</Type>
    </ProductionItemData>
  </ProductionItems>
</ProductionDeepData>