POST api/Payment/UpdateOrderPaymentGateway

Request Information

URI Parameters

None.

Body Parameters

UpdatePaymentGatewayRequestClass
NameDescriptionTypeAdditional information
RestaurantID

globally unique identifier

None.

OrderID

globally unique identifier

None.

PaymentGatewayID

globally unique identifier

None.

PaymentGatewaySettingID

globally unique identifier

None.

UserID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "RestaurantID": "b75f71d6-9e33-47f5-b540-5db6a16a7c8b",
  "OrderID": "4cabf3a3-69a0-4726-8c7e-690ff21fe41b",
  "PaymentGatewayID": "b443c311-fde1-4c53-ac87-96b3f126b5ce",
  "PaymentGatewaySettingID": "802c5e75-5cd6-46bd-a280-99356420a345",
  "UserID": "8efbe5c6-903c-411f-9eaa-ce3b9a4eab11"
}

application/xml, text/xml

Sample:
<UpdatePaymentGatewayRequestClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass">
  <OrderID>4cabf3a3-69a0-4726-8c7e-690ff21fe41b</OrderID>
  <PaymentGatewayID>b443c311-fde1-4c53-ac87-96b3f126b5ce</PaymentGatewayID>
  <PaymentGatewaySettingID>802c5e75-5cd6-46bd-a280-99356420a345</PaymentGatewaySettingID>
  <RestaurantID>b75f71d6-9e33-47f5-b540-5db6a16a7c8b</RestaurantID>
  <UserID>8efbe5c6-903c-411f-9eaa-ce3b9a4eab11</UserID>
</UpdatePaymentGatewayRequestClass>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.