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": "8d66de09-ed20-44b5-9255-afdd78cc4615",
"BranchIDF": "253e79cd-658a-42d4-85eb-b22733b33e30",
"TrackingOrderID": "sample string 3",
"PaymentGatewayIDF": "dcce92fe-aa9b-4342-a610-66e17f1d7ddd",
"PaymentGatewaySettingIDF": "f42f6abe-90f4-4432-b2bf-5991f16e79e7",
"UserIDF": "fa05332c-44d3-4e98-ae1b-5770021f5de4",
"ReasonForChangingPaymentType": "sample string 7",
"RequestData": "sample string 8",
"GeneralManagerUserID": "98140330-4c27-4a35-b5a9-0c3d0f656840",
"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>253e79cd-658a-42d4-85eb-b22733b33e30</BranchIDF> <DueAmountCash>1</DueAmountCash> <GeneralManagerUserID>98140330-4c27-4a35-b5a9-0c3d0f656840</GeneralManagerUserID> <PayAmountCash>1</PayAmountCash> <PaymentGatewayIDF>dcce92fe-aa9b-4342-a610-66e17f1d7ddd</PaymentGatewayIDF> <PaymentGatewaySettingIDF>f42f6abe-90f4-4432-b2bf-5991f16e79e7</PaymentGatewaySettingIDF> <ReasonForChangingPaymentType>sample string 7</ReasonForChangingPaymentType> <RequestData>sample string 8</RequestData> <RestaurantIDF>8d66de09-ed20-44b5-9255-afdd78cc4615</RestaurantIDF> <ReturnAmountCash>1</ReturnAmountCash> <TrackingOrderID>sample string 3</TrackingOrderID> <UserIDF>fa05332c-44d3-4e98-ae1b-5770021f5de4</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. |