GET api/Countries/LocaleDetails?countryCode={countryCode}&languageCode={languageCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| countryCode | string |
Default value is bd |
|
| languageCode | string |
Default value is en |
Body Parameters
None.
Response Information
Resource Description
Collection of ViewCountryLocale| Name | Description | Type | Additional information |
|---|---|---|---|
| LanguageId | integer |
None. |
|
| LanguageCode | string |
None. |
|
| Id | integer |
None. |
|
| SortCode2 | string |
None. |
|
| SortCode3 | string |
None. |
|
| PhoneCode | integer |
None. |
|
| CurrencyName | string |
None. |
|
| CurrencyCode | string |
None. |
|
| CurrencySign | string |
None. |
|
| LanguageIsoCode | string |
None. |
|
| FlagIcon | string |
None. |
|
| ActiveStatus | boolean |
None. |
|
| AppLanguageCode | string |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"LanguageId": 1,
"LanguageCode": "sample string 2",
"Id": 3,
"SortCode2": "sample string 4",
"SortCode3": "sample string 5",
"PhoneCode": 6,
"CurrencyName": "sample string 7",
"CurrencyCode": "sample string 8",
"CurrencySign": "sample string 9",
"LanguageIsoCode": "sample string 10",
"FlagIcon": "sample string 11",
"ActiveStatus": true,
"AppLanguageCode": "sample string 13",
"Name": "sample string 14"
},
{
"LanguageId": 1,
"LanguageCode": "sample string 2",
"Id": 3,
"SortCode2": "sample string 4",
"SortCode3": "sample string 5",
"PhoneCode": 6,
"CurrencyName": "sample string 7",
"CurrencyCode": "sample string 8",
"CurrencySign": "sample string 9",
"LanguageIsoCode": "sample string 10",
"FlagIcon": "sample string 11",
"ActiveStatus": true,
"AppLanguageCode": "sample string 13",
"Name": "sample string 14"
}
]
application/xml, text/xml
Sample:
<ArrayOfViewCountryLocale xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoultryManagementAPI.Models">
<ViewCountryLocale>
<ActiveStatus>true</ActiveStatus>
<AppLanguageCode>sample string 13</AppLanguageCode>
<CurrencyCode>sample string 8</CurrencyCode>
<CurrencyName>sample string 7</CurrencyName>
<CurrencySign>sample string 9</CurrencySign>
<FlagIcon>sample string 11</FlagIcon>
<Id>3</Id>
<LanguageCode>sample string 2</LanguageCode>
<LanguageId>1</LanguageId>
<LanguageIsoCode>sample string 10</LanguageIsoCode>
<Name>sample string 14</Name>
<PhoneCode>6</PhoneCode>
<SortCode2>sample string 4</SortCode2>
<SortCode3>sample string 5</SortCode3>
</ViewCountryLocale>
<ViewCountryLocale>
<ActiveStatus>true</ActiveStatus>
<AppLanguageCode>sample string 13</AppLanguageCode>
<CurrencyCode>sample string 8</CurrencyCode>
<CurrencyName>sample string 7</CurrencyName>
<CurrencySign>sample string 9</CurrencySign>
<FlagIcon>sample string 11</FlagIcon>
<Id>3</Id>
<LanguageCode>sample string 2</LanguageCode>
<LanguageId>1</LanguageId>
<LanguageIsoCode>sample string 10</LanguageIsoCode>
<Name>sample string 14</Name>
<PhoneCode>6</PhoneCode>
<SortCode2>sample string 4</SortCode2>
<SortCode3>sample string 5</SortCode3>
</ViewCountryLocale>
</ArrayOfViewCountryLocale>