POST Book/UpdateOrderedBookPaymentDetails

Request Information

URI Parameters

None.

Body Parameters

UpdateOrderedBookType
NameDescriptionTypeAdditional information
OrderId

integer

None.

PGResponse

string

None.

TransactionStatus

TransactionStatus

None.

OrderStatus

OrderStatus

None.

PaymentReferenceNo

string

None.

PaymentUniqueNo

string

None.

ModeOfPurchase

ModeOfPurchase

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderId": 1,
  "PGResponse": "sample string 2",
  "TransactionStatus": 1,
  "OrderStatus": 1,
  "PaymentReferenceNo": "sample string 3",
  "PaymentUniqueNo": "sample string 4",
  "ModeOfPurchase": 1
}

application/xml, text/xml

Sample:
<UpdateOrderedBookType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMW.TalkingPages.WebApi">
  <ModeOfPurchase>Mobile</ModeOfPurchase>
  <OrderId>1</OrderId>
  <OrderStatus>Pending</OrderStatus>
  <PGResponse>sample string 2</PGResponse>
  <PaymentReferenceNo>sample string 3</PaymentReferenceNo>
  <PaymentUniqueNo>sample string 4</PaymentUniqueNo>
  <TransactionStatus>Pending</TransactionStatus>
</UpdateOrderedBookType>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdateOrderedBookType'.

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.