POST PaySuccess

Request Information

URI Parameters

None.

Body Parameters

PayInput
NameDescriptionTypeAdditional information
OpenId

string

None.

StudentId

string

None.

OrgId

string

None.

StudentCode

string

None.

ProductId

string

None.

OrgName

string

None.

StudentName

string

None.

ClassId

string

None.

ClassName

string

None.

RegYear

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OpenId": "sample string 1",
  "StudentId": "sample string 2",
  "OrgId": "sample string 3",
  "StudentCode": "sample string 4",
  "ProductId": "sample string 5",
  "OrgName": "sample string 6",
  "StudentName": "sample string 7",
  "ClassId": "sample string 8",
  "ClassName": "sample string 9",
  "RegYear": 1
}

text/xml

Sample:
<PayInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ems.Domain.Ast.Dtos.InputDtos">
  <ClassId>sample string 8</ClassId>
  <ClassName>sample string 9</ClassName>
  <OpenId>sample string 1</OpenId>
  <OrgId>sample string 3</OrgId>
  <OrgName>sample string 6</OrgName>
  <ProductId>sample string 5</ProductId>
  <RegYear>1</RegYear>
  <StudentCode>sample string 4</StudentCode>
  <StudentId>sample string 2</StudentId>
  <StudentName>sample string 7</StudentName>
</PayInput>

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

Response Information

Resource Description

ServiceResult
NameDescriptionTypeAdditional information
RetCode

integer

None.

Msg

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "RetCode": 1,
  "Msg": "sample string 2",
  "Result": {}
}

text/xml

Sample:
<ServiceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tdf.Utils.Networking">
  <Msg>sample string 2</Msg>
  <Result />
  <RetCode>1</RetCode>
</ServiceResult>