POST api/pointtransaction/reverse

Request Information

URI Parameters

None.

Body Parameters

ReversePointTransactionRequestModel
NameDescriptionTypeAdditional information
RefType

string

None.

RefID

integer

None.

BranchID

integer

None.

FinancialYearID

integer

None.

UserID

integer

None.

FallbackLedgerID

integer

None.

FallbackPoints

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "RefType": "sample string 1",
  "RefID": 2,
  "BranchID": 3,
  "FinancialYearID": 4,
  "UserID": 5,
  "FallbackLedgerID": 1,
  "FallbackPoints": 1.0
}

application/xml, text/xml

Sample:
<ReversePointTransactionRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <BranchID>3</BranchID>
  <FallbackLedgerID>1</FallbackLedgerID>
  <FallbackPoints>1</FallbackPoints>
  <FinancialYearID>4</FinancialYearID>
  <RefID>2</RefID>
  <RefType>sample string 1</RefType>
  <UserID>5</UserID>
</ReversePointTransactionRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.