POST api/Card/SaleCardAccount
Request Information
URI Parameters
None.
Body Parameters
SaleRequestName | Description | Type | Additional information |
---|---|---|---|
cardNumber | string |
None. |
|
cardType | integer |
None. |
|
productId | integer |
None. |
|
deviceId | integer |
None. |
|
employeeId | integer |
None. |
|
deviceType | integer |
None. |
|
deviceSeq | integer |
None. |
|
operationId | integer |
None. |
|
deviceDate | string |
None. |
|
amount | decimal number |
None. |
|
paypalTxnId | string |
None. |
|
PIN | string |
None. |
|
enabled | boolean |
None. |
|
CompanyId | integer |
None. |
|
PrestoID | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "cardNumber": "sample string 1", "cardType": 2, "productId": 3, "deviceId": 4, "employeeId": 5, "deviceType": 6, "deviceSeq": 7, "operationId": 8, "deviceDate": "sample string 9", "amount": 10.0, "paypalTxnId": "sample string 11", "PIN": "sample string 12", "enabled": true, "CompanyId": 14, "PrestoID": "sample string 15" }
application/xml, text/xml
Sample:
<CardController.SaleRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers"> <CompanyId>14</CompanyId> <PIN>sample string 12</PIN> <PrestoID>sample string 15</PrestoID> <amount>10</amount> <cardNumber>sample string 1</cardNumber> <cardType>2</cardType> <deviceDate>sample string 9</deviceDate> <deviceId>4</deviceId> <deviceSeq>7</deviceSeq> <deviceType>6</deviceType> <employeeId>5</employeeId> <enabled>true</enabled> <operationId>8</operationId> <paypalTxnId>sample string 11</paypalTxnId> <productId>3</productId> </CardController.SaleRequest>
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>