POST api/Payment8822/AddPayment8822Admin
Request Information
URI Parameters
None.
Body Parameters
Payment8822DTO| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| cardNumber | string |
None. |
|
| nameOnCard | string |
None. |
|
| cardDate | string |
None. |
|
| cvc | string |
None. |
|
| billingAddress | string |
None. |
|
| city | string |
None. |
|
| zip | string |
None. |
|
| amount | string |
None. |
|
| transactionId | string |
None. |
|
| responseCode | string |
None. |
|
| messageCode | string |
None. |
|
| description | string |
None. |
|
| authCode | string |
None. |
|
| errorCode | string |
None. |
|
| errorMessage | string |
None. |
|
| accountType | string |
None. |
|
| stateId | integer |
None. |
|
| form8822Id | integer |
None. |
|
| paymentsuccess | boolean |
None. |
|
| isPaymentAndReject | boolean |
None. |
|
| registerTime | date |
None. |
|
| registerUser | string |
None. |
|
| Form8822b | Form8822DTO |
None. |
|
| state | StateDTO |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IdentityResultDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| errorMessage | string |
None. |
|
| error | Collection of string |
None. |
|
| result | string |
None. |
|
| resultObject | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"errorMessage": "sample string 2",
"error": [
"sample string 1",
"sample string 2"
],
"result": "sample string 3",
"resultObject": [
{},
{}
]
}
application/xml, text/xml
Sample:
<IdentityResultDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.DTOs">
<error xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</error>
<errorMessage>sample string 2</errorMessage>
<result>sample string 3</result>
<resultObject xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:anyType />
<d2p1:anyType />
</resultObject>
<success>true</success>
</IdentityResultDTO>