POST api/itgvereinsadministratoruser/getroles
Request Information
URI Parameters
None.
Body Parameters
Collection of integerRequest Formats
application/json, text/json
Sample:
[ 1, 2 ]
application/xml, text/xml
Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <int>1</int> <int>2</int> </ArrayOfint>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of Roles| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| Value | string |
None. |
|
| Selected | boolean |
Required |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Value": "sample string 2",
"Selected": true
},
{
"Id": 1,
"Value": "sample string 2",
"Selected": true
}
]
application/xml, text/xml
Sample:
<ArrayOfRoles xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Itg.Models">
<Roles>
<Id>1</Id>
<Selected>true</Selected>
<Value>sample string 2</Value>
</Roles>
<Roles>
<Id>1</Id>
<Selected>true</Selected>
<Value>sample string 2</Value>
</Roles>
</ArrayOfRoles>