POST api/usraction/keyvalue

Request Information

URI Parameters

None.

Body Parameters

UsrActionSelect
NameDescriptionTypeAdditional information
Id

integer

None.

ActionNumberFrom

integer

None.

ActionNumberTo

integer

None.

Name

string

None.

ParentId

integer

None.

ParentIdFrom

integer

None.

ParentIdTo

integer

None.

DisplayOrderFrom

integer

None.

DisplayOrderTo

integer

None.

DisplayName

string

None.

DisplayImage

string

None.

RedirectTo

string

None.

RouteTo

string

None.

DisplayVisible

integer

None.

Active

integer

None.

GroupCheckRequired

integer

None.

Description

string

None.

Custom1

string

None.

Custom2

string

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,
  "ActionNumberFrom": 1,
  "ActionNumberTo": 1,
  "Name": "sample string 1",
  "ParentId": 1,
  "ParentIdFrom": 1,
  "ParentIdTo": 1,
  "DisplayOrderFrom": 1,
  "DisplayOrderTo": 1,
  "DisplayName": "sample string 2",
  "DisplayImage": "sample string 3",
  "RedirectTo": "sample string 4",
  "RouteTo": "sample string 5",
  "DisplayVisible": 1,
  "Active": 1,
  "GroupCheckRequired": 1,
  "Description": "sample string 6",
  "Custom1": "sample string 7",
  "Custom2": "sample string 8",
  "PageSize": 9,
  "PageIndex": 10,
  "SortField": "sample string 11",
  "SortFieldDefault": "sample string 12",
  "Quicksearch": "sample string 13",
  "filterIsSet": true,
  "TagIds": [
    1,
    2
  ],
  "TagFullMatch": true,
  "WithTags": true
}

application/xml, text/xml

Sample:
<UsrActionSelect 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">10</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">9</PageSize>
  <Quicksearch xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 13</Quicksearch>
  <SortField xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 11</SortField>
  <SortFieldDefault xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 12</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>
  <ActionNumberFrom>1</ActionNumberFrom>
  <ActionNumberTo>1</ActionNumberTo>
  <Active>1</Active>
  <Custom1>sample string 7</Custom1>
  <Custom2>sample string 8</Custom2>
  <Description>sample string 6</Description>
  <DisplayImage>sample string 3</DisplayImage>
  <DisplayName>sample string 2</DisplayName>
  <DisplayOrderFrom>1</DisplayOrderFrom>
  <DisplayOrderTo>1</DisplayOrderTo>
  <DisplayVisible>1</DisplayVisible>
  <GroupCheckRequired>1</GroupCheckRequired>
  <Id>1</Id>
  <Name>sample string 1</Name>
  <ParentId>1</ParentId>
  <ParentIdFrom>1</ParentIdFrom>
  <ParentIdTo>1</ParentIdTo>
  <RedirectTo>sample string 4</RedirectTo>
  <RouteTo>sample string 5</RouteTo>
</UsrActionSelect>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of KeyValue
NameDescriptionTypeAdditional 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>