POST api/usruser2role/keyvalue
Request Information
URI Parameters
None.
Body Parameters
UsrUser2RoleSelect| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserId | integer |
None. |
|
| RoleId | integer |
None. |
|
| PageSize | integer |
Required |
|
| PageIndex | integer |
Required |
|
| SortField | string |
None. |
|
| SortFieldDefault | string |
None. |
|
| Quicksearch | string |
None. |
|
| filterIsSet | boolean |
None. |
|
| TagIds | Collection of integer |
None. |
|
| TagFullMatch | boolean |
None. |
|
| WithTags | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserId": 1,
"RoleId": 1,
"PageSize": 1,
"PageIndex": 2,
"SortField": "sample string 3",
"SortFieldDefault": "sample string 4",
"Quicksearch": "sample string 5",
"filterIsSet": true,
"TagIds": [
1,
2
],
"TagFullMatch": true,
"WithTags": true
}
application/xml, text/xml
Sample:
<UsrUser2RoleSelect xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.Tools.Usr.Models">
<PageIndex xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">2</PageIndex>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">1</PageSize>
<Quicksearch xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 5</Quicksearch>
<SortField xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 3</SortField>
<SortFieldDefault xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 4</SortFieldDefault>
<TagFullMatch xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">true</TagFullMatch>
<TagIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</TagIds>
<WithTags xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">true</WithTags>
<filterIsSet xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">true</filterIsSet>
<Id>1</Id>
<RoleId>1</RoleId>
<UserId>1</UserId>
</UsrUser2RoleSelect>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of KeyValue| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| Value | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Value": "sample string 2"
},
{
"Id": 1,
"Value": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfKeyValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
<KeyValue>
<Id>1</Id>
<Value>sample string 2</Value>
</KeyValue>
<KeyValue>
<Id>1</Id>
<Value>sample string 2</Value>
</KeyValue>
</ArrayOfKeyValue>