POST Api/Menu/GetList

Request Information

URI Parameters

None.

Body Parameters

MenuDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Pid

globally unique identifier

None.

Path

string

None.

Hidden

boolean

None.

Component

string

None.

Redirect

string

None.

Name

string

None.

Title

string

None.

Icon

string

None.

NoCache

boolean

None.

AlwaysShow

boolean

None.

SortNo

integer

None.

PlatForm

integer

None.

PlatFormName

string

None.

PName

string

None.

HiddenString

string

None.

AlwaysShowString

string

None.

PageIndex

integer

None.

PageSize

integer

None.

Total

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "3fc5d91a-f80f-4ec7-a7ee-15eb9637100e",
  "Pid": "badfb430-46f9-4ef2-9913-8671f5cff530",
  "Path": "sample string 2",
  "Hidden": true,
  "Component": "sample string 3",
  "Redirect": "sample string 4",
  "Name": "sample string 5",
  "Title": "sample string 6",
  "Icon": "sample string 7",
  "NoCache": true,
  "AlwaysShow": true,
  "SortNo": 1,
  "PlatForm": 1,
  "PlatFormName": "小程序",
  "PName": "sample string 8",
  "HiddenString": "√",
  "AlwaysShowString": "√",
  "PageIndex": 9,
  "PageSize": 10,
  "Total": 11
}

application/xml, text/xml

Sample:
<MenuDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZShOil.Model">
  <_x003C_PageIndex_x003E_k__BackingField>9</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>10</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_Total_x003E_k__BackingField>11</_x003C_Total_x003E_k__BackingField>
  <AlwaysShow>true</AlwaysShow>
  <Component>sample string 3</Component>
  <Hidden>true</Hidden>
  <Icon>sample string 7</Icon>
  <Id>3fc5d91a-f80f-4ec7-a7ee-15eb9637100e</Id>
  <Name>sample string 5</Name>
  <NoCache>true</NoCache>
  <PName>sample string 8</PName>
  <Path>sample string 2</Path>
  <Pid>badfb430-46f9-4ef2-9913-8671f5cff530</Pid>
  <PlatForm>1</PlatForm>
  <Redirect>sample string 4</Redirect>
  <SortNo>1</SortNo>
  <Title>sample string 6</Title>
</MenuDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.