POST api/GetFilterByCountryStateList

Request Information

URI Parameters

None.

Body Parameters

RequestEnhance
NameDescriptionTypeAdditional information
Id

integer

None.

User

string

None.

UserId

integer

None.

ValidationKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "user": "sample string 2",
  "userId": 3,
  "validationKey": "sample string 4"
}

application/xml, text/xml

Sample:
<RequestEnhance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">
  <User>sample string 2</User>
  <UserId>3</UserId>
  <ValidationKey>sample string 4</ValidationKey>
  <Id>1</Id>
</RequestEnhance>

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

Response Information

Resource Description

StateResponseList
NameDescriptionTypeAdditional information
ItemList

Collection of StateResponse

None.

ResultCode

integer

None.

ResultMessage

string

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "itemList": [
    {
      "idCountry": 1,
      "country": "sample string 2",
      "id": 3,
      "name": "sample string 4",
      "description": "sample string 5",
      "code": 6,
      "isEnabled": true,
      "isInUse": true,
      "resultCode": 9,
      "resultMessage": "sample string 10",
      "errorMessage": "sample string 11"
    },
    {
      "idCountry": 1,
      "country": "sample string 2",
      "id": 3,
      "name": "sample string 4",
      "description": "sample string 5",
      "code": 6,
      "isEnabled": true,
      "isInUse": true,
      "resultCode": 9,
      "resultMessage": "sample string 10",
      "errorMessage": "sample string 11"
    }
  ],
  "resultCode": 1,
  "resultMessage": "sample string 2",
  "errorMessage": "sample string 3"
}

application/xml, text/xml

Sample:
<StateResponseList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response.State">
  <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 3</ErrorMessage>
  <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">1</ResultCode>
  <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 2</ResultMessage>
  <ItemList>
    <StateResponse>
      <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 11</ErrorMessage>
      <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">9</ResultCode>
      <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 10</ResultMessage>
      <Code xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">6</Code>
      <Description xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 5</Description>
      <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">3</Id>
      <IsEnabled xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsEnabled>
      <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse>
      <Name xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 4</Name>
      <Country>sample string 2</Country>
      <IdCountry>1</IdCountry>
    </StateResponse>
    <StateResponse>
      <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 11</ErrorMessage>
      <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">9</ResultCode>
      <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 10</ResultMessage>
      <Code xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">6</Code>
      <Description xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 5</Description>
      <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">3</Id>
      <IsEnabled xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsEnabled>
      <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse>
      <Name xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 4</Name>
      <Country>sample string 2</Country>
      <IdCountry>1</IdCountry>
    </StateResponse>
  </ItemList>
</StateResponseList>