GET api/AdvanceGB/CRMGetStoreList?state={state}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| state | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
MdlStoreResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| success | string |
None. |
|
| error_message | string |
None. |
|
| data | Collection of MdlStores |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": "sample string 1",
"error_message": "sample string 2",
"data": [
{
"store_code": "sample string 1",
"store_name": "sample string 2"
},
{
"store_code": "sample string 1",
"store_name": "sample string 2"
}
]
}
text/html
Sample:
{"success":"sample string 1","error_message":"sample string 2","data":[{"store_code":"sample string 1","store_name":"sample string 2"},{"store_code":"sample string 1","store_name":"sample string 2"}]}
application/xml, text/xml
Sample:
<MdlStoreResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advance.Models">
<data>
<MdlStores>
<store_code>sample string 1</store_code>
<store_name>sample string 2</store_name>
</MdlStores>
<MdlStores>
<store_code>sample string 1</store_code>
<store_name>sample string 2</store_name>
</MdlStores>
</data>
<error_message>sample string 2</error_message>
<success>sample string 1</success>
</MdlStoreResponse>