POST api/CardMark/Pay
Request Information
URI Parameters
None.
Body Parameters
CardMarkName | Description | Type | Additional information |
---|---|---|---|
StudentId | integer |
None. |
|
CourseId | integer |
None. |
|
CentreId | integer |
None. |
|
LecturerId | integer |
None. |
|
StudentRegNo | string |
None. |
|
StudentName | string |
None. |
|
HasAdmissionFee | boolean |
None. |
|
HasMaintenanceFee | boolean |
None. |
|
Date | string |
None. |
|
FeeTypeId | integer |
None. |
|
EditorUserName | string |
None. |
|
EditorRole | string |
None. |
|
Fee | decimal number |
None. |
|
HasPaymentDone | boolean |
None. |
|
FeeTypeEndDate | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "studentId": 1, "courseId": 2, "centreId": 3, "lecturerId": 4, "studentRegNo": "sample string 5", "studentName": "sample string 6", "hasAdmissionFee": true, "hasMaintenanceFee": true, "date": "sample string 9", "feeTypeId": 10, "editorUserName": "sample string 11", "editorRole": "sample string 12", "fee": 13.1, "hasPaymentDone": true, "feeTypeEndDate": "sample string 15" }
application/xml, text/xml
Sample:
<CardMark xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO"> <CentreId>3</CentreId> <CourseId>2</CourseId> <Date>sample string 9</Date> <EditorRole>sample string 12</EditorRole> <EditorUserName>sample string 11</EditorUserName> <Fee>13.1</Fee> <FeeTypeEndDate>sample string 15</FeeTypeEndDate> <FeeTypeId>10</FeeTypeId> <HasAdmissionFee>true</HasAdmissionFee> <HasMaintenanceFee>true</HasMaintenanceFee> <HasPaymentDone>true</HasPaymentDone> <LecturerId>4</LecturerId> <StudentId>1</StudentId> <StudentName>sample string 6</StudentName> <StudentRegNo>sample string 5</StudentRegNo> </CardMark>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>