POST BazaarAPI/CustomerTransaction
Request Information
URI Parameters
None.
Body Parameters
CustomerTransactionName | Description | Type | Additional information |
---|---|---|---|
AuthenticationKey | string |
Required |
|
CardNumber | string |
Required |
|
BillNumber | string |
Required |
|
BillAmount | decimal number |
Required |
|
UserId | string |
Required |
|
RedeemedAmount | decimal number |
Required |
|
TransactionId | integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "AuthenticationKey": "sample string 1", "CardNumber": "sample string 2", "BillNumber": "sample string 3", "BillAmount": 4.1, "UserId": "sample string 5", "RedeemedAmount": 6.1, "TransactionId": 7 }
application/octet-stream
Sample:
{"AuthenticationKey":"sample string 1","CardNumber":"sample string 2","BillNumber":"sample string 3","BillAmount":4.1,"UserId":"sample string 5","RedeemedAmount":6.1,"TransactionId":7}
application/xml, text/xml
Sample:
<CustomerTransaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BazaarDataAPI.JsonData"> <AuthenticationKey>sample string 1</AuthenticationKey> <BillAmount>4.1</BillAmount> <BillNumber>sample string 3</BillNumber> <CardNumber>sample string 2</CardNumber> <RedeemedAmount>6.1</RedeemedAmount> <TransactionId>7</TransactionId> <UserId>sample string 5</UserId> </CustomerTransaction>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of stringResponse Formats
application/json, text/json
Sample:
[ "sample string 1", "sample string 2" ]
application/octet-stream
Sample:
["sample string 1","sample string 2"]
application/xml, text/xml
Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <string>sample string 1</string> <string>sample string 2</string> </ArrayOfstring>