POST api/Stock/InsertSalesMaster

Request Information

URI Parameters

None.

Body Parameters

SalesRootObject
NameDescriptionTypeAdditional information
SalesDetailList

SalesDetailList

None.

Request Formats

application/json, text/json

Sample:
{
  "SalesDetailList": {
    "SalesId": 1,
    "ItemId": 2,
    "SoldQuantity": 3,
    "SoldPrice": 4.0,
    "BranchId": 5,
    "CustomerName": "sample string 6",
    "UserId": 7,
    "HOBranchId": 8
  }
}

application/xml, text/xml

Sample:
<SalesRootObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <SalesDetailList>
    <BranchId>5</BranchId>
    <CustomerName>sample string 6</CustomerName>
    <HOBranchId>8</HOBranchId>
    <ItemId>2</ItemId>
    <SalesId>1</SalesId>
    <SoldPrice>4</SoldPrice>
    <SoldQuantity>3</SoldQuantity>
    <UserId>7</UserId>
  </SalesDetailList>
</SalesRootObject>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.