POST api/Payment/CreatePayment
Request Information
URI Parameters
None.
Body Parameters
PaymentProps| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentId | string |
None. |
|
| OrderId | string |
None. |
|
| RegistrationId | string |
None. |
|
| PaymentDate | string |
None. |
|
| PaymentMethod | string |
None. |
|
| Amount | integer |
None. |
|
| Status | string |
None. |
|
| TransactionId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PaymentId": "sample string 1",
"OrderId": "sample string 2",
"RegistrationId": "sample string 3",
"PaymentDate": "sample string 4",
"PaymentMethod": "sample string 5",
"Amount": 6,
"Status": "sample string 7",
"TransactionId": "sample string 8"
}
application/xml, text/xml
Sample:
<PaymentProps xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KalingarayanRunnersApi.Models"> <Amount>6</Amount> <OrderId>sample string 2</OrderId> <PaymentDate>sample string 4</PaymentDate> <PaymentId>sample string 1</PaymentId> <PaymentMethod>sample string 5</PaymentMethod> <RegistrationId>sample string 3</RegistrationId> <Status>sample string 7</Status> <TransactionId>sample string 8</TransactionId> </PaymentProps>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataSet| Name | Description | Type | Additional information |
|---|---|---|---|
| RemotingFormat | SerializationFormat |
None. |
|
| SchemaSerializationMode | SchemaSerializationMode |
None. |
|
| CaseSensitive | boolean |
None. |
|
| DefaultViewManager | Collection of Object |
None. |
|
| EnforceConstraints | boolean |
None. |
|
| DataSetName | string |
None. |
|
| Namespace | string |
None. |
|
| Prefix | string |
None. |
|
| ExtendedProperties | Dictionary of Object [key] and Object [value] |
None. |
|
| HasErrors | boolean |
None. |
|
| IsInitialized | boolean |
None. |
|
| Locale | CultureInfo |
None. |
|
| Site | ISite |
None. |
|
| Relations | Collection of Object |
None. |
|
| Tables | Collection of Object |
None. |
|
| Container | IContainer |
None. |
|
| DesignMode | boolean |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.