POST api/AdvanceSearch/Search

Request Information

URI Parameters

None.

Body Parameters

AdvanceSearchDTO
NameDescriptionTypeAdditional information
StartDate

date

None.

EndDate

date

None.

Pathaka

string

None.

Section

string

None.

SellerCountry

integer

None.

PortOfDischarge

string

None.

ModeOfTransport

string

None.

MethodOfImportExport

integer

None.

CountryOfOrigin

string

None.

ConsignedCountry

string

None.

Description

string

None.

Incoterm

integer

None.

Airport

integer

None.

StatementCode

integer

None.

Office

integer

None.

ApplyType

string

None.

TypeOfLicenceOrPermit

string

None.

pagination

APIResultDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "StartDate": "2026-06-13T05:16:15.4919765+06:30",
  "EndDate": "2026-06-13T05:16:15.4919765+06:30",
  "Pathaka": "sample string 3",
  "Section": "sample string 4",
  "SellerCountry": 5,
  "PortOfDischarge": "sample string 6",
  "ModeOfTransport": "sample string 7",
  "MethodOfImportExport": 8,
  "CountryOfOrigin": "sample string 9",
  "ConsignedCountry": "sample string 10",
  "Description": "sample string 11",
  "Incoterm": 12,
  "Airport": 13,
  "StatementCode": 14,
  "Office": 15,
  "ApplyType": "sample string 16",
  "TypeOfLicenceOrPermit": "sample string 17",
  "pagination": {
    "pageIndex": 1,
    "pageSize": 2,
    "TotalCount": 3,
    "TotalPages": 4,
    "HasPreviousPage": true,
    "HasNextPage": true,
    "SortColumn": "sample string 5",
    "SortOrder": "sample string 6",
    "FilterColumn": "sample string 7",
    "FilterQuery": "sample string 8",
    "totalAmount": "sample string 9"
  }
}

application/xml, text/xml

Sample:
<AdvanceSearchDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">
  <Airport>13</Airport>
  <ApplyType>sample string 16</ApplyType>
  <ConsignedCountry>sample string 10</ConsignedCountry>
  <CountryOfOrigin>sample string 9</CountryOfOrigin>
  <Description>sample string 11</Description>
  <EndDate>2026-06-13T05:16:15.4919765+06:30</EndDate>
  <Incoterm>12</Incoterm>
  <MethodOfImportExport>8</MethodOfImportExport>
  <ModeOfTransport>sample string 7</ModeOfTransport>
  <Office>15</Office>
  <Pathaka>sample string 3</Pathaka>
  <PortOfDischarge>sample string 6</PortOfDischarge>
  <Section>sample string 4</Section>
  <SellerCountry>5</SellerCountry>
  <StartDate>2026-06-13T05:16:15.4919765+06:30</StartDate>
  <StatementCode>14</StatementCode>
  <TypeOfLicenceOrPermit>sample string 17</TypeOfLicenceOrPermit>
  <pagination>
    <FilterColumn>sample string 7</FilterColumn>
    <FilterQuery>sample string 8</FilterQuery>
    <SortColumn>sample string 5</SortColumn>
    <SortOrder>sample string 6</SortOrder>
    <TotalCount>3</TotalCount>
    <TotalPages>4</TotalPages>
    <pageIndex>1</pageIndex>
    <pageSize>2</pageSize>
    <totalAmount>sample string 9</totalAmount>
  </pagination>
</AdvanceSearchDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AdvanceSearchDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.