POST api/DangerContDeclaration/GetData

Request Information

URI Parameters

None.

Body Parameters

Homas.IHomasContract.GetdataModalRequest
NameDescriptionTypeAdditional information
filetype

string

None.

ManifestCombineimonumber

string

None.

departurePort

string

None.

Permittype

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "filetype": "sample string 1",
  "ManifestCombineimonumber": "sample string 2",
  "departurePort": "sample string 3",
  "Permittype": 4
}

application/xml, text/xml

Sample:
<GetdataModalRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <filetype>sample string 1</filetype>
  <ManifestCombineimonumber>sample string 2</ManifestCombineimonumber>
  <departurePort>sample string 3</departurePort>
  <Permittype>4</Permittype>
</GetdataModalRequest>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string>sample string 1</string>