POST Courier/PaymentHistory
Request Information
URI Parameters
None.
Body Parameters
PaymentHistoryRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| courier | integer |
None. |
|
| date1 | string |
None. |
|
| date2 | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"courier": 1,
"date1": "sample string 2",
"date2": "sample string 3"
}
application/xml, text/xml
Sample:
<Courier.PaymentHistoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlpaslanKuryeMobilAPI.Models"> <courier>1</courier> <date1>sample string 2</date1> <date2>sample string 3</date2> </Courier.PaymentHistoryRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PaymentHistoryReport| Name | Description | Type | Additional information |
|---|---|---|---|
| payments | Collection of CourierPaymentHistory |
None. |
|
| Total | decimal number |
None. |
|
| Cash | decimal number |
None. |
|
| Credit | decimal number |
None. |
|
| Online | decimal number |
None. |
|
| Food | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"payments": [
{
"ID": 1,
"Courier": "sample string 2",
"Restaurant": "sample string 3",
"Date": "2025-12-23T13:44:14.3341027+03:00",
"Price": 5.0,
"Cash": 6.0,
"CreditCard": 7.0,
"FoodCard": 8.0,
"Online": 9.0
},
{
"ID": 1,
"Courier": "sample string 2",
"Restaurant": "sample string 3",
"Date": "2025-12-23T13:44:14.3341027+03:00",
"Price": 5.0,
"Cash": 6.0,
"CreditCard": 7.0,
"FoodCard": 8.0,
"Online": 9.0
}
],
"Total": 1.0,
"Cash": 2.0,
"Credit": 3.0,
"Online": 4.0,
"Food": 5.0
}
application/xml, text/xml
Sample:
<Courier.PaymentHistoryReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlpaslanKuryeMobilAPI.Models">
<Cash>2</Cash>
<Credit>3</Credit>
<Food>5</Food>
<Online>4</Online>
<Total>1</Total>
<payments>
<Courier.CourierPaymentHistory>
<Cash>6</Cash>
<Courier>sample string 2</Courier>
<CreditCard>7</CreditCard>
<Date>2025-12-23T13:44:14.3341027+03:00</Date>
<FoodCard>8</FoodCard>
<ID>1</ID>
<Online>9</Online>
<Price>5</Price>
<Restaurant>sample string 3</Restaurant>
</Courier.CourierPaymentHistory>
<Courier.CourierPaymentHistory>
<Cash>6</Cash>
<Courier>sample string 2</Courier>
<CreditCard>7</CreditCard>
<Date>2025-12-23T13:44:14.3341027+03:00</Date>
<FoodCard>8</FoodCard>
<ID>1</ID>
<Online>9</Online>
<Price>5</Price>
<Restaurant>sample string 3</Restaurant>
</Courier.CourierPaymentHistory>
</payments>
</Courier.PaymentHistoryReport>