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": "bb91ce3a-f172-4176-8e7b-2196aabb91c1",
"BranchIDF": "985f0538-948c-4930-bb53-89f910b357af",
"TrackingOrderID": "sample string 3",
"PaymentGatewayIDF": "d3ba0c3a-46f8-45cc-b0a7-758e74b0da24",
"PaymentGatewaySettingIDF": "128c775a-5caf-41ad-aa1c-1d283ded07ee",
"UserIDF": "84b9f8b4-104d-41a8-b807-5ff7093e493b",
"ReasonForChangingPaymentType": "sample string 7",
"RequestData": "sample string 8",
"GeneralManagerUserID": "46fbba6d-53c2-4050-a758-14b6f0e121f8",
"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>985f0538-948c-4930-bb53-89f910b357af</BranchIDF> <DueAmountCash>1</DueAmountCash> <GeneralManagerUserID>46fbba6d-53c2-4050-a758-14b6f0e121f8</GeneralManagerUserID> <PayAmountCash>1</PayAmountCash> <PaymentGatewayIDF>d3ba0c3a-46f8-45cc-b0a7-758e74b0da24</PaymentGatewayIDF> <PaymentGatewaySettingIDF>128c775a-5caf-41ad-aa1c-1d283ded07ee</PaymentGatewaySettingIDF> <ReasonForChangingPaymentType>sample string 7</ReasonForChangingPaymentType> <RequestData>sample string 8</RequestData> <RestaurantIDF>bb91ce3a-f172-4176-8e7b-2196aabb91c1</RestaurantIDF> <ReturnAmountCash>1</ReturnAmountCash> <TrackingOrderID>sample string 3</TrackingOrderID> <UserIDF>84b9f8b4-104d-41a8-b807-5ff7093e493b</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. |