GET api/catalogs/sms/states?languageCode={languageCode}
Returns SMS states ordered by identifier.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| languageCode |
Optional translation language code, such as es, ca or en. Missing translations retain the original name. |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
SMS state identifiers and descriptions derived from their names.
Collection of CatalogItem| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Gets or sets the stable catalog identifier. |
integer |
None. |
| Description |
Gets or sets the description in the requested language, when available. |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"Id": 1,
"Description": "sample string 2"
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfCatalogItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PuntoNeutro.WebApi.Models">
<CatalogItem>
<Description>sample string 2</Description>
<Id>1</Id>
</CatalogItem>
<CatalogItem>
<Description>sample string 2</Description>
<Id>1</Id>
</CatalogItem>
</ArrayOfCatalogItem>