GET api/role/menus/{userid}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userid | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseContractOfMenuResponse[]Name | Description | Type | Additional information |
---|---|---|---|
message | string |
None. |
|
message_type | message_type |
None. |
|
message_code | integer |
None. |
|
data | Collection of MenuResponse |
None. |
|
per_page | integer |
None. |
|
total_data | integer |
None. |
|
total_page | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "message": "sample string 1", "message_type": 0, "message_code": 2, "data": [ { "id": "sample string 1", "title": "sample string 2", "component": "sample string 3", "icon": "sample string 4" }, { "id": "sample string 1", "title": "sample string 2", "component": "sample string 3", "icon": "sample string 4" } ], "per_page": 3, "total_data": 4, "total_page": 5 }