POST api/transaction/PostTransaction
Request Information
URI Parameters
None.
Body Parameters
Transaction| Name | Description | Type | Additional information |
|---|---|---|---|
| transaction_id | string |
None. |
|
| user_id | integer |
None. |
|
| connectsPackagesId | integer |
None. |
|
| Currency_code | string |
None. |
|
| Amount | decimal number |
None. |
|
| createdDate | date |
None. |
|
| Tid | integer |
None. |
|
| discountedAmount | decimal number |
None. |
|
| actualAmount | integer |
None. |
|
| Payment_Source | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"transaction_id": "sample string 1",
"user_id": 1,
"connectsPackagesId": 1,
"Currency_code": "sample string 2",
"Amount": 3.1,
"createdDate": "2025-11-30T23:02:51.1314016+00:00",
"Tid": 4,
"discountedAmount": 1.1,
"actualAmount": 1,
"Payment_Source": "sample string 5"
}
application/xml, text/xml
Sample:
<Transaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/asanRishta.Models"> <Amount>3.1</Amount> <Currency_code>sample string 2</Currency_code> <Payment_Source>sample string 5</Payment_Source> <Tid>4</Tid> <actualAmount>1</actualAmount> <connectsPackagesId>1</connectsPackagesId> <createdDate>2025-11-30T23:02:51.1314016+00:00</createdDate> <discountedAmount>1.1</discountedAmount> <transaction_id>sample string 1</transaction_id> <user_id>1</user_id> </Transaction>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>