GET api/States/LocaleList

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ViewStateLocale
NameDescriptionTypeAdditional information
LanguageId

integer

None.

LanguageCode

string

None.

Id

integer

None.

CountryId

integer

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "LanguageId": 1,
    "LanguageCode": "sample string 2",
    "Id": 3,
    "CountryId": 1,
    "Name": "sample string 4"
  },
  {
    "LanguageId": 1,
    "LanguageCode": "sample string 2",
    "Id": 3,
    "CountryId": 1,
    "Name": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfViewStateLocale xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoultryManagementAPI.Models">
  <ViewStateLocale>
    <CountryId>1</CountryId>
    <Id>3</Id>
    <LanguageCode>sample string 2</LanguageCode>
    <LanguageId>1</LanguageId>
    <Name>sample string 4</Name>
  </ViewStateLocale>
  <ViewStateLocale>
    <CountryId>1</CountryId>
    <Id>3</Id>
    <LanguageCode>sample string 2</LanguageCode>
    <LanguageId>1</LanguageId>
    <Name>sample string 4</Name>
  </ViewStateLocale>
</ArrayOfViewStateLocale>