POST api/RolePermission
Request Information
URI Parameters
None.
Body Parameters
RolePermissionCreateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RoleId | globally unique identifier |
None. |
|
| PermissionId | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"RoleId": "ba9d7d1f-e917-4308-ae8f-5269404dea80",
"PermissionId": [
"ce961a5e-2466-4a00-9d03-14348002c528",
"e8a4d914-5cc7-4290-b26c-13ecf147f4f2"
]
}
application/xml, text/xml
Sample:
<RolePermissionCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Configs.RolePermissionModels.EditModels">
<PermissionId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>ce961a5e-2466-4a00-9d03-14348002c528</d2p1:guid>
<d2p1:guid>e8a4d914-5cc7-4290-b26c-13ecf147f4f2</d2p1:guid>
</PermissionId>
<RoleId>ba9d7d1f-e917-4308-ae8f-5269404dea80</RoleId>
</RolePermissionCreateModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.