GET api/Common/Menus
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Menus| Name | Description | Type | Additional information |
|---|---|---|---|
| MainMenuList | Collection of string |
None. |
|
| MenuD | Dictionary of string [key] and Dictionary of string [key] and Object [value] [value] |
None. |
Response Formats
application/json, text/json
Sample:
{
"MainMenuList": [
"sample string 1",
"sample string 2"
],
"MenuD": {
"sample string 1": {
"sample string 1": {},
"sample string 3": {}
},
"sample string 2": {
"sample string 1": {},
"sample string 3": {}
}
}
}
application/xml, text/xml
Sample:
<Menus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MTBooking.Web.API.Models">
<MainMenuList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</MainMenuList>
<MenuD xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringArrayOfKeyValueOfstringanyTypety7Ep6D1>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</d2p1:Value>
</d2p1:KeyValueOfstringArrayOfKeyValueOfstringanyTypety7Ep6D1>
<d2p1:KeyValueOfstringArrayOfKeyValueOfstringanyTypety7Ep6D1>
<d2p1:Key>sample string 2</d2p1:Key>
<d2p1:Value>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</d2p1:Value>
</d2p1:KeyValueOfstringArrayOfKeyValueOfstringanyTypety7Ep6D1>
</MenuD>
</Menus>