POST api/purchaseReturn/PurchaseReturnDetail

Request Information

URI Parameters

None.

Body Parameters

PurchaseReturn
NameDescriptionTypeAdditional information
PurchaseReturnId

integer

None.

SupplierId

integer

None.

ReturnDate

date

None.

TotalCostAmount

decimal number

None.

TotalTaxableAmount

decimal number

None.

TotalCGSTAmount

decimal number

None.

TotalSGSTAmount

decimal number

None.

TotalIGSTAmount

decimal number

None.

TotalGrandTotal

decimal number

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

CreatedOn

date

None.

UpdatedOn

date

None.

Supplier

Supplier

None.

PurchaseReturnItems

Collection of PurchaseReturnItem

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'Staff' with type 'Project.Staff'. Path 'Supplier.Purchases[0].Staff.Backups[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'Staff' with type 'Project.Staff'. Path 'Supplier.Purchases[0].Staff.Backups[0]'.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'Project.MedicineSellReturnItem' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PurchaseReturn'.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
{}

text/xml

Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />