GET api/StateMasters?clientid={clientid}
Get list of state by client id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
clientid |
for which client we need list |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
list
Collection of CustomStateLocationName | Description | Type | Additional information |
---|---|---|---|
StateID | globally unique identifier |
None. |
|
State | string |
None. |
|
Description | string |
None. |
|
RegionID | globally unique identifier |
None. |
|
Cin | string |
None. |
|
Pan | string |
None. |
|
Gstn | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "StateID": "72805540-941a-42ce-b011-67362ffa9fcd", "State": "sample string 2", "Description": "sample string 3", "RegionID": "1ec96ccf-84eb-46e8-9061-7a98c648aae0", "Cin": "sample string 5", "Pan": "sample string 6", "Gstn": "sample string 7" }, { "StateID": "72805540-941a-42ce-b011-67362ffa9fcd", "State": "sample string 2", "Description": "sample string 3", "RegionID": "1ec96ccf-84eb-46e8-9061-7a98c648aae0", "Cin": "sample string 5", "Pan": "sample string 6", "Gstn": "sample string 7" } ]
application/xml, text/xml
Sample:
<ArrayOfCustomStateLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRAApi.CustomModel"> <CustomStateLocation> <Cin>sample string 5</Cin> <Description>sample string 3</Description> <Gstn>sample string 7</Gstn> <Pan>sample string 6</Pan> <RegionID>1ec96ccf-84eb-46e8-9061-7a98c648aae0</RegionID> <State>sample string 2</State> <StateID>72805540-941a-42ce-b011-67362ffa9fcd</StateID> </CustomStateLocation> <CustomStateLocation> <Cin>sample string 5</Cin> <Description>sample string 3</Description> <Gstn>sample string 7</Gstn> <Pan>sample string 6</Pan> <RegionID>1ec96ccf-84eb-46e8-9061-7a98c648aae0</RegionID> <State>sample string 2</State> <StateID>72805540-941a-42ce-b011-67362ffa9fcd</StateID> </CustomStateLocation> </ArrayOfCustomStateLocation>