POST api/vvuPayment/process

Request Information

URI Parameters

None.

Body Parameters

Payment
NameDescriptionTypeAdditional information
StudentId

string

Required

Amount

decimal number

Required

Range: inclusive between 0.01 and 10000

Class

string

Required

Request Formats

application/json, text/json

Sample:
{
  "StudentId": "sample string 1",
  "Amount": 2.0,
  "Class": "sample string 3"
}

application/xml, text/xml

Sample:
<Payment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudentService.Models">
  <Amount>2</Amount>
  <Class>sample string 3</Class>
  <StudentId>sample string 1</StudentId>
</Payment>

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.