POST api/TransactionPayment
Request Information
URI Parameters
None.
Body Parameters
TransactionPaymentName | 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": "e738381a-6a33-43aa-9d56-f0606f3b3b0f", "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>e738381a-6a33-43aa-9d56-f0606f3b3b0f</PosTransactionId> <Status>5</Status> </TransactionPayment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |