POST services/api/v1/Update_Distribution
Request Information
URI Parameters
None.
Body Parameters
Collection of PurchaseDetailsListFor_Distribution| Name | Description | Type | Additional information |
|---|---|---|---|
| PurchaseId | integer |
None. |
|
| Purchasedetailsid | integer |
None. |
|
| VoucherNo | string |
None. |
|
| BarCode | string |
None. |
|
| Name | string |
None. |
|
| Unit | string |
None. |
|
| Quantity | decimal number |
None. |
|
| NetCost | decimal number |
None. |
|
| DAmount | decimal number |
None. |
|
| NewNetCost | decimal number |
None. |
|
| Amount | decimal number |
None. |
|
| Sel | boolean |
None. |
|
| UserId | integer |
None. |
|
| TransNo | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"PurchaseId": 1,
"Purchasedetailsid": 2,
"VoucherNo": "sample string 3",
"BarCode": "sample string 4",
"Name": "sample string 5",
"Unit": "sample string 6",
"Quantity": 7.0,
"NetCost": 8.0,
"DAmount": 9.0,
"NewNetCost": 10.0,
"Amount": 11.0,
"Sel": true,
"UserId": 13,
"TransNo": 14
},
{
"PurchaseId": 1,
"Purchasedetailsid": 2,
"VoucherNo": "sample string 3",
"BarCode": "sample string 4",
"Name": "sample string 5",
"Unit": "sample string 6",
"Quantity": 7.0,
"NetCost": 8.0,
"DAmount": 9.0,
"NewNetCost": 10.0,
"Amount": 11.0,
"Sel": true,
"UserId": 13,
"TransNo": 14
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DebitNoteDistribution_Master| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| PurchaseId | integer |
None. |
|
| DebitNoteVoucher | string |
None. |
|
| PostedDate | date |
None. |
|
| Supplier | string |
None. |
|
| Transno | integer |
None. |
|
| PurchaseVoucher | string |
None. |
|
| PurchaseAmount | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"PurchaseId": 2,
"DebitNoteVoucher": "sample string 3",
"PostedDate": "2026-09-09T15:20:43.7973821+04:00",
"Supplier": "sample string 5",
"Transno": 6,
"PurchaseVoucher": "sample string 7",
"PurchaseAmount": 8.0
}