GET Package/Detail?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PackageDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| PackageNumber | string |
None. |
|
| Restaurant | string |
None. |
|
| RestaurantAddress | string |
None. |
|
| RestaurantPhone | string |
None. |
|
| RestaurantLatitude | string |
None. |
|
| RestaurantLongitude | string |
None. |
|
| Buyer | string |
None. |
|
| BuyerAddress | string |
None. |
|
| BuyerPhone | string |
None. |
|
| BuyerLatitude | string |
None. |
|
| BuyerLongitude | string |
None. |
|
| PackageNote | string |
None. |
|
| PaymentMethod | string |
None. |
|
| Price | decimal number |
None. |
|
| StatusID | integer |
None. |
|
| PaymentID | integer |
None. |
|
| Status | string |
None. |
|
| Date | date |
None. |
|
| TargetDate | date |
None. |
|
| StatusList | Collection of PackageStatusHistory |
None. |
|
| Products | Collection of PackageDetailProducts |
None. |
|
| Payments | Collection of PackageDetailPayments |
None. |
|
| IsPaymentGetFromCourier | boolean |
None. |
|
| IsPaymentEditable | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"PackageNumber": "sample string 2",
"Restaurant": "sample string 3",
"RestaurantAddress": "sample string 4",
"RestaurantPhone": "sample string 5",
"RestaurantLatitude": "sample string 6",
"RestaurantLongitude": "sample string 7",
"Buyer": "sample string 8",
"BuyerAddress": "sample string 9",
"BuyerPhone": "sample string 10",
"BuyerLatitude": "sample string 11",
"BuyerLongitude": "sample string 12",
"PackageNote": "sample string 13",
"PaymentMethod": "sample string 14",
"Price": 15.0,
"StatusID": 16,
"PaymentID": 17,
"Status": "sample string 18",
"Date": "2025-12-23T13:43:40.8847373+03:00",
"TargetDate": "2025-12-23T13:43:40.8847373+03:00",
"StatusList": [
{
"Date": "2025-12-23T13:43:40.8847373+03:00",
"Status": "sample string 2"
},
{
"Date": "2025-12-23T13:43:40.8847373+03:00",
"Status": "sample string 2"
}
],
"Products": [
{
"Name": "sample string 1",
"Options": "sample string 2",
"Count": 3
},
{
"Name": "sample string 1",
"Options": "sample string 2",
"Count": 3
}
],
"Payments": [
{
"Name": "sample string 1",
"Price": 2.0
},
{
"Name": "sample string 1",
"Price": 2.0
}
],
"IsPaymentGetFromCourier": true,
"IsPaymentEditable": true
}
application/xml, text/xml
Sample:
<Package.PackageDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlpaslanKuryeMobilAPI.Models">
<Buyer>sample string 8</Buyer>
<BuyerAddress>sample string 9</BuyerAddress>
<BuyerLatitude>sample string 11</BuyerLatitude>
<BuyerLongitude>sample string 12</BuyerLongitude>
<BuyerPhone>sample string 10</BuyerPhone>
<Date>2025-12-23T13:43:40.8847373+03:00</Date>
<ID>1</ID>
<IsPaymentEditable>true</IsPaymentEditable>
<IsPaymentGetFromCourier>true</IsPaymentGetFromCourier>
<PackageNote>sample string 13</PackageNote>
<PackageNumber>sample string 2</PackageNumber>
<PaymentID>17</PaymentID>
<PaymentMethod>sample string 14</PaymentMethod>
<Payments>
<Package.PackageDetailPayments>
<Name>sample string 1</Name>
<Price>2</Price>
</Package.PackageDetailPayments>
<Package.PackageDetailPayments>
<Name>sample string 1</Name>
<Price>2</Price>
</Package.PackageDetailPayments>
</Payments>
<Price>15</Price>
<Products>
<Package.PackageDetailProducts>
<Count>3</Count>
<Name>sample string 1</Name>
<Options>sample string 2</Options>
</Package.PackageDetailProducts>
<Package.PackageDetailProducts>
<Count>3</Count>
<Name>sample string 1</Name>
<Options>sample string 2</Options>
</Package.PackageDetailProducts>
</Products>
<Restaurant>sample string 3</Restaurant>
<RestaurantAddress>sample string 4</RestaurantAddress>
<RestaurantLatitude>sample string 6</RestaurantLatitude>
<RestaurantLongitude>sample string 7</RestaurantLongitude>
<RestaurantPhone>sample string 5</RestaurantPhone>
<Status>sample string 18</Status>
<StatusID>16</StatusID>
<StatusList>
<Package.PackageStatusHistory>
<Date>2025-12-23T13:43:40.8847373+03:00</Date>
<Status>sample string 2</Status>
</Package.PackageStatusHistory>
<Package.PackageStatusHistory>
<Date>2025-12-23T13:43:40.8847373+03:00</Date>
<Status>sample string 2</Status>
</Package.PackageStatusHistory>
</StatusList>
<TargetDate>2025-12-23T13:43:40.8847373+03:00</TargetDate>
</Package.PackageDetail>