POST api/POOrder/Delete
Request Information
URI Parameters
None.
Body Parameters
POOrderViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| lstItem | Collection of POOrderItemViewModel |
None. |
|
| lstApproval | Collection of ApprovalStatusViewModel |
None. |
|
| POID | integer |
None. |
|
| CompanyDetailID | integer |
None. |
|
| PONumber | string |
None. |
|
| PODate | date |
None. |
|
| LocationID | integer |
None. |
|
| VendorID | integer |
None. |
|
| IsEventPurchase | boolean |
None. |
|
| IsSTO | boolean |
None. |
|
| PODeliveryDate | date |
None. |
|
| IsShipmentRequired | boolean |
None. |
|
| OtherReference | string |
None. |
|
| Remarks | string |
None. |
|
| AgainstReference | string |
None. |
|
| PaymentReference | string |
None. |
|
| IsMailSent | boolean |
None. |
|
| DeliveryStatus | string |
None. |
|
| ApprovalStatus | string |
None. |
|
| LoginId | integer |
None. |
|
| LocationName | string |
None. |
|
| VendorName | string |
None. |
|
| ShipmentNumber | string |
None. |
|
| ShipmentStatus | string |
None. |
|
| IsPOClosed | boolean |
None. |
|
| CompanyID | integer |
None. |
|
| BulkString | string |
None. |
|
| FilePath | string |
None. |
|
| CurrencyType | string |
None. |
|
| VendorWarehouseID | integer |
None. |
|
| DutyMode | string |
None. |
|
| POTYPE | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"lstItem": [
{
"PODetailsID": 1,
"CompanyDetailID": 2,
"POID": 3,
"ItemID": 4,
"UOMID": 5,
"CaseSize": 6,
"CasePack": 7,
"Qty": 8,
"Rate": 9.0,
"TaxRate": 10.0,
"TaxAmount": 11.0,
"DirectCost": 12.0,
"TotalAmount": 13.0,
"BrandID": 14,
"BrandName": "sample string 15",
"ProductGroupID": 16,
"ProductGroupName": "sample string 17",
"CategoryID": 18,
"CategoryName": "sample string 19",
"ItemCode": "sample string 20",
"MultiplierValue": 21.0,
"UOM": "sample string 22",
"PODate": "2025-12-16T11:04:50.2676202+00:00",
"LocationName": "sample string 24",
"VendorName": "sample string 25",
"ItemName": "sample string 26",
"VendorItemCode": "sample string 27",
"POQty": 28,
"ShipmentQty": 29,
"AvailableQty": 30,
"SlNo": 31,
"VendorItem": "sample string 32",
"Total": 33.0,
"HSNCode": "sample string 34"
},
{
"PODetailsID": 1,
"CompanyDetailID": 2,
"POID": 3,
"ItemID": 4,
"UOMID": 5,
"CaseSize": 6,
"CasePack": 7,
"Qty": 8,
"Rate": 9.0,
"TaxRate": 10.0,
"TaxAmount": 11.0,
"DirectCost": 12.0,
"TotalAmount": 13.0,
"BrandID": 14,
"BrandName": "sample string 15",
"ProductGroupID": 16,
"ProductGroupName": "sample string 17",
"CategoryID": 18,
"CategoryName": "sample string 19",
"ItemCode": "sample string 20",
"MultiplierValue": 21.0,
"UOM": "sample string 22",
"PODate": "2025-12-16T11:04:50.2676202+00:00",
"LocationName": "sample string 24",
"VendorName": "sample string 25",
"ItemName": "sample string 26",
"VendorItemCode": "sample string 27",
"POQty": 28,
"ShipmentQty": 29,
"AvailableQty": 30,
"SlNo": 31,
"VendorItem": "sample string 32",
"Total": 33.0,
"HSNCode": "sample string 34"
}
],
"lstApproval": [
{
"ApprovalStatus": "sample string 1",
"Remarks": "sample string 2",
"ActionBy": "sample string 3",
"CreatedDate": "2025-12-16T11:04:50.2676202+00:00"
},
{
"ApprovalStatus": "sample string 1",
"Remarks": "sample string 2",
"ActionBy": "sample string 3",
"CreatedDate": "2025-12-16T11:04:50.2676202+00:00"
}
],
"POID": 1,
"CompanyDetailID": 2,
"PONumber": "sample string 3",
"PODate": "2025-12-16T11:04:50.2676202+00:00",
"LocationID": 5,
"VendorID": 6,
"IsEventPurchase": true,
"IsSTO": true,
"PODeliveryDate": "2025-12-16T11:04:50.2676202+00:00",
"IsShipmentRequired": true,
"OtherReference": "sample string 11",
"Remarks": "sample string 12",
"AgainstReference": "sample string 13",
"PaymentReference": "sample string 14",
"IsMailSent": true,
"DeliveryStatus": "sample string 16",
"ApprovalStatus": "sample string 17",
"LoginId": 18,
"LocationName": "sample string 19",
"VendorName": "sample string 20",
"ShipmentNumber": "sample string 21",
"ShipmentStatus": "sample string 22",
"IsPOClosed": true,
"CompanyID": 24,
"BulkString": "sample string 25",
"FilePath": "sample string 26",
"CurrencyType": "sample string 27",
"VendorWarehouseID": 28,
"DutyMode": "sample string 29",
"POTYPE": "sample string 30"
}
application/xml, text/xml
Sample:
<POOrderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAL.ViewModel">
<AgainstReference>sample string 13</AgainstReference>
<ApprovalStatus>sample string 17</ApprovalStatus>
<BulkString>sample string 25</BulkString>
<CompanyDetailID>2</CompanyDetailID>
<CompanyID>24</CompanyID>
<CurrencyType>sample string 27</CurrencyType>
<DeliveryStatus>sample string 16</DeliveryStatus>
<DutyMode>sample string 29</DutyMode>
<FilePath>sample string 26</FilePath>
<IsEventPurchase>true</IsEventPurchase>
<IsMailSent>true</IsMailSent>
<IsPOClosed>true</IsPOClosed>
<IsSTO>true</IsSTO>
<IsShipmentRequired>true</IsShipmentRequired>
<LocationID>5</LocationID>
<LocationName>sample string 19</LocationName>
<LoginId>18</LoginId>
<OtherReference>sample string 11</OtherReference>
<PODate>2025-12-16T11:04:50.2676202+00:00</PODate>
<PODeliveryDate>2025-12-16T11:04:50.2676202+00:00</PODeliveryDate>
<POID>1</POID>
<PONumber>sample string 3</PONumber>
<POTYPE>sample string 30</POTYPE>
<PaymentReference>sample string 14</PaymentReference>
<Remarks>sample string 12</Remarks>
<ShipmentNumber>sample string 21</ShipmentNumber>
<ShipmentStatus>sample string 22</ShipmentStatus>
<VendorID>6</VendorID>
<VendorName>sample string 20</VendorName>
<VendorWarehouseID>28</VendorWarehouseID>
<lstApproval>
<ApprovalStatusViewModel>
<ActionBy>sample string 3</ActionBy>
<ApprovalStatus>sample string 1</ApprovalStatus>
<CreatedDate>2025-12-16T11:04:50.2676202+00:00</CreatedDate>
<Remarks>sample string 2</Remarks>
</ApprovalStatusViewModel>
<ApprovalStatusViewModel>
<ActionBy>sample string 3</ActionBy>
<ApprovalStatus>sample string 1</ApprovalStatus>
<CreatedDate>2025-12-16T11:04:50.2676202+00:00</CreatedDate>
<Remarks>sample string 2</Remarks>
</ApprovalStatusViewModel>
</lstApproval>
<lstItem>
<POOrderItemViewModel>
<AvailableQty>30</AvailableQty>
<BrandID>14</BrandID>
<BrandName>sample string 15</BrandName>
<CasePack>7</CasePack>
<CaseSize>6</CaseSize>
<CategoryID>18</CategoryID>
<CategoryName>sample string 19</CategoryName>
<CompanyDetailID>2</CompanyDetailID>
<DirectCost>12</DirectCost>
<HSNCode>sample string 34</HSNCode>
<ItemCode>sample string 20</ItemCode>
<ItemID>4</ItemID>
<ItemName>sample string 26</ItemName>
<LocationName>sample string 24</LocationName>
<MultiplierValue>21</MultiplierValue>
<PODate>2025-12-16T11:04:50.2676202+00:00</PODate>
<PODetailsID>1</PODetailsID>
<POID>3</POID>
<POQty>28</POQty>
<ProductGroupID>16</ProductGroupID>
<ProductGroupName>sample string 17</ProductGroupName>
<Qty>8</Qty>
<Rate>9</Rate>
<ShipmentQty>29</ShipmentQty>
<SlNo>31</SlNo>
<TaxAmount>11</TaxAmount>
<TaxRate>10</TaxRate>
<Total>33</Total>
<TotalAmount>13</TotalAmount>
<UOM>sample string 22</UOM>
<UOMID>5</UOMID>
<VendorItem>sample string 32</VendorItem>
<VendorItemCode>sample string 27</VendorItemCode>
<VendorName>sample string 25</VendorName>
</POOrderItemViewModel>
<POOrderItemViewModel>
<AvailableQty>30</AvailableQty>
<BrandID>14</BrandID>
<BrandName>sample string 15</BrandName>
<CasePack>7</CasePack>
<CaseSize>6</CaseSize>
<CategoryID>18</CategoryID>
<CategoryName>sample string 19</CategoryName>
<CompanyDetailID>2</CompanyDetailID>
<DirectCost>12</DirectCost>
<HSNCode>sample string 34</HSNCode>
<ItemCode>sample string 20</ItemCode>
<ItemID>4</ItemID>
<ItemName>sample string 26</ItemName>
<LocationName>sample string 24</LocationName>
<MultiplierValue>21</MultiplierValue>
<PODate>2025-12-16T11:04:50.2676202+00:00</PODate>
<PODetailsID>1</PODetailsID>
<POID>3</POID>
<POQty>28</POQty>
<ProductGroupID>16</ProductGroupID>
<ProductGroupName>sample string 17</ProductGroupName>
<Qty>8</Qty>
<Rate>9</Rate>
<ShipmentQty>29</ShipmentQty>
<SlNo>31</SlNo>
<TaxAmount>11</TaxAmount>
<TaxRate>10</TaxRate>
<Total>33</Total>
<TotalAmount>13</TotalAmount>
<UOM>sample string 22</UOM>
<UOMID>5</UOMID>
<VendorItem>sample string 32</VendorItem>
<VendorItemCode>sample string 27</VendorItemCode>
<VendorName>sample string 25</VendorName>
</POOrderItemViewModel>
</lstItem>
</POOrderViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |