POST api/GetFilterCityList
Request Information
URI Parameters
None.
Body Parameters
RequestName | Description | Type | Additional information |
---|---|---|---|
User | string |
None. |
|
UserId | integer |
None. |
|
ValidationKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "user": "sample string 1", "userId": 2, "validationKey": "sample string 3" }
application/xml, text/xml
Sample:
<Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request"> <User>sample string 1</User> <UserId>2</UserId> <ValidationKey>sample string 3</ValidationKey> </Request>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CityResponseListName | Description | Type | Additional information |
---|---|---|---|
ItemList | Collection of CityResponse |
None. |
|
ResultCode | integer |
None. |
|
ResultMessage | string |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "itemList": [ { "idState": 1, "state": "sample string 2", "idCountry": 3, "country": "sample string 4", "id": 5, "name": "sample string 6", "description": "sample string 7", "code": 8, "isEnabled": true, "isInUse": true, "resultCode": 11, "resultMessage": "sample string 12", "errorMessage": "sample string 13" }, { "idState": 1, "state": "sample string 2", "idCountry": 3, "country": "sample string 4", "id": 5, "name": "sample string 6", "description": "sample string 7", "code": 8, "isEnabled": true, "isInUse": true, "resultCode": 11, "resultMessage": "sample string 12", "errorMessage": "sample string 13" } ], "resultCode": 1, "resultMessage": "sample string 2", "errorMessage": "sample string 3" }
application/xml, text/xml
Sample:
<CityResponseList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response.City"> <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> <CityResponse> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 13</ErrorMessage> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">11</ResultCode> <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 12</ResultMessage> <Code xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">8</Code> <Description xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 7</Description> <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">5</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 6</Name> <Country>sample string 4</Country> <IdCountry>3</IdCountry> <IdState>1</IdState> <State>sample string 2</State> </CityResponse> <CityResponse> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 13</ErrorMessage> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">11</ResultCode> <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 12</ResultMessage> <Code xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">8</Code> <Description xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 7</Description> <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">5</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 6</Name> <Country>sample string 4</Country> <IdCountry>3</IdCountry> <IdState>1</IdState> <State>sample string 2</State> </CityResponse> </ItemList> </CityResponseList>