POST api/DefInvenOpeningStock/InsertOrUpdateIOpeningStock?vUserID={vUserID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
vUserID

integer

Required

Body Parameters

Collection of InvenOpeningStock
NameDescriptionTypeAdditional information
SerialNo

integer

None.

ProductID

integer

None.

Qty

decimal number

None.

Price

decimal number

None.

TotalValue

decimal number

None.

ProductName

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "SerialNo": 1,
    "ProductID": 2,
    "Qty": 3.0,
    "Price": 4.0,
    "TotalValue": 5.0,
    "ProductName": "sample string 6"
  },
  {
    "SerialNo": 1,
    "ProductID": 2,
    "Qty": 3.0,
    "Price": 4.0,
    "TotalValue": 5.0,
    "ProductName": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInvenOpeningStock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Objects">
  <InvenOpeningStock>
    <Price>4</Price>
    <ProductID>2</ProductID>
    <ProductName>sample string 6</ProductName>
    <Qty>3</Qty>
    <SerialNo>1</SerialNo>
    <TotalValue>5</TotalValue>
  </InvenOpeningStock>
  <InvenOpeningStock>
    <Price>4</Price>
    <ProductID>2</ProductID>
    <ProductName>sample string 6</ProductName>
    <Qty>3</Qty>
    <SerialNo>1</SerialNo>
    <TotalValue>5</TotalValue>
  </InvenOpeningStock>
</ArrayOfInvenOpeningStock>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.