POST API/Chatbot/UpdateOrderStatus

Request Information

URI Parameters

None.

Body Parameters

PayementGatewayResponse
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

DishOrderID

string

None.

DishTokenNo

string

None.

ResponseText

string

None.

PGTranID

string

None.

PGAmount

string

None.

SessionID

string

None.

PaymentMode

string

None.

BankName

string

None.

PrimaryCommPercentage

decimal number

None.

Isd2h

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "DishOrderID": "sample string 2",
  "DishTokenNo": "sample string 3",
  "ResponseText": "sample string 4",
  "PGTranID": "sample string 5",
  "PGAmount": "sample string 6",
  "SessionID": "sample string 7",
  "PaymentMode": "sample string 8",
  "BankName": "sample string 9",
  "PrimaryCommPercentage": 10.0,
  "Isd2h": 11
}

application/xml, text/xml

Sample:
<PayementGatewayResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Master.PrePaidHomeDelivery">
  <BankName>sample string 9</BankName>
  <DishOrderID>sample string 2</DishOrderID>
  <DishTokenNo>sample string 3</DishTokenNo>
  <Isd2h>11</Isd2h>
  <PGAmount>sample string 6</PGAmount>
  <PGTranID>sample string 5</PGTranID>
  <PaymentMode>sample string 8</PaymentMode>
  <PrimaryCommPercentage>10</PrimaryCommPercentage>
  <ResponseCode>1</ResponseCode>
  <ResponseText>sample string 4</ResponseText>
  <SessionID>sample string 7</SessionID>
</PayementGatewayResponse>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultInfoOfInt32
NameDescriptionTypeAdditional information
AccessToken

string

None.

TokenType

string

None.

ResultType

TypeOfResult

None.

ResultCode

integer

None.

ResultDesc

string

None.

Result

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "AccessToken": "sample string 1",
  "TokenType": "sample string 2",
  "ResultType": 0,
  "ResultCode": 3,
  "ResultDesc": "sample string 4",
  "Result": 5
}

application/xml, text/xml

Sample:
<ResultInfoOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Common">
  <AccessToken>sample string 1</AccessToken>
  <Result>5</Result>
  <ResultCode>3</ResultCode>
  <ResultDesc>sample string 4</ResultDesc>
  <ResultType>Success</ResultType>
  <TokenType>sample string 2</TokenType>
</ResultInfoOfint>