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": "a32d5e5d-80cd-4f54-b4a0-e71a0363364d",
"Name": "sample string 2"
},
{
"Id": "a32d5e5d-80cd-4f54-b4a0-e71a0363364d",
"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>a32d5e5d-80cd-4f54-b4a0-e71a0363364d</Id>
<Name>sample string 2</Name>
</StateSimple>
<StateSimple>
<Id>a32d5e5d-80cd-4f54-b4a0-e71a0363364d</Id>
<Name>sample string 2</Name>
</StateSimple>
</ArrayOfStateSimple>