DELETE api/Coding/DeleteOpeningStock?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

Body Parameters

OpeningStockModel
NameDescriptionTypeAdditional information
SerialNo

integer

None.

ProductId

string

None.

PackingId

integer

None.

Multiplier

decimal number

None.

QtyPack

integer

None.

QtyLose

integer

None.

BnsLose

integer

None.

PricePack

decimal number

None.

DiscRatio

decimal number

None.

DiscValPack

decimal number

None.

DiscValLose

decimal number

None.

STaxRatio

decimal number

None.

STaxValPack

decimal number

None.

IsValueB4Ratio

boolean

None.

OfferDiscount

decimal number

None.

IsSTaxOnBns

boolean

None.

IsFTaxExempted

boolean

None.

TTLValue

decimal number

None.

TTLSTax

decimal number

None.

TTLFTax

decimal number

None.

ExtraSTaxBns

decimal number

None.

ExtraFTaxBns

decimal number

None.

IsDeleted

boolean

None.

BatchNo

string

None.

ExpiryDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "SerialNo": 1,
  "ProductId": "sample string 2",
  "PackingId": 3,
  "Multiplier": 4.0,
  "QtyPack": 5,
  "QtyLose": 6,
  "BnsLose": 7,
  "PricePack": 8.0,
  "DiscRatio": 9.0,
  "DiscValPack": 10.0,
  "DiscValLose": 11.0,
  "STaxRatio": 12.0,
  "STaxValPack": 13.0,
  "IsValueB4Ratio": true,
  "OfferDiscount": 15.0,
  "IsSTaxOnBns": true,
  "IsFTaxExempted": true,
  "TTLValue": 18.0,
  "TTLSTax": 19.0,
  "TTLFTax": 20.0,
  "ExtraSTaxBns": 21.0,
  "ExtraFTaxBns": 22.0,
  "IsDeleted": true,
  "BatchNo": "sample string 24",
  "ExpiryDate": "2025-07-04T18:29:43.7538118+05:00"
}

application/xml, text/xml

Sample:
<OpeningStockModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ultrabiz_ERP_API.Models">
  <BatchNo>sample string 24</BatchNo>
  <BnsLose>7</BnsLose>
  <DiscRatio>9</DiscRatio>
  <DiscValLose>11</DiscValLose>
  <DiscValPack>10</DiscValPack>
  <ExpiryDate>2025-07-04T18:29:43.7538118+05:00</ExpiryDate>
  <ExtraFTaxBns>22</ExtraFTaxBns>
  <ExtraSTaxBns>21</ExtraSTaxBns>
  <IsDeleted>true</IsDeleted>
  <IsFTaxExempted>true</IsFTaxExempted>
  <IsSTaxOnBns>true</IsSTaxOnBns>
  <IsValueB4Ratio>true</IsValueB4Ratio>
  <Multiplier>4</Multiplier>
  <OfferDiscount>15</OfferDiscount>
  <PackingId>3</PackingId>
  <PricePack>8</PricePack>
  <ProductId>sample string 2</ProductId>
  <QtyLose>6</QtyLose>
  <QtyPack>5</QtyPack>
  <STaxRatio>12</STaxRatio>
  <STaxValPack>13</STaxValPack>
  <SerialNo>1</SerialNo>
  <TTLFTax>20</TTLFTax>
  <TTLSTax>19</TTLSTax>
  <TTLValue>18</TTLValue>
</OpeningStockModel>

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.