PUT api/Claims/role/{roleName}/assignclaims
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
roleName | string |
Required |
Body Parameters
Collection of HirearcialEdiaryMenusModelsName | Description | Type | Additional information |
---|---|---|---|
EdiaryMenuName | string |
None. |
|
EdiaryPagesList | Collection of HirearcialEdiaryPagesModels |
None. |
Request Formats
application/json, text/json
Sample:
[ { "EdiaryMenuName": "sample string 1", "EdiaryPagesList": [ { "EdiaryPageId": 1, "EdiaryPage": "sample string 2", "EP_Name": "sample string 3", "EP_Icon_Id": 4, "EP_Icon_Title": "sample string 5", "EP_Image_URL": "sample string 6", "EP_Redirect_URL": "sample string 7", "EdiaryPageFunctionClaim": [ { "ClaimTypeId": 1, "IsClaimShown": true, "ClaimType": "sample string 3", "ClaimValue": true, "EPF_Name": "sample string 5", "EPF_Icon_Id": "sample string 6", "EPF_Icon_Title": "sample string 7", "EPF_Image_URL": "sample string 8", "EPF_Redirect_URL": "sample string 9" }, { "ClaimTypeId": 1, "IsClaimShown": true, "ClaimType": "sample string 3", "ClaimValue": true, "EPF_Name": "sample string 5", "EPF_Icon_Id": "sample string 6", "EPF_Icon_Title": "sample string 7", "EPF_Image_URL": "sample string 8", "EPF_Redirect_URL": "sample string 9" } ] }, { "EdiaryPageId": 1, "EdiaryPage": "sample string 2", "EP_Name": "sample string 3", "EP_Icon_Id": 4, "EP_Icon_Title": "sample string 5", "EP_Image_URL": "sample string 6", "EP_Redirect_URL": "sample string 7", "EdiaryPageFunctionClaim": [ { "ClaimTypeId": 1, "IsClaimShown": true, "ClaimType": "sample string 3", "ClaimValue": true, "EPF_Name": "sample string 5", "EPF_Icon_Id": "sample string 6", "EPF_Icon_Title": "sample string 7", "EPF_Image_URL": "sample string 8", "EPF_Redirect_URL": "sample string 9" }, { "ClaimTypeId": 1, "IsClaimShown": true, "ClaimType": "sample string 3", "ClaimValue": true, "EPF_Name": "sample string 5", "EPF_Icon_Id": "sample string 6", "EPF_Icon_Title": "sample string 7", "EPF_Image_URL": "sample string 8", "EPF_Redirect_URL": "sample string 9" } ] } ] }, { "EdiaryMenuName": "sample string 1", "EdiaryPagesList": [ { "EdiaryPageId": 1, "EdiaryPage": "sample string 2", "EP_Name": "sample string 3", "EP_Icon_Id": 4, "EP_Icon_Title": "sample string 5", "EP_Image_URL": "sample string 6", "EP_Redirect_URL": "sample string 7", "EdiaryPageFunctionClaim": [ { "ClaimTypeId": 1, "IsClaimShown": true, "ClaimType": "sample string 3", "ClaimValue": true, "EPF_Name": "sample string 5", "EPF_Icon_Id": "sample string 6", "EPF_Icon_Title": "sample string 7", "EPF_Image_URL": "sample string 8", "EPF_Redirect_URL": "sample string 9" }, { "ClaimTypeId": 1, "IsClaimShown": true, "ClaimType": "sample string 3", "ClaimValue": true, "EPF_Name": "sample string 5", "EPF_Icon_Id": "sample string 6", "EPF_Icon_Title": "sample string 7", "EPF_Image_URL": "sample string 8", "EPF_Redirect_URL": "sample string 9" } ] }, { "EdiaryPageId": 1, "EdiaryPage": "sample string 2", "EP_Name": "sample string 3", "EP_Icon_Id": 4, "EP_Icon_Title": "sample string 5", "EP_Image_URL": "sample string 6", "EP_Redirect_URL": "sample string 7", "EdiaryPageFunctionClaim": [ { "ClaimTypeId": 1, "IsClaimShown": true, "ClaimType": "sample string 3", "ClaimValue": true, "EPF_Name": "sample string 5", "EPF_Icon_Id": "sample string 6", "EPF_Icon_Title": "sample string 7", "EPF_Image_URL": "sample string 8", "EPF_Redirect_URL": "sample string 9" }, { "ClaimTypeId": 1, "IsClaimShown": true, "ClaimType": "sample string 3", "ClaimValue": true, "EPF_Name": "sample string 5", "EPF_Icon_Id": "sample string 6", "EPF_Icon_Title": "sample string 7", "EPF_Image_URL": "sample string 8", "EPF_Redirect_URL": "sample string 9" } ] } ] } ]
application/xml, text/xml
Sample:
<ArrayOfHirearcialEdiaryMenusModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.HierarchicalModels"> <HirearcialEdiaryMenusModels> <EdiaryMenuName>sample string 1</EdiaryMenuName> <EdiaryPagesList> <HirearcialEdiaryPagesModels> <EP_Icon_Id>4</EP_Icon_Id> <EP_Icon_Title>sample string 5</EP_Icon_Title> <EP_Image_URL>sample string 6</EP_Image_URL> <EP_Name>sample string 3</EP_Name> <EP_Redirect_URL>sample string 7</EP_Redirect_URL> <EdiaryPage>sample string 2</EdiaryPage> <EdiaryPageFunctionClaim xmlns:d5p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <d5p1:ClaimsModels> <d5p1:ClaimType>sample string 3</d5p1:ClaimType> <d5p1:ClaimTypeId>1</d5p1:ClaimTypeId> <d5p1:ClaimValue>true</d5p1:ClaimValue> <d5p1:EPF_Icon_Id>sample string 6</d5p1:EPF_Icon_Id> <d5p1:EPF_Icon_Title>sample string 7</d5p1:EPF_Icon_Title> <d5p1:EPF_Image_URL>sample string 8</d5p1:EPF_Image_URL> <d5p1:EPF_Name>sample string 5</d5p1:EPF_Name> <d5p1:EPF_Redirect_URL>sample string 9</d5p1:EPF_Redirect_URL> <d5p1:IsClaimShown>true</d5p1:IsClaimShown> </d5p1:ClaimsModels> <d5p1:ClaimsModels> <d5p1:ClaimType>sample string 3</d5p1:ClaimType> <d5p1:ClaimTypeId>1</d5p1:ClaimTypeId> <d5p1:ClaimValue>true</d5p1:ClaimValue> <d5p1:EPF_Icon_Id>sample string 6</d5p1:EPF_Icon_Id> <d5p1:EPF_Icon_Title>sample string 7</d5p1:EPF_Icon_Title> <d5p1:EPF_Image_URL>sample string 8</d5p1:EPF_Image_URL> <d5p1:EPF_Name>sample string 5</d5p1:EPF_Name> <d5p1:EPF_Redirect_URL>sample string 9</d5p1:EPF_Redirect_URL> <d5p1:IsClaimShown>true</d5p1:IsClaimShown> </d5p1:ClaimsModels> </EdiaryPageFunctionClaim> <EdiaryPageId>1</EdiaryPageId> </HirearcialEdiaryPagesModels> <HirearcialEdiaryPagesModels> <EP_Icon_Id>4</EP_Icon_Id> <EP_Icon_Title>sample string 5</EP_Icon_Title> <EP_Image_URL>sample string 6</EP_Image_URL> <EP_Name>sample string 3</EP_Name> <EP_Redirect_URL>sample string 7</EP_Redirect_URL> <EdiaryPage>sample string 2</EdiaryPage> <EdiaryPageFunctionClaim xmlns:d5p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <d5p1:ClaimsModels> <d5p1:ClaimType>sample string 3</d5p1:ClaimType> <d5p1:ClaimTypeId>1</d5p1:ClaimTypeId> <d5p1:ClaimValue>true</d5p1:ClaimValue> <d5p1:EPF_Icon_Id>sample string 6</d5p1:EPF_Icon_Id> <d5p1:EPF_Icon_Title>sample string 7</d5p1:EPF_Icon_Title> <d5p1:EPF_Image_URL>sample string 8</d5p1:EPF_Image_URL> <d5p1:EPF_Name>sample string 5</d5p1:EPF_Name> <d5p1:EPF_Redirect_URL>sample string 9</d5p1:EPF_Redirect_URL> <d5p1:IsClaimShown>true</d5p1:IsClaimShown> </d5p1:ClaimsModels> <d5p1:ClaimsModels> <d5p1:ClaimType>sample string 3</d5p1:ClaimType> <d5p1:ClaimTypeId>1</d5p1:ClaimTypeId> <d5p1:ClaimValue>true</d5p1:ClaimValue> <d5p1:EPF_Icon_Id>sample string 6</d5p1:EPF_Icon_Id> <d5p1:EPF_Icon_Title>sample string 7</d5p1:EPF_Icon_Title> <d5p1:EPF_Image_URL>sample string 8</d5p1:EPF_Image_URL> <d5p1:EPF_Name>sample string 5</d5p1:EPF_Name> <d5p1:EPF_Redirect_URL>sample string 9</d5p1:EPF_Redirect_URL> <d5p1:IsClaimShown>true</d5p1:IsClaimShown> </d5p1:ClaimsModels> </EdiaryPageFunctionClaim> <EdiaryPageId>1</EdiaryPageId> </HirearcialEdiaryPagesModels> </EdiaryPagesList> </HirearcialEdiaryMenusModels> <HirearcialEdiaryMenusModels> <EdiaryMenuName>sample string 1</EdiaryMenuName> <EdiaryPagesList> <HirearcialEdiaryPagesModels> <EP_Icon_Id>4</EP_Icon_Id> <EP_Icon_Title>sample string 5</EP_Icon_Title> <EP_Image_URL>sample string 6</EP_Image_URL> <EP_Name>sample string 3</EP_Name> <EP_Redirect_URL>sample string 7</EP_Redirect_URL> <EdiaryPage>sample string 2</EdiaryPage> <EdiaryPageFunctionClaim xmlns:d5p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <d5p1:ClaimsModels> <d5p1:ClaimType>sample string 3</d5p1:ClaimType> <d5p1:ClaimTypeId>1</d5p1:ClaimTypeId> <d5p1:ClaimValue>true</d5p1:ClaimValue> <d5p1:EPF_Icon_Id>sample string 6</d5p1:EPF_Icon_Id> <d5p1:EPF_Icon_Title>sample string 7</d5p1:EPF_Icon_Title> <d5p1:EPF_Image_URL>sample string 8</d5p1:EPF_Image_URL> <d5p1:EPF_Name>sample string 5</d5p1:EPF_Name> <d5p1:EPF_Redirect_URL>sample string 9</d5p1:EPF_Redirect_URL> <d5p1:IsClaimShown>true</d5p1:IsClaimShown> </d5p1:ClaimsModels> <d5p1:ClaimsModels> <d5p1:ClaimType>sample string 3</d5p1:ClaimType> <d5p1:ClaimTypeId>1</d5p1:ClaimTypeId> <d5p1:ClaimValue>true</d5p1:ClaimValue> <d5p1:EPF_Icon_Id>sample string 6</d5p1:EPF_Icon_Id> <d5p1:EPF_Icon_Title>sample string 7</d5p1:EPF_Icon_Title> <d5p1:EPF_Image_URL>sample string 8</d5p1:EPF_Image_URL> <d5p1:EPF_Name>sample string 5</d5p1:EPF_Name> <d5p1:EPF_Redirect_URL>sample string 9</d5p1:EPF_Redirect_URL> <d5p1:IsClaimShown>true</d5p1:IsClaimShown> </d5p1:ClaimsModels> </EdiaryPageFunctionClaim> <EdiaryPageId>1</EdiaryPageId> </HirearcialEdiaryPagesModels> <HirearcialEdiaryPagesModels> <EP_Icon_Id>4</EP_Icon_Id> <EP_Icon_Title>sample string 5</EP_Icon_Title> <EP_Image_URL>sample string 6</EP_Image_URL> <EP_Name>sample string 3</EP_Name> <EP_Redirect_URL>sample string 7</EP_Redirect_URL> <EdiaryPage>sample string 2</EdiaryPage> <EdiaryPageFunctionClaim xmlns:d5p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <d5p1:ClaimsModels> <d5p1:ClaimType>sample string 3</d5p1:ClaimType> <d5p1:ClaimTypeId>1</d5p1:ClaimTypeId> <d5p1:ClaimValue>true</d5p1:ClaimValue> <d5p1:EPF_Icon_Id>sample string 6</d5p1:EPF_Icon_Id> <d5p1:EPF_Icon_Title>sample string 7</d5p1:EPF_Icon_Title> <d5p1:EPF_Image_URL>sample string 8</d5p1:EPF_Image_URL> <d5p1:EPF_Name>sample string 5</d5p1:EPF_Name> <d5p1:EPF_Redirect_URL>sample string 9</d5p1:EPF_Redirect_URL> <d5p1:IsClaimShown>true</d5p1:IsClaimShown> </d5p1:ClaimsModels> <d5p1:ClaimsModels> <d5p1:ClaimType>sample string 3</d5p1:ClaimType> <d5p1:ClaimTypeId>1</d5p1:ClaimTypeId> <d5p1:ClaimValue>true</d5p1:ClaimValue> <d5p1:EPF_Icon_Id>sample string 6</d5p1:EPF_Icon_Id> <d5p1:EPF_Icon_Title>sample string 7</d5p1:EPF_Icon_Title> <d5p1:EPF_Image_URL>sample string 8</d5p1:EPF_Image_URL> <d5p1:EPF_Name>sample string 5</d5p1:EPF_Name> <d5p1:EPF_Redirect_URL>sample string 9</d5p1:EPF_Redirect_URL> <d5p1:IsClaimShown>true</d5p1:IsClaimShown> </d5p1:ClaimsModels> </EdiaryPageFunctionClaim> <EdiaryPageId>1</EdiaryPageId> </HirearcialEdiaryPagesModels> </EdiaryPagesList> </HirearcialEdiaryMenusModels> </ArrayOfHirearcialEdiaryMenusModels>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.