POST api/Import/GetHSCodeAnalysisDetailByFilterValue

Request Information

URI Parameters

None.

Body Parameters

HSCodeSerchingBindingModel
NameDescriptionTypeAdditional information
IsByHSCode

boolean

None.

IsImporter

boolean

None.

HSCodeCountryIdList

Collection of string

None.

QuarterList

Collection of string

None.

CountryIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IsByHSCode": true,
  "IsImporter": true,
  "HSCodeCountryIdList": [
    "sample string 1",
    "sample string 2"
  ],
  "QuarterList": [
    "sample string 1",
    "sample string 2"
  ],
  "CountryIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<HSCodeSerchingBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infovores.Models">
  <CountryIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CountryIds>
  <HSCodeCountryIdList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </HSCodeCountryIdList>
  <IsByHSCode>true</IsByHSCode>
  <IsImporter>true</IsImporter>
  <QuarterList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </QuarterList>
</HSCodeSerchingBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResult
NameDescriptionTypeAdditional information
Response

boolean

None.

ReturnCode

integer

None.

Message

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": true,
  "ReturnCode": 2,
  "Message": "sample string 3",
  "Result": {}
}

application/xml, text/xml

Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infovores.Models">
  <Message>sample string 3</Message>
  <Response>true</Response>
  <Result />
  <ReturnCode>2</ReturnCode>
</ApiResult>