POST api/StockAudit/AddStockAuditTransaction

Request Information

URI Parameters

None.

Body Parameters

Collection of StockAuditTransaction
NameDescriptionTypeAdditional information
StockAuditTransactionId

integer

None.

StockAuditId

integer

None.

OrdProductId

integer

None.

LastStock

integer

None.

NewStock

integer

None.

Changes

integer

None.

CreatedOn

date

None.

UpdatedOn

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "StockAuditTransactionId": 1,
    "StockAuditId": 1,
    "OrdProductId": 1,
    "LastStock": 1,
    "NewStock": 1,
    "Changes": 1,
    "CreatedOn": "2024-11-05T09:23:58.6068091+05:30",
    "UpdatedOn": "2024-11-05T09:23:58.6068091+05:30"
  },
  {
    "StockAuditTransactionId": 1,
    "StockAuditId": 1,
    "OrdProductId": 1,
    "LastStock": 1,
    "NewStock": 1,
    "Changes": 1,
    "CreatedOn": "2024-11-05T09:23:58.6068091+05:30",
    "UpdatedOn": "2024-11-05T09:23:58.6068091+05:30"
  }
]

application/xml, text/xml

Sample:
<ArrayOfStockAuditTransaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IPMSAPIV1.Models">
  <StockAuditTransaction>
    <Changes>1</Changes>
    <CreatedOn>2024-11-05T09:23:58.6068091+05:30</CreatedOn>
    <LastStock>1</LastStock>
    <NewStock>1</NewStock>
    <OrdProductId>1</OrdProductId>
    <StockAuditId>1</StockAuditId>
    <StockAuditTransactionId>1</StockAuditTransactionId>
    <UpdatedOn>2024-11-05T09:23:58.6068091+05:30</UpdatedOn>
  </StockAuditTransaction>
  <StockAuditTransaction>
    <Changes>1</Changes>
    <CreatedOn>2024-11-05T09:23:58.6068091+05:30</CreatedOn>
    <LastStock>1</LastStock>
    <NewStock>1</NewStock>
    <OrdProductId>1</OrdProductId>
    <StockAuditId>1</StockAuditId>
    <StockAuditTransactionId>1</StockAuditTransactionId>
    <UpdatedOn>2024-11-05T09:23:58.6068091+05:30</UpdatedOn>
  </StockAuditTransaction>
</ArrayOfStockAuditTransaction>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.