POST api/Pos/Purchase/SaveAllPurchase
Request Information
URI Parameters
None.
Body Parameters
Collection of Xenia_Purchase| Name | Description | Type | Additional information |
|---|---|---|---|
| PUR_Uid | string |
String length: inclusive between 0 and 255 |
|
| PUR_Date | date |
None. |
|
| PUR_Number | string |
String length: inclusive between 0 and 255 |
|
| PUR_VendorUid | string |
String length: inclusive between 0 and 255 |
|
| PUR_VendorName | string |
String length: inclusive between 0 and 255 |
|
| PUR_WarehouseUid | string |
String length: inclusive between 0 and 255 |
|
| PUR_WarehouseName | string |
String length: inclusive between 0 and 255 |
|
| PUR_MOP | integer |
None. |
|
| PUR_GrossAmount | decimal number |
None. |
|
| PUR_Discount | decimal number |
None. |
|
| PUR_NetAmount | decimal number |
None. |
|
| PUR_TaxableAmount | decimal number |
None. |
|
| PUR_Exempted | decimal number |
None. |
|
| PUR_TaxAmount | decimal number |
None. |
|
| PUR_KFCessAmount | decimal number |
None. |
|
| PUR_CessAmount | decimal number |
None. |
|
| PUR_AddCessAmount | decimal number |
None. |
|
| PUR_Amount | decimal number |
None. |
|
| PUR_BillDiscount | decimal number |
None. |
|
| PUR_OtherExpense | decimal number |
None. |
|
| PUR_FreightCharge | decimal number |
None. |
|
| PUR_RoundOff | decimal number |
None. |
|
| PUR_TotalAmount | decimal number |
None. |
|
| PUR_Narration | string |
String length: inclusive between 0 and 255 |
|
| PUR_Deleted | integer |
None. |
|
| PUR_CreatedOn | date |
None. |
|
| PUR_CreatedBy | string |
String length: inclusive between 0 and 255 |
|
| PUR_ModifiedOn | date |
None. |
|
| PUR_ModifiedBy | string |
String length: inclusive between 0 and 255 |
|
| PUR_CompanyUid | string |
String length: inclusive between 0 and 255 |
|
| PUR_DeviceUid | string |
String length: inclusive between 0 and 255 |
|
| Xenia_PurchaseLineItem | Collection of Xenia_PurchaseLineItem |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"PUR_Uid": "sample string 1",
"PUR_Date": "2025-12-06T09:18:18.5640073+05:30",
"PUR_Number": "sample string 2",
"PUR_VendorUid": "sample string 3",
"PUR_VendorName": "sample string 4",
"PUR_WarehouseUid": "sample string 5",
"PUR_WarehouseName": "sample string 6",
"PUR_MOP": 1,
"PUR_GrossAmount": 1.0,
"PUR_Discount": 1.0,
"PUR_NetAmount": 1.0,
"PUR_TaxableAmount": 1.0,
"PUR_Exempted": 1.0,
"PUR_TaxAmount": 1.0,
"PUR_KFCessAmount": 1.0,
"PUR_CessAmount": 1.0,
"PUR_AddCessAmount": 1.0,
"PUR_Amount": 1.0,
"PUR_BillDiscount": 1.0,
"PUR_OtherExpense": 1.0,
"PUR_FreightCharge": 1.0,
"PUR_RoundOff": 1.0,
"PUR_TotalAmount": 1.0,
"PUR_Narration": "sample string 7",
"PUR_Deleted": 1,
"PUR_CreatedOn": "2025-12-06T09:18:18.5640073+05:30",
"PUR_CreatedBy": "sample string 8",
"PUR_ModifiedOn": "2025-12-06T09:18:18.5640073+05:30",
"PUR_ModifiedBy": "sample string 9",
"PUR_CompanyUid": "sample string 10",
"PUR_DeviceUid": "sample string 11",
"Xenia_PurchaseLineItem": [
{
"$id": "2",
"PUL_ID": "sample string 1",
"PUL_PurchaseUid": "sample string 2",
"PUL_ItemUid": "sample string 3",
"PUL_ItemCode": "sample string 4",
"PUL_ItemName": "sample string 5",
"PUL_Qty": 1.1,
"PUL_FreeQty": 1.1,
"PUL_Rate": 1.1,
"PUL_GrossAmount": 1.0,
"PUL_DiscountPer": 1.1,
"PUL_Discount": 1.0,
"PUL_NetAmount": 1.0,
"PUL_TaxableAmount": 1.0,
"PUL_Exempted": 1.0,
"PUL_TaxInclu": true,
"PUL_TaxPer": 1.1,
"PUL_TaxAmount": 1.0,
"PUL_KFCessPer": 1.1,
"PUL_KFCessAmount": 1.0,
"PUL_CessPer": 1.1,
"PUL_CessAmount": 1.0,
"PUL_AddCessRate": 1.1,
"PUL_AddCessAmount": 1.0,
"PUL_Amount": 1.0,
"PUL_CreatedOn": "2025-12-06T09:18:18.5640073+05:30",
"PUL_CreatedBy": "sample string 6",
"PUL_ModifiedOn": "2025-12-06T09:18:18.5640073+05:30",
"PUL_ModifiedBy": "sample string 7",
"PUL_CompanyUid": "sample string 8",
"PUL_SalesRate": 1.1,
"PUL_MrpRate": 1.1,
"PUL_CostRate": 1.1,
"PUL_Unit": "sample string 9",
"Xenia_Purchase": {
"$ref": "1"
}
},
{
"$ref": "2"
}
]
},
{
"$ref": "1"
}
]
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. |