POST api/ImporterAnalysis/GetYearMonthCountry

Request Information

URI Parameters

None.

Body Parameters

GetMonthYearCountryListViewModel
NameDescriptionTypeAdditional information
Type

integer

None.

HSCode

Collection of string

None.

Year

integer

None.

Month

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "Type": 1,
  "HSCode": [
    "sample string 1",
    "sample string 2"
  ],
  "Year": 2,
  "Month": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<GetMonthYearCountryListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infovores.Models">
  <HSCode xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </HSCode>
  <Month xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Month>
  <Type>1</Type>
  <Year>2</Year>
</GetMonthYearCountryListViewModel>

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.

DemoState

string

None.

IsDemoMasked

boolean

None.

CreditsRemaining

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": true,
  "ReturnCode": 2,
  "Message": "sample string 3",
  "Result": {},
  "DemoState": "sample string 5",
  "IsDemoMasked": true,
  "CreditsRemaining": 1
}

application/xml, text/xml

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