GET api/analytics/organizations/{organizationId}/states
Get the states available for analysis to this user
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| organizationId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of StateSimple| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "6d18383e-ee80-49c7-8310-16c956bc7efc",
"Name": "sample string 2"
},
{
"Id": "6d18383e-ee80-49c7-8310-16c956bc7efc",
"Name": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfStateSimple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XCapture.DTO">
<StateSimple>
<Id>6d18383e-ee80-49c7-8310-16c956bc7efc</Id>
<Name>sample string 2</Name>
</StateSimple>
<StateSimple>
<Id>6d18383e-ee80-49c7-8310-16c956bc7efc</Id>
<Name>sample string 2</Name>
</StateSimple>
</ArrayOfStateSimple>