POST api/tyrerebelt/insert

Request Information

URI Parameters

None.

Body Parameters

InsertTyreRebeltRequestModel
NameDescriptionTypeAdditional information
TyreRebeltID

integer

None.

FinancialYearID

integer

None.

BranchID

integer

None.

TyreID

integer

None.

Date

date

None.

Remarks

string

None.

UserID

integer

None.

Amount

decimal number

None.

PaymentModeID

integer

None.

PaymentLedgerID

integer

None.

ExpenseLedgerID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TyreRebeltID": 1,
  "FinancialYearID": 2,
  "BranchID": 3,
  "TyreID": 4,
  "Date": "2026-10-15T11:13:07.3500824-07:00",
  "Remarks": "sample string 6",
  "UserID": 7,
  "Amount": 8.0,
  "PaymentModeID": 9,
  "PaymentLedgerID": 10,
  "ExpenseLedgerID": 1
}

application/xml, text/xml

Sample:
<InsertTyreRebeltRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <Amount>8</Amount>
  <BranchID>3</BranchID>
  <Date>2026-10-15T11:13:07.3500824-07:00</Date>
  <ExpenseLedgerID>1</ExpenseLedgerID>
  <FinancialYearID>2</FinancialYearID>
  <PaymentLedgerID>10</PaymentLedgerID>
  <PaymentModeID>9</PaymentModeID>
  <Remarks>sample string 6</Remarks>
  <TyreID>4</TyreID>
  <TyreRebeltID>1</TyreRebeltID>
  <UserID>7</UserID>
</InsertTyreRebeltRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.