POST
api/v1/create-accessrole
Request Information
Body Parameters
NewAccessRole| Name | Description | Type | Additional information |
|---|---|---|---|
| AccessRoleId | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| CreatedBy | integer |
None. |
|
| ClientId | integer |
None. |
|
| SelectedIds | string |
None. |
Request Formats
application/json, text/json
{
"AccessRoleId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"CreatedBy": 4,
"ClientId": 5,
"SelectedIds": "sample string 6"
}
text/html
{"AccessRoleId":1,"Name":"sample string 2","Description":"sample string 3","CreatedBy":4,"ClientId":5,"SelectedIds":"sample string 6"}
application/xml, text/xml
<NewAccessRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.AccessModule"> <AccessRoleId>1</AccessRoleId> <ClientId>5</ClientId> <CreatedBy>4</CreatedBy> <Description>sample string 3</Description> <Name>sample string 2</Name> <SelectedIds>sample string 6</SelectedIds> </NewAccessRole>
application/x-www-form-urlencoded
Sample not available.
Response Information
Description:
Return type: integer
Response Formats
application/json, text/json, text/html
1
application/xml, text/xml
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>
