POST api/inventory/transaction/delete

Request Information

URI Parameters

None.

Body Parameters

DeleteInvTransactionMasterRequestModel
NameDescriptionTypeAdditional information
InvTransactionMasterID

integer

None.

VType

string

None.

BranchID

integer

None.

LedgerID

integer

None.

SalesAccountID

integer

None.

CashAccountID

integer

None.

PurchaseAccountID

integer

None.

FinancialYearID

integer

None.

UserID

integer

None.

DeleteReason

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InvTransactionMasterID": 1,
  "VType": "sample string 2",
  "BranchID": 3,
  "LedgerID": 4,
  "SalesAccountID": 5,
  "CashAccountID": 6,
  "PurchaseAccountID": 7,
  "FinancialYearID": 8,
  "UserID": 9,
  "DeleteReason": "sample string 10"
}

application/xml, text/xml

Sample:
<DeleteInvTransactionMasterRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <BranchID>3</BranchID>
  <CashAccountID>6</CashAccountID>
  <DeleteReason>sample string 10</DeleteReason>
  <FinancialYearID>8</FinancialYearID>
  <InvTransactionMasterID>1</InvTransactionMasterID>
  <LedgerID>4</LedgerID>
  <PurchaseAccountID>7</PurchaseAccountID>
  <SalesAccountID>5</SalesAccountID>
  <UserID>9</UserID>
  <VType>sample string 2</VType>
</DeleteInvTransactionMasterRequestModel>

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 'DeleteInvTransactionMasterRequestModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.