GET api/AdvanceGB/getOriginCountry
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
MdlCountryResponseName | Description | Type | Additional information |
---|---|---|---|
success | string |
None. |
|
error_message | string |
None. |
|
data | Collection of MdlCountry |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": "sample string 1", "error_message": "sample string 2", "data": [ { "country_code": "sample string 1", "country": "sample string 2", "states_available": true }, { "country_code": "sample string 1", "country": "sample string 2", "states_available": true } ] }
text/html
Sample:
{"success":"sample string 1","error_message":"sample string 2","data":[{"country_code":"sample string 1","country":"sample string 2","states_available":true},{"country_code":"sample string 1","country":"sample string 2","states_available":true}]}
application/xml, text/xml
Sample:
<MdlCountryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advance.Models"> <data> <MdlCountry> <country>sample string 2</country> <country_code>sample string 1</country_code> <states_available>true</states_available> </MdlCountry> <MdlCountry> <country>sample string 2</country> <country_code>sample string 1</country_code> <states_available>true</states_available> </MdlCountry> </data> <error_message>sample string 2</error_message> <success>sample string 1</success> </MdlCountryResponse>