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": "ed763be0-ffd3-4a93-aea3-12ce9bb6fbf8",
"BranchIDF": "b25d8d9e-0a39-45d6-bf24-1a049dd4c919",
"TrackingOrderID": "sample string 3",
"PaymentGatewayIDF": "d775877d-71ab-4a18-b12a-fbc5d71e4a03",
"PaymentGatewaySettingIDF": "5df8c24e-49a4-4859-bf1c-b81f4cda5766",
"UserIDF": "4c39f84a-16ef-48bc-863f-95783ed78422",
"ReasonForChangingPaymentType": "sample string 7",
"RequestData": "sample string 8",
"GeneralManagerUserID": "b0ee7c88-8f36-48cf-854a-6efce590e1f8",
"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>b25d8d9e-0a39-45d6-bf24-1a049dd4c919</BranchIDF> <DueAmountCash>1</DueAmountCash> <GeneralManagerUserID>b0ee7c88-8f36-48cf-854a-6efce590e1f8</GeneralManagerUserID> <PayAmountCash>1</PayAmountCash> <PaymentGatewayIDF>d775877d-71ab-4a18-b12a-fbc5d71e4a03</PaymentGatewayIDF> <PaymentGatewaySettingIDF>5df8c24e-49a4-4859-bf1c-b81f4cda5766</PaymentGatewaySettingIDF> <ReasonForChangingPaymentType>sample string 7</ReasonForChangingPaymentType> <RequestData>sample string 8</RequestData> <RestaurantIDF>ed763be0-ffd3-4a93-aea3-12ce9bb6fbf8</RestaurantIDF> <ReturnAmountCash>1</ReturnAmountCash> <TrackingOrderID>sample string 3</TrackingOrderID> <UserIDF>4c39f84a-16ef-48bc-863f-95783ed78422</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. |