POST api/POSOrder/UpdatePaymentType
Request Information
URI Parameters
None.
Body Parameters
POSUpdatePaymentTypeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| RestaurantIDF | globally unique identifier |
None. |
|
| BranchIDF | globally unique identifier |
None. |
|
| TrackingOrderID | string |
None. |
|
| PaymentGatewayIDF | globally unique identifier |
None. |
|
| PaymentGatewaySettingIDF | globally unique identifier |
None. |
|
| UserIDF | globally unique identifier |
None. |
|
| ReasonForChangingPaymentType | string |
None. |
|
| RequestData | string |
None. |
|
| GeneralManagerUserID | globally unique identifier |
None. |
|
| PayAmountCash | decimal number |
None. |
|
| DueAmountCash | decimal number |
None. |
|
| ReturnAmountCash | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"RestaurantIDF": "e8ced9d6-2c81-4ebf-8a3c-65aaac082c6a",
"BranchIDF": "641cffe6-9287-472b-a1da-74ca0affa9ed",
"TrackingOrderID": "sample string 3",
"PaymentGatewayIDF": "63c1994b-960d-4626-8526-95d158675ec5",
"PaymentGatewaySettingIDF": "b86bc564-86f0-47fe-a097-7dd15880df39",
"UserIDF": "8f70aee4-81d6-4916-88be-c6b2c06d9c91",
"ReasonForChangingPaymentType": "sample string 7",
"RequestData": "sample string 8",
"GeneralManagerUserID": "2f69b33b-6668-4a24-956e-3e32c3b6edab",
"PayAmountCash": 1.0,
"DueAmountCash": 1.0,
"ReturnAmountCash": 1.0
}
application/xml, text/xml
Sample:
<POSUpdatePaymentTypeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass"> <BranchIDF>641cffe6-9287-472b-a1da-74ca0affa9ed</BranchIDF> <DueAmountCash>1</DueAmountCash> <GeneralManagerUserID>2f69b33b-6668-4a24-956e-3e32c3b6edab</GeneralManagerUserID> <PayAmountCash>1</PayAmountCash> <PaymentGatewayIDF>63c1994b-960d-4626-8526-95d158675ec5</PaymentGatewayIDF> <PaymentGatewaySettingIDF>b86bc564-86f0-47fe-a097-7dd15880df39</PaymentGatewaySettingIDF> <ReasonForChangingPaymentType>sample string 7</ReasonForChangingPaymentType> <RequestData>sample string 8</RequestData> <RestaurantIDF>e8ced9d6-2c81-4ebf-8a3c-65aaac082c6a</RestaurantIDF> <ReturnAmountCash>1</ReturnAmountCash> <TrackingOrderID>sample string 3</TrackingOrderID> <UserIDF>8f70aee4-81d6-4916-88be-c6b2c06d9c91</UserIDF> </POSUpdatePaymentTypeRequest>
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. |