POST api/b2bpackage/GetPackages
Request Information
URI Parameters
None.
Body Parameters
PackageSearchModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Destination | string |
None. |
|
| DaysAndNights | string |
None. |
|
| ThemeIDF | integer |
None. |
|
| PackageType | integer |
None. |
|
| Price | string |
None. |
|
| PackageCategoryID | integer |
None. |
|
| CountryCode | string |
None. |
|
| RowsPerPage | integer |
None. |
|
| PageNumber | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Destination": "sample string 1",
"DaysAndNights": "sample string 2",
"ThemeIDF": 1,
"PackageType": 1,
"Price": "sample string 3",
"PackageCategoryID": 4,
"CountryCode": "sample string 5",
"RowsPerPage": 6,
"PageNumber": 7
}
application/xml, text/xml
Sample:
<PackageSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIBtoC.Models"> <CountryCode>sample string 5</CountryCode> <DaysAndNights>sample string 2</DaysAndNights> <Destination>sample string 1</Destination> <PackageCategoryID>4</PackageCategoryID> <PackageType>1</PackageType> <PageNumber>7</PageNumber> <Price>sample string 3</Price> <RowsPerPage>6</RowsPerPage> <ThemeIDF>1</ThemeIDF> </PackageSearchModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |