POST V2/RegNPay/SaveSubmitV2

Request Information

URI Parameters

None.

Body Parameters

RnpSubmit
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

FormId

globally unique identifier

None.

PrevSubmitId

globally unique identifier

None.

FormNo

string

None.

Discount

decimal number

None.

TotalAmount

decimal number

None.

TotalScore

decimal number

None.

IsPayed

boolean

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

GatewayResponse

string

None.

CreateBy

string

None.

UpdatePayedBy

string

None.

Signature

string

None.

Paymentmethod

integer

None.

PaymentKey

globally unique identifier

None.

QrCode

string

None.

PrevFormNo

string

None.

RnpSubmitDatas

Collection of RnpSubmitData

None.

RnpQuestions

Collection of RnpQuestion

None.

Currency

Currency

None.

CreateTime

date

None.

PaymentType

Collection of PaymentType

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'WS.Model.RegNPay.RnpAnswer'. Path 'RnpQuestions[0].RnpAnswers[0].SubOptionList'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'WS.Model.RegNPay.RnpAnswer'. Path 'RnpQuestions[0].RnpAnswers[0].SubOptionList'.

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

Response Information

Resource Description

SystemResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Message

string

None.

ReturnValue

Object

None.

Code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeeded": true,
  "Message": "sample string 2",
  "ReturnValue": {},
  "Code": 4
}