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": "91c1fbfb-4375-4d72-8265-c9ea44551162",
"BranchIDF": "85d0baf9-b455-4c61-b6cb-293c0436e9e8",
"TrackingOrderID": "sample string 3",
"PaymentGatewayIDF": "b6022af1-6c57-4ef3-af9b-fbf3dfb7e055",
"PaymentGatewaySettingIDF": "8bce818d-f985-4749-a2c7-5d462ba1a735",
"UserIDF": "6bc6506b-18fc-41ff-b188-d144c8f9adf1",
"ReasonForChangingPaymentType": "sample string 7",
"RequestData": "sample string 8",
"GeneralManagerUserID": "fd912e50-638f-4802-a082-417cb580ca7b",
"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>85d0baf9-b455-4c61-b6cb-293c0436e9e8</BranchIDF> <DueAmountCash>1</DueAmountCash> <GeneralManagerUserID>fd912e50-638f-4802-a082-417cb580ca7b</GeneralManagerUserID> <PayAmountCash>1</PayAmountCash> <PaymentGatewayIDF>b6022af1-6c57-4ef3-af9b-fbf3dfb7e055</PaymentGatewayIDF> <PaymentGatewaySettingIDF>8bce818d-f985-4749-a2c7-5d462ba1a735</PaymentGatewaySettingIDF> <ReasonForChangingPaymentType>sample string 7</ReasonForChangingPaymentType> <RequestData>sample string 8</RequestData> <RestaurantIDF>91c1fbfb-4375-4d72-8265-c9ea44551162</RestaurantIDF> <ReturnAmountCash>1</ReturnAmountCash> <TrackingOrderID>sample string 3</TrackingOrderID> <UserIDF>6bc6506b-18fc-41ff-b188-d144c8f9adf1</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. |