POST Api/Student/SaveCreditCard

Request Information

URI Parameters

None.

Body Parameters

Loan
NameDescriptionTypeAdditional information
LoanId

integer

None.

StudentId

integer

None.

BankRefNo

string

None.

Amount

decimal number

None.

CreditDate

date

None.

CreatedBy

integer

None.

CreatedOn

date

None.

UpdatedBy

integer

None.

UpdatedOn

date

None.

StatusId

integer

None.

Remarks

string

None.

BillId

integer

None.

BankLedgerId

integer

None.

StudentRemarks

string

None.

Status

string

None.

CompanyId

integer

None.

Message

string

None.

dtLoad

DataTable

None.

Request Formats

application/json, text/json

Sample:
{
  "LoanId": 1,
  "StudentId": 2,
  "BankRefNo": "sample string 3",
  "Amount": 4.0,
  "CreditDate": "2026-08-20T00:40:48.8663021-07:00",
  "CreatedBy": 6,
  "CreatedOn": "2026-08-20T00:40:48.8663021-07:00",
  "UpdatedBy": 8,
  "UpdatedOn": "2026-08-20T00:40:48.8663021-07:00",
  "StatusId": 10,
  "Remarks": "sample string 11",
  "BillId": 12,
  "BankLedgerId": 13,
  "StudentRemarks": "sample string 14",
  "Status": "sample string 15",
  "CompanyId": 16,
  "Message": "sample string 17",
  "dtLoad": null
}

text/xml

Sample:
<Loan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Skfgi.Models.ViewModels">
  <Amount>4</Amount>
  <BankLedgerId>13</BankLedgerId>
  <BankRefNo>sample string 3</BankRefNo>
  <BillId>12</BillId>
  <CompanyId>16</CompanyId>
  <CreatedBy>6</CreatedBy>
  <CreatedOn>2026-08-20T00:40:48.8663021-07:00</CreatedOn>
  <CreditDate>2026-08-20T00:40:48.8663021-07:00</CreditDate>
  <LoanId>1</LoanId>
  <Message>sample string 17</Message>
  <Remarks>sample string 11</Remarks>
  <Status>sample string 15</Status>
  <StatusId>10</StatusId>
  <StudentId>2</StudentId>
  <StudentRemarks>sample string 14</StudentRemarks>
  <UpdatedBy>8</UpdatedBy>
  <UpdatedOn>2026-08-20T00:40:48.8663021-07:00</UpdatedOn>
  <dtLoad i:nil="true" />
</Loan>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.