GET api/value-data/states/supported
This method will retrieve reference state data for all supported states to be used in state selection
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of
Collection of StateMinModelName | Description | Type | Additional information |
---|---|---|---|
StateId | integer |
None. |
|
Name | string |
None. |
|
ShortName | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "stateId": 1, "name": "sample string 2", "shortName": "sample string 3" }, { "stateId": 1, "name": "sample string 2", "shortName": "sample string 3" } ]
text/html
Sample:
[{"stateId":1,"name":"sample string 2","shortName":"sample string 3"},{"stateId":1,"name":"sample string 2","shortName":"sample string 3"}]
application/xml, text/xml
Sample:
<ArrayOfStateMinModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Pos"> <StateMinModel> <Name>sample string 2</Name> <ShortName>sample string 3</ShortName> <StateId>1</StateId> </StateMinModel> <StateMinModel> <Name>sample string 2</Name> <ShortName>sample string 3</ShortName> <StateId>1</StateId> </StateMinModel> </ArrayOfStateMinModel>