POST api/SaleReturn/Sync
Request Information
URI Parameters
None.
Body Parameters
Collection of Xenia_SaleReturn| Name | Description | Type | Additional information |
|---|---|---|---|
| SAR_Uid | string |
String length: inclusive between 0 and 255 |
|
| SAR_Date | date |
None. |
|
| SAR_NoPrefix | string |
String length: inclusive between 0 and 255 |
|
| SAR_Number | integer |
None. |
|
| SAR_SaleUid | string |
String length: inclusive between 0 and 255 |
|
| SAR_InvoiceNumber | string |
String length: inclusive between 0 and 255 |
|
| SAR_InvoiceDate | string |
String length: inclusive between 0 and 255 |
|
| SAR_CustomerUid | string |
String length: inclusive between 0 and 255 |
|
| SAR_CustomerName | string |
String length: inclusive between 0 and 255 |
|
| SAR_ReturnType | string |
String length: inclusive between 0 and 255 |
|
| SAR_MOP | integer |
None. |
|
| SAR_GrossAmount | decimal number |
None. |
|
| SAR_Discount | decimal number |
None. |
|
| SAR_NetAmount | decimal number |
None. |
|
| SAR_TaxableAmount | decimal number |
None. |
|
| SAR_Exempted | decimal number |
None. |
|
| SAR_TaxAmount | decimal number |
None. |
|
| SAR_KFCessAmount | decimal number |
None. |
|
| SAR_CessAmount | decimal number |
None. |
|
| SAR_AddCessAmount | decimal number |
None. |
|
| SAR_Amount | decimal number |
None. |
|
| SAR_BillDiscount | decimal number |
None. |
|
| SAR_OtherExpense | decimal number |
None. |
|
| SAR_FreightCharge | decimal number |
None. |
|
| SAR_RoundOff | decimal number |
None. |
|
| SAR_TotalAmount | decimal number |
None. |
|
| SAR_PaidAmount | decimal number |
None. |
|
| SAR_Narration | string |
String length: inclusive between 0 and 255 |
|
| SAR_Deleted | integer |
None. |
|
| SAR_CreatedOn | date |
None. |
|
| SAR_CreatedBy | string |
String length: inclusive between 0 and 255 |
|
| SAR_ModifiedOn | date |
None. |
|
| SAR_ModifiedBy | string |
String length: inclusive between 0 and 255 |
|
| SAR_CompanyUid | string |
String length: inclusive between 0 and 255 |
|
| SAR_DeviceUid | string |
String length: inclusive between 0 and 255 |
|
| SAR_StoreUid | string |
String length: inclusive between 0 and 255 |
|
| Xenia_SaleReturnLineItem | Collection of Xenia_SaleReturnLineItem |
None. |
Request Formats
application/json, text/json
[
{
"$id": "1",
"SAR_Uid": "sample string 1",
"SAR_Date": "2025-12-06T09:21:35.0759132+05:30",
"SAR_NoPrefix": "sample string 2",
"SAR_Number": 1,
"SAR_SaleUid": "sample string 3",
"SAR_InvoiceNumber": "sample string 4",
"SAR_InvoiceDate": "sample string 5",
"SAR_CustomerUid": "sample string 6",
"SAR_CustomerName": "sample string 7",
"SAR_ReturnType": "sample string 8",
"SAR_MOP": 1,
"SAR_GrossAmount": 1.0,
"SAR_Discount": 1.0,
"SAR_NetAmount": 1.0,
"SAR_TaxableAmount": 1.0,
"SAR_Exempted": 1.0,
"SAR_TaxAmount": 1.0,
"SAR_KFCessAmount": 1.0,
"SAR_CessAmount": 1.0,
"SAR_AddCessAmount": 1.0,
"SAR_Amount": 1.0,
"SAR_BillDiscount": 1.0,
"SAR_OtherExpense": 1.0,
"SAR_FreightCharge": 1.0,
"SAR_RoundOff": 1.0,
"SAR_TotalAmount": 1.0,
"SAR_PaidAmount": 1.0,
"SAR_Narration": "sample string 9",
"SAR_Deleted": 1,
"SAR_CreatedOn": "2025-12-06T09:21:35.0759132+05:30",
"SAR_CreatedBy": "sample string 10",
"SAR_ModifiedOn": "2025-12-06T09:21:35.0759132+05:30",
"SAR_ModifiedBy": "sample string 11",
"SAR_CompanyUid": "sample string 12",
"SAR_DeviceUid": "sample string 13",
"SAR_StoreUid": "sample string 14",
"Xenia_SaleReturnLineItem": [
{
"$id": "2",
"SRL_ID": "sample string 1",
"SRL_ReturnUid": "sample string 2",
"SRL_ItemUid": "sample string 3",
"SRL_ItemCode": "sample string 4",
"SRL_ItemName": "sample string 5",
"SRL_Qty": 1.1,
"SRL_FreeQty": 1.1,
"SRL_Rate": 1.1,
"SRL_GrossAmount": 1.0,
"SRL_DiscountPer": 1.1,
"SRL_Discount": 1.0,
"SRL_NetAmount": 1.0,
"SRL_TaxableAmount": 1.0,
"SRL_Exempted": 1.0,
"SRL_TaxInclu": true,
"SRL_TaxPer": 1.1,
"SRL_TaxAmount": 1.0,
"SRL_KFCessPer": 1.1,
"SRL_KFCessAmount": 1.0,
"SRL_CessPer": 1.1,
"SRL_CessAmount": 1.0,
"SRL_AddCessRate": 1.1,
"SRL_AddCessAmount": 1.0,
"SRL_Amount": 1.0,
"SRL_CreatedOn": "2025-12-06T09:21:35.0759132+05:30",
"SRL_CreatedBy": "sample string 6",
"SRL_ModifiedOn": "2025-12-06T09:21:35.0759132+05:30",
"SRL_ModifiedBy": "sample string 7",
"SRL_CompanyUid": "sample string 8",
"SRL_SalesRate": 1.1,
"SRL_MrpRate": 1.1,
"SRL_CostRate": 1.1,
"SRL_Unit": "sample string 9",
"Xenia_SaleReturn": {
"$ref": "1"
}
},
{
"$ref": "2"
}
]
},
{
"$ref": "1"
}
]
application/x-www-form-urlencoded
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. |