GET api/organizations/details
Get all Organizations this user has access to with their detailed roles and states
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of OrganizationDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| OrganizationRoles | Collection of RoleSimple |
None. |
|
| OrganizationStates | Collection of StateSimple |
None. |
|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| IconUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"OrganizationRoles": [
{
"Id": "37375973-597b-4ac9-b7c0-f6b774ebcc54",
"Name": "sample string 2",
"OrganizationId": "d63f5d3c-d125-4668-a27f-6d9faef08c6c"
},
{
"Id": "37375973-597b-4ac9-b7c0-f6b774ebcc54",
"Name": "sample string 2",
"OrganizationId": "d63f5d3c-d125-4668-a27f-6d9faef08c6c"
}
],
"OrganizationStates": [
{
"Id": "9d2f8298-9550-4c32-a2e9-e4bda6e93e54",
"Name": "sample string 2"
},
{
"Id": "9d2f8298-9550-4c32-a2e9-e4bda6e93e54",
"Name": "sample string 2"
}
],
"Id": "ee29eb75-c43e-41f6-87c7-71735eb10b05",
"Name": "sample string 2",
"IconUrl": "sample string 3"
},
{
"OrganizationRoles": [
{
"Id": "37375973-597b-4ac9-b7c0-f6b774ebcc54",
"Name": "sample string 2",
"OrganizationId": "d63f5d3c-d125-4668-a27f-6d9faef08c6c"
},
{
"Id": "37375973-597b-4ac9-b7c0-f6b774ebcc54",
"Name": "sample string 2",
"OrganizationId": "d63f5d3c-d125-4668-a27f-6d9faef08c6c"
}
],
"OrganizationStates": [
{
"Id": "9d2f8298-9550-4c32-a2e9-e4bda6e93e54",
"Name": "sample string 2"
},
{
"Id": "9d2f8298-9550-4c32-a2e9-e4bda6e93e54",
"Name": "sample string 2"
}
],
"Id": "ee29eb75-c43e-41f6-87c7-71735eb10b05",
"Name": "sample string 2",
"IconUrl": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfOrganizationDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XCapture.DTO">
<OrganizationDetail>
<IconUrl>sample string 3</IconUrl>
<Id>ee29eb75-c43e-41f6-87c7-71735eb10b05</Id>
<Name>sample string 2</Name>
<OrganizationRoles>
<RoleSimple>
<Id>37375973-597b-4ac9-b7c0-f6b774ebcc54</Id>
<Name>sample string 2</Name>
<OrganizationId>d63f5d3c-d125-4668-a27f-6d9faef08c6c</OrganizationId>
</RoleSimple>
<RoleSimple>
<Id>37375973-597b-4ac9-b7c0-f6b774ebcc54</Id>
<Name>sample string 2</Name>
<OrganizationId>d63f5d3c-d125-4668-a27f-6d9faef08c6c</OrganizationId>
</RoleSimple>
</OrganizationRoles>
<OrganizationStates>
<StateSimple>
<Id>9d2f8298-9550-4c32-a2e9-e4bda6e93e54</Id>
<Name>sample string 2</Name>
</StateSimple>
<StateSimple>
<Id>9d2f8298-9550-4c32-a2e9-e4bda6e93e54</Id>
<Name>sample string 2</Name>
</StateSimple>
</OrganizationStates>
</OrganizationDetail>
<OrganizationDetail>
<IconUrl>sample string 3</IconUrl>
<Id>ee29eb75-c43e-41f6-87c7-71735eb10b05</Id>
<Name>sample string 2</Name>
<OrganizationRoles>
<RoleSimple>
<Id>37375973-597b-4ac9-b7c0-f6b774ebcc54</Id>
<Name>sample string 2</Name>
<OrganizationId>d63f5d3c-d125-4668-a27f-6d9faef08c6c</OrganizationId>
</RoleSimple>
<RoleSimple>
<Id>37375973-597b-4ac9-b7c0-f6b774ebcc54</Id>
<Name>sample string 2</Name>
<OrganizationId>d63f5d3c-d125-4668-a27f-6d9faef08c6c</OrganizationId>
</RoleSimple>
</OrganizationRoles>
<OrganizationStates>
<StateSimple>
<Id>9d2f8298-9550-4c32-a2e9-e4bda6e93e54</Id>
<Name>sample string 2</Name>
</StateSimple>
<StateSimple>
<Id>9d2f8298-9550-4c32-a2e9-e4bda6e93e54</Id>
<Name>sample string 2</Name>
</StateSimple>
</OrganizationStates>
</OrganizationDetail>
</ArrayOfOrganizationDetail>