POST api/v1/PortList

Request Information

URI Parameters

None.

Body Parameters

PortListInput
NameDescriptionTypeAdditional information
Mode

string

None.

ID

integer

None.

PageSize

integer

None.

PageNo

integer

None.

PortName

string

None.

CountryName

string

None.

SearchText

string

None.

CountryID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Mode": "sample string 1",
  "ID": 2,
  "PageSize": 3,
  "PageNo": 4,
  "PortName": "sample string 5",
  "CountryName": "sample string 6",
  "SearchText": "sample string 7",
  "CountryID": 8
}

application/xml, text/xml

Sample:
<PortListInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <CountryID>8</CountryID>
  <CountryName>sample string 6</CountryName>
  <ID>2</ID>
  <Mode>sample string 1</Mode>
  <PageNo>4</PageNo>
  <PageSize>3</PageSize>
  <PortName>sample string 5</PortName>
  <SearchText>sample string 7</SearchText>
</PortListInput>

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 'PortListInput'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.