GET v1/LOV/listCity?stateCode={stateCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stateCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
listOfValueResult| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| message | string |
None. |
|
| errorMsg | string |
None. |
|
| data | Collection of listDataItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2",
"errorMsg": "sample string 3",
"data": [
{
"code": "sample string 1",
"name": "sample string 2"
},
{
"code": "sample string 1",
"name": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<listOfValueResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/unifiedApp.Models.listOfValues">
<data>
<listOfValueResult.listDataItem>
<code>sample string 1</code>
<name>sample string 2</name>
</listOfValueResult.listDataItem>
<listOfValueResult.listDataItem>
<code>sample string 1</code>
<name>sample string 2</name>
</listOfValueResult.listDataItem>
</data>
<errorMsg>sample string 3</errorMsg>
<message>sample string 2</message>
<success>true</success>
</listOfValueResult>
text/html
Sample:
{"success":true,"message":"sample string 2","errorMsg":"sample string 3","data":[{"code":"sample string 1","name":"sample string 2"},{"code":"sample string 1","name":"sample string 2"}]}