POST api/Product/SaveStockInword

Request Information

URI Parameters

None.

Body Parameters

StockInword
NameDescriptionTypeAdditional information
SecurityKey

string

None.

InwordId

integer

None.

InwordDate

date

None.

ChallanNo

string

None.

VendorId

integer

None.

BillNo

string

None.

Amount

decimal number

None.

StockInwordBy

integer

None.

ExtraInfo

string

None.

lstInwordProduct

Collection of OrderDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "SecurityKey": "sample string 1",
  "InwordId": 2,
  "InwordDate": "2025-12-11T10:30:25.7322022-08:00",
  "ChallanNo": "sample string 4",
  "VendorId": 5,
  "BillNo": "sample string 6",
  "Amount": 7.0,
  "StockInwordBy": 8,
  "ExtraInfo": "sample string 9",
  "lstInwordProduct": [
    {
      "SecurityKey": "sample string 1",
      "OrderDetailId": 2,
      "OrderId": 3,
      "MemberId": 4,
      "ProductId": 5,
      "ProductName": "sample string 6",
      "Qty": 7,
      "StockInHand": 8,
      "Amount": 9.0,
      "Rate": 10.0,
      "OrderStatus": 1
    },
    {
      "SecurityKey": "sample string 1",
      "OrderDetailId": 2,
      "OrderId": 3,
      "MemberId": 4,
      "ProductId": 5,
      "ProductName": "sample string 6",
      "Qty": 7,
      "StockInHand": 8,
      "Amount": 9.0,
      "Rate": 10.0,
      "OrderStatus": 1
    }
  ]
}

text/html

Sample:
{"SecurityKey":"sample string 1","InwordId":2,"InwordDate":"2025-12-11T10:30:25.7322022-08:00","ChallanNo":"sample string 4","VendorId":5,"BillNo":"sample string 6","Amount":7.0,"StockInwordBy":8,"ExtraInfo":"sample string 9","lstInwordProduct":[{"SecurityKey":"sample string 1","OrderDetailId":2,"OrderId":3,"MemberId":4,"ProductId":5,"ProductName":"sample string 6","Qty":7,"StockInHand":8,"Amount":9.0,"Rate":10.0,"OrderStatus":1},{"SecurityKey":"sample string 1","OrderDetailId":2,"OrderId":3,"MemberId":4,"ProductId":5,"ProductName":"sample string 6","Qty":7,"StockInHand":8,"Amount":9.0,"Rate":10.0,"OrderStatus":1}]}

application/xml, text/xml

Sample:
<StockInword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dnyanved.Core.Model">
  <Amount>7</Amount>
  <BillNo>sample string 6</BillNo>
  <ChallanNo>sample string 4</ChallanNo>
  <ExtraInfo>sample string 9</ExtraInfo>
  <InwordDate>2025-12-11T10:30:25.7322022-08:00</InwordDate>
  <InwordId>2</InwordId>
  <SecurityKey>sample string 1</SecurityKey>
  <StockInwordBy>8</StockInwordBy>
  <VendorId>5</VendorId>
  <lstInwordProduct>
    <OrderDetail>
      <Amount>9</Amount>
      <MemberId>4</MemberId>
      <OrderDetailId>2</OrderDetailId>
      <OrderId>3</OrderId>
      <OrderStatus>New</OrderStatus>
      <ProductId>5</ProductId>
      <ProductName>sample string 6</ProductName>
      <Qty>7</Qty>
      <Rate>10</Rate>
      <SecurityKey>sample string 1</SecurityKey>
      <StockInHand>8</StockInHand>
    </OrderDetail>
    <OrderDetail>
      <Amount>9</Amount>
      <MemberId>4</MemberId>
      <OrderDetailId>2</OrderDetailId>
      <OrderId>3</OrderId>
      <OrderStatus>New</OrderStatus>
      <ProductId>5</ProductId>
      <ProductName>sample string 6</ProductName>
      <Qty>7</Qty>
      <Rate>10</Rate>
      <SecurityKey>sample string 1</SecurityKey>
      <StockInHand>8</StockInHand>
    </OrderDetail>
  </lstInwordProduct>
</StockInword>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json, text/html

Sample:
1

application/xml, text/xml

Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>