POST api/Ledger

Request Information

URI Parameters

None.

Body Parameters

StudentLedger
NameDescriptionTypeAdditional information
Id

integer

None.

TermId

integer

None.

StudentId

string

String length: inclusive between 0 and 20

TransactionName

string

String length: inclusive between 0 and 500

ORNo

string

String length: inclusive between 0 and 20

TransactionDate

date

None.

Amount

decimal number

None.

isCredited

boolean

None.

User

string

String length: inclusive between 0 and 20

islocked

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "termId": 2,
  "studentId": "sample string 3",
  "transactionName": "sample string 4",
  "orNo": "sample string 5",
  "transactionDate": "2024-09-20T02:05:18.4342493+08:00",
  "amount": 7.0,
  "isCredited": true,
  "user": "sample string 9",
  "islocked": true
}

text/html

Sample:
{"id":1,"termId":2,"studentId":"sample string 3","transactionName":"sample string 4","orNo":"sample string 5","transactionDate":"2024-09-20T02:05:18.4342493+08:00","amount":7.0,"isCredited":true,"user":"sample string 9","islocked":true}

application/xml, text/xml

Sample:
<StudentLedger xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UBBEAMS.Infrastructure.Models">
  <Amount>7</Amount>
  <Id>1</Id>
  <ORNo>sample string 5</ORNo>
  <StudentId>sample string 3</StudentId>
  <TermId>2</TermId>
  <TransactionDate>2024-09-20T02:05:18.4342493+08:00</TransactionDate>
  <TransactionName>sample string 4</TransactionName>
  <User>sample string 9</User>
  <isCredited>true</isCredited>
  <islocked>true</islocked>
</StudentLedger>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.