POST services/api/v1/Get_PurchaseDetailsByPurchaseId
Request Information
URI Parameters
None.
Body Parameters
Id| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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. |
Response 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
}
]