POST api/Student/CourseSubscriptionPayment

Request Information

URI Parameters

None.

Body Parameters

SavePaymentResponseData
NameDescriptionTypeAdditional information
StudentID

integer

Required

Amount

integer

Required

ExamId

integer

None.

Transactionstatus

boolean

Required

PaymentID

string

Required

OrderID

string

Required

CourseID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StudentID": 1,
  "Amount": 1,
  "ExamId": 2,
  "Transactionstatus": true,
  "PaymentID": "sample string 4",
  "OrderID": "sample string 5",
  "CourseID": 1
}

application/xml, text/xml

Sample:
<SavePaymentResponseData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OfficersAddaAPI.Models">
  <Amount>1</Amount>
  <CourseID>1</CourseID>
  <ExamId>2</ExamId>
  <OrderID>sample string 5</OrderID>
  <PaymentID>sample string 4</PaymentID>
  <StudentID>1</StudentID>
  <Transactionstatus>true</Transactionstatus>
</SavePaymentResponseData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.