POST api/STO/Delete

Request Information

URI Parameters

None.

Body Parameters

STOHeaderViewModel
NameDescriptionTypeAdditional information
lstItem

Collection of STODetailViewModel

None.

STOID

integer

None.

STONumber

string

None.

CompanyDetailID

integer

None.

STODate

date

None.

FromLocationID

integer

None.

ToLocationID

integer

None.

OtherReference

string

None.

Remarks

string

None.

InventoryType

string

None.

DiscountApplicable

boolean

None.

IsShipmentRequired

boolean

None.

TotalAmount

decimal number

None.

LoginId

integer

None.

FromLocation

string

None.

ToLocation

string

None.

Qty

integer

None.

CompanyID

integer

None.

TaxNature

string

None.

IsEdit

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "lstItem": [
    {
      "STODetailID": 1,
      "STOID": 2,
      "ItemID": 3,
      "UOMID": 4,
      "Units": 5,
      "Qty": 6,
      "TaxNature": "sample string 7",
      "Rate": 8.0,
      "ItemRate": 9.0,
      "ItemCode": "sample string 10",
      "UOM": "sample string 11",
      "MultiplierValue": 12.0,
      "TaxRate": 13.0,
      "ItemName": "sample string 14",
      "CustomerItemCode": "sample string 15",
      "DisCountPer": 16.0,
      "DiscountValue": 17.0,
      "DirectCost": 18.0,
      "TaxAmount": 19.0,
      "TotalAmount": 20.0,
      "SalesRateCardID": 21,
      "DiscountID": 22
    },
    {
      "STODetailID": 1,
      "STOID": 2,
      "ItemID": 3,
      "UOMID": 4,
      "Units": 5,
      "Qty": 6,
      "TaxNature": "sample string 7",
      "Rate": 8.0,
      "ItemRate": 9.0,
      "ItemCode": "sample string 10",
      "UOM": "sample string 11",
      "MultiplierValue": 12.0,
      "TaxRate": 13.0,
      "ItemName": "sample string 14",
      "CustomerItemCode": "sample string 15",
      "DisCountPer": 16.0,
      "DiscountValue": 17.0,
      "DirectCost": 18.0,
      "TaxAmount": 19.0,
      "TotalAmount": 20.0,
      "SalesRateCardID": 21,
      "DiscountID": 22
    }
  ],
  "STOID": 1,
  "STONumber": "sample string 2",
  "CompanyDetailID": 3,
  "STODate": "2025-12-16T11:05:15.3246512+00:00",
  "FromLocationID": 5,
  "ToLocationID": 6,
  "OtherReference": "sample string 7",
  "Remarks": "sample string 8",
  "InventoryType": "sample string 9",
  "DiscountApplicable": true,
  "IsShipmentRequired": true,
  "TotalAmount": 12.0,
  "LoginId": 13,
  "FromLocation": "sample string 14",
  "ToLocation": "sample string 15",
  "Qty": 16,
  "CompanyID": 17,
  "TaxNature": "sample string 18",
  "IsEdit": true
}

application/xml, text/xml

Sample:
<STOHeaderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAL.ViewModel">
  <CompanyDetailID>3</CompanyDetailID>
  <CompanyID>17</CompanyID>
  <DiscountApplicable>true</DiscountApplicable>
  <FromLocation>sample string 14</FromLocation>
  <FromLocationID>5</FromLocationID>
  <InventoryType>sample string 9</InventoryType>
  <IsEdit>true</IsEdit>
  <IsShipmentRequired>true</IsShipmentRequired>
  <LoginId>13</LoginId>
  <OtherReference>sample string 7</OtherReference>
  <Qty>16</Qty>
  <Remarks>sample string 8</Remarks>
  <STODate>2025-12-16T11:05:15.3246512+00:00</STODate>
  <STOID>1</STOID>
  <STONumber>sample string 2</STONumber>
  <TaxNature>sample string 18</TaxNature>
  <ToLocation>sample string 15</ToLocation>
  <ToLocationID>6</ToLocationID>
  <TotalAmount>12</TotalAmount>
  <lstItem>
    <STODetailViewModel>
      <CustomerItemCode>sample string 15</CustomerItemCode>
      <DirectCost>18</DirectCost>
      <DisCountPer>16</DisCountPer>
      <DiscountID>22</DiscountID>
      <DiscountValue>17</DiscountValue>
      <ItemCode>sample string 10</ItemCode>
      <ItemID>3</ItemID>
      <ItemName>sample string 14</ItemName>
      <ItemRate>9</ItemRate>
      <MultiplierValue>12</MultiplierValue>
      <Qty>6</Qty>
      <Rate>8</Rate>
      <STODetailID>1</STODetailID>
      <STOID>2</STOID>
      <SalesRateCardID>21</SalesRateCardID>
      <TaxAmount>19</TaxAmount>
      <TaxNature>sample string 7</TaxNature>
      <TaxRate>13</TaxRate>
      <TotalAmount>20</TotalAmount>
      <UOM>sample string 11</UOM>
      <UOMID>4</UOMID>
      <Units>5</Units>
    </STODetailViewModel>
    <STODetailViewModel>
      <CustomerItemCode>sample string 15</CustomerItemCode>
      <DirectCost>18</DirectCost>
      <DisCountPer>16</DisCountPer>
      <DiscountID>22</DiscountID>
      <DiscountValue>17</DiscountValue>
      <ItemCode>sample string 10</ItemCode>
      <ItemID>3</ItemID>
      <ItemName>sample string 14</ItemName>
      <ItemRate>9</ItemRate>
      <MultiplierValue>12</MultiplierValue>
      <Qty>6</Qty>
      <Rate>8</Rate>
      <STODetailID>1</STODetailID>
      <STOID>2</STOID>
      <SalesRateCardID>21</SalesRateCardID>
      <TaxAmount>19</TaxAmount>
      <TaxNature>sample string 7</TaxNature>
      <TaxRate>13</TaxRate>
      <TotalAmount>20</TotalAmount>
      <UOM>sample string 11</UOM>
      <UOMID>4</UOMID>
      <Units>5</Units>
    </STODetailViewModel>
  </lstItem>
</STOHeaderViewModel>

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.