PUT api/TransactionPayment
Request Information
URI Parameters
None.
Body Parameters
TransactionPayment| Name | Description | Type | Additional information |
|---|---|---|---|
| PosTransactionId | globally unique identifier |
None. |
|
| PosPaymentId | integer |
None. |
|
| PaymentType | integer |
None. |
|
| Amount | decimal number |
None. |
|
| IsAccountOnFile | boolean |
None. |
|
| Status | integer |
None. |
|
| LastUpdatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PosTransactionId": "8f1ad065-35bf-45e6-ad39-00ba3184fd9b",
"PosPaymentId": 2,
"PaymentType": 3,
"Amount": 4.0,
"IsAccountOnFile": true,
"Status": 5,
"LastUpdatedBy": "sample string 6"
}
application/xml, text/xml
Sample:
<TransactionPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bba.Reservations.Models"> <Amount>4</Amount> <IsAccountOnFile>true</IsAccountOnFile> <LastUpdatedBy>sample string 6</LastUpdatedBy> <PaymentType>3</PaymentType> <PosPaymentId>2</PosPaymentId> <PosTransactionId>8f1ad065-35bf-45e6-ad39-00ba3184fd9b</PosTransactionId> <Status>5</Status> </TransactionPayment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |