GET api/PDAFormRight/GetFormRight
判断传入的用户是否有进入界面权限
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
FormModal | FormModal is JSON FormModal { string Form_id, //界面id string User_id, //用户id } |
Define this parameter in the request URI. |
Response Information
返回值 is JSON { string Form_id (界面id), bool HasRight (是否有进入权限), string ErrorMsg (失败时返回的错误信息) }
Response body formats
application/json, text/json
Sample:
{ "Form_id": "sample string 1", "HasRight": true, "ErrorMsg": "sample string 3" }
application/xml, text/xml
Sample:
<rtnFormRightModal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Controllers"> <ErrorMsg>sample string 3</ErrorMsg> <Form_id>sample string 1</Form_id> <HasRight>true</HasRight> </rtnFormRightModal>