POST api/PaymentHistory/UpdatePaymentHistory

Request Information

URI Parameters

None.

Body Parameters

PaymentHistory
NameDescriptionTypeAdditional information
Id

integer

None.

OrderId

integer

None.

Date

string

None.

Amount

string

None.

Status

string

None.

PaymentMethod

string

None.

CreatedBy

string

None.

CreatedDate

string

None.

UpdatedBy

string

None.

UpdatedDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "OrderId": 2,
  "Date": "sample string 3",
  "Amount": "sample string 4",
  "Status": "sample string 5",
  "PaymentMethod": "sample string 6",
  "CreatedBy": "sample string 7",
  "CreatedDate": "sample string 8",
  "UpdatedBy": "sample string 9",
  "UpdatedDate": "sample string 10"
}

application/xml, text/xml

Sample:
<PaymentHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EcommerceWebApi.Models">
  <Amount>sample string 4</Amount>
  <CreatedBy>sample string 7</CreatedBy>
  <CreatedDate>sample string 8</CreatedDate>
  <Date>sample string 3</Date>
  <Id>1</Id>
  <OrderId>2</OrderId>
  <PaymentMethod>sample string 6</PaymentMethod>
  <Status>sample string 5</Status>
  <UpdatedBy>sample string 9</UpdatedBy>
  <UpdatedDate>sample string 10</UpdatedDate>
</PaymentHistory>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.