POST api/v3/Permissions/pagemappings
Request Information
URI Parameters
None.
Body Parameters
MappingDataName | Description | Type | Additional information |
---|---|---|---|
data | Collection of ControllerActionMap |
None. |
|
tId | integer |
None. |
|
pId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "data": [ { "ControllerName": "sample string 1", "ActionName": "sample string 2", "IsMapped": true }, { "ControllerName": "sample string 1", "ActionName": "sample string 2", "IsMapped": true } ], "tId": 1, "pId": 2 }
text/html
Sample:
{"data":[{"ControllerName":"sample string 1","ActionName":"sample string 2","IsMapped":true},{"ControllerName":"sample string 1","ActionName":"sample string 2","IsMapped":true}],"tId":1,"pId":2}
text/xml
Sample:
<MappingData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models"> <data> <ControllerActionMap> <ActionName>sample string 2</ActionName> <ControllerName>sample string 1</ControllerName> <IsMapped>true</IsMapped> </ControllerActionMap> <ControllerActionMap> <ActionName>sample string 2</ActionName> <ControllerName>sample string 1</ControllerName> <IsMapped>true</IsMapped> </ControllerActionMap> </data> <pId>2</pId> <tId>1</tId> </MappingData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.