POST api/Pos/PurchaseReturn/SaveAllPurchaseReturn

Request Information

URI Parameters

None.

Body Parameters

Collection of Xenia_PurchaseReturn
NameDescriptionTypeAdditional information
PRR_Uid

string

String length: inclusive between 0 and 255

PRR_Date

date

None.

PRR_NoPrefix

string

String length: inclusive between 0 and 255

PRR_Number

integer

None.

PRR_PurchaseUid

string

String length: inclusive between 0 and 255

PRR_InvoiceNumber

string

String length: inclusive between 0 and 255

PRR_InvoiceDate

string

String length: inclusive between 0 and 255

PRR_VendorUid

string

String length: inclusive between 0 and 255

PRR_VendorName

string

String length: inclusive between 0 and 255

PRR_WarehouseUid

string

String length: inclusive between 0 and 255

PRR_WarehouseName

string

String length: inclusive between 0 and 255

PRR_MOP

integer

None.

PRR_GrossAmount

decimal number

None.

PRR_Discount

decimal number

None.

PRR_NetAmount

decimal number

None.

PRR_TaxableAmount

decimal number

None.

PRR_Exempted

decimal number

None.

PRR_TaxAmount

decimal number

None.

PRR_KFCessAmount

decimal number

None.

PRR_CessAmount

decimal number

None.

PRR_AddCessAmount

decimal number

None.

PRR_Amount

decimal number

None.

PRR_BillDiscount

decimal number

None.

PRR_OtherExpense

decimal number

None.

PRR_FreightCharge

decimal number

None.

PRR_RoundOff

decimal number

None.

PRR_TotalAmount

decimal number

None.

PRR_Narration

string

String length: inclusive between 0 and 255

PRR_Deleted

integer

None.

PRR_CreatedOn

date

None.

PRR_CreatedBy

string

String length: inclusive between 0 and 255

PRR_ModifiedOn

date

None.

PRR_ModifiedBy

string

String length: inclusive between 0 and 255

PRR_CompanyUid

string

String length: inclusive between 0 and 255

PRR_DeviceUid

string

String length: inclusive between 0 and 255

Xenia_PurchaseReturnLineItem

Collection of Xenia_PurchaseReturnLineItem

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "PRR_Uid": "sample string 1",
    "PRR_Date": "2025-12-06T09:18:19.7395282+05:30",
    "PRR_NoPrefix": "sample string 2",
    "PRR_Number": 1,
    "PRR_PurchaseUid": "sample string 3",
    "PRR_InvoiceNumber": "sample string 4",
    "PRR_InvoiceDate": "sample string 5",
    "PRR_VendorUid": "sample string 6",
    "PRR_VendorName": "sample string 7",
    "PRR_WarehouseUid": "sample string 8",
    "PRR_WarehouseName": "sample string 9",
    "PRR_MOP": 1,
    "PRR_GrossAmount": 1.0,
    "PRR_Discount": 1.0,
    "PRR_NetAmount": 1.0,
    "PRR_TaxableAmount": 1.0,
    "PRR_Exempted": 1.0,
    "PRR_TaxAmount": 1.0,
    "PRR_KFCessAmount": 1.0,
    "PRR_CessAmount": 1.0,
    "PRR_AddCessAmount": 1.0,
    "PRR_Amount": 1.0,
    "PRR_BillDiscount": 1.0,
    "PRR_OtherExpense": 1.0,
    "PRR_FreightCharge": 1.0,
    "PRR_RoundOff": 1.0,
    "PRR_TotalAmount": 1.0,
    "PRR_Narration": "sample string 10",
    "PRR_Deleted": 1,
    "PRR_CreatedOn": "2025-12-06T09:18:19.7395282+05:30",
    "PRR_CreatedBy": "sample string 11",
    "PRR_ModifiedOn": "2025-12-06T09:18:19.7395282+05:30",
    "PRR_ModifiedBy": "sample string 12",
    "PRR_CompanyUid": "sample string 13",
    "PRR_DeviceUid": "sample string 14",
    "Xenia_PurchaseReturnLineItem": [
      {
        "$id": "2",
        "PRL_ID": "sample string 1",
        "PRL_ReturnUid": "sample string 2",
        "PRL_ItemUid": "sample string 3",
        "PRL_ItemCode": "sample string 4",
        "PRL_ItemName": "sample string 5",
        "PRL_Qty": 1.1,
        "PRL_FreeQty": 1.1,
        "PRL_Rate": 1.1,
        "PRL_GrossAmount": 1.0,
        "PRL_DiscountPer": 1.1,
        "PRL_Discount": 1.0,
        "PRL_NetAmount": 1.0,
        "PRL_TaxableAmount": 1.0,
        "PRL_Exempted": 1.0,
        "PRL_TaxInclu": true,
        "PRL_TaxPer": 1.1,
        "PRL_TaxAmount": 1.0,
        "PRL_KFCessPer": 1.1,
        "PRL_KFCessAmount": 1.0,
        "PRL_CessPer": 1.1,
        "PRL_CessAmount": 1.0,
        "PRL_AddCessRate": 1.1,
        "PRL_AddCessAmount": 1.0,
        "PRL_Amount": 1.0,
        "PRL_CreatedOn": "2025-12-06T09:18:19.7395282+05:30",
        "PRL_CreatedBy": "sample string 6",
        "PRL_ModifiedOn": "2025-12-06T09:18:19.7395282+05:30",
        "PRL_ModifiedBy": "sample string 7",
        "PRL_CompanyUid": "sample string 8",
        "PRL_SalesRate": 1.1,
        "PRL_MrpRate": 1.1,
        "PRL_CostRate": 1.1,
        "PRL_Unit": "sample string 9",
        "Xenia_PurchaseReturn": {
          "$ref": "1"
        }
      },
      {
        "$ref": "2"
      }
    ]
  },
  {
    "$ref": "1"
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.