GET api/PaymentHistory/GetAllPaymentHistory
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of PaymentHistoryName | Description | Type | Additional 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. |
Response 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" }, { "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:
<ArrayOfPaymentHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EcommerceWebApi.Models"> <PaymentHistory> <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> <PaymentHistory> <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> </ArrayOfPaymentHistory>