POST api/members/transaction
Request Information
URI Parameters
None.
Body Parameters
InsertMemberTransactionModelName | Description | Type | Additional information |
---|---|---|---|
MemberId | integer |
None. |
|
ClientId | integer |
None. |
|
Amount | decimal number |
None. |
|
Description | string |
None. |
|
PaymentId | integer |
None. |
|
TransactionType | MemberTransactionType |
None. |
|
IsWalletTransaction | boolean |
None. |
|
Source | string |
None. |
Request Formats
[application/json, { "MemberId": 1, "ClientId": 2, "Amount": 3.0, "Description": "sample string 4", "PaymentId": 5, "TransactionType": 0, "IsWalletTransaction": true, "Source": "sample string 7" }][text/json, { "MemberId": 1, "ClientId": 2, "Amount": 3.0, "Description": "sample string 4", "PaymentId": 5, "TransactionType": 0, "IsWalletTransaction": true, "Source": "sample string 7" }][application/xml, <InsertMemberTransactionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rebelity.Membership.Models"> <Amount>3</Amount> <ClientId>2</ClientId> <Description>sample string 4</Description> <IsWalletTransaction>true</IsWalletTransaction> <MemberId>1</MemberId> <PaymentId>5</PaymentId> <Source>sample string 7</Source> <TransactionType>Unspecified</TransactionType> </InsertMemberTransactionModel>][text/xml, <InsertMemberTransactionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rebelity.Membership.Models"> <Amount>3</Amount> <ClientId>2</ClientId> <Description>sample string 4</Description> <IsWalletTransaction>true</IsWalletTransaction> <MemberId>1</MemberId> <PaymentId>5</PaymentId> <Source>sample string 7</Source> <TransactionType>Unspecified</TransactionType> </InsertMemberTransactionModel>][application/x-www-form-urlencoded, Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InsertMemberTransactionModel'.]Response Information
Resource Description
IHttpActionResultNone.