POST Study/PostRoleViewAssociationForSite
Request Information
URI Parameters
None.
Body Parameters
PostRoleViewAssociationForSiteRequestName | Description | Type | Additional information |
---|---|---|---|
siteID | integer |
None. |
|
userID | integer |
None. |
|
roleViewData | Collection of RoleViewAssociationData |
None. |
Request Formats
application/json, text/json
Sample:
{ "siteID": 1, "userID": 2, "roleViewData": [ { "roleID": 1, "allowTabReorder": true, "allowAddView": true, "selectedViews": "sample string 4", "showEditColumn": true }, { "roleID": 1, "allowTabReorder": true, "allowAddView": true, "selectedViews": "sample string 4", "showEditColumn": true } ] }
application/xml, text/xml
Sample:
<PostRoleViewAssociationForSiteRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DynamicsIntegrationToolkit.DTO"> <roleViewData> <RoleViewAssociationData> <allowAddView>true</allowAddView> <allowTabReorder>true</allowTabReorder> <roleID>1</roleID> <selectedViews>sample string 4</selectedViews> <showEditColumn>true</showEditColumn> </RoleViewAssociationData> <RoleViewAssociationData> <allowAddView>true</allowAddView> <allowTabReorder>true</allowTabReorder> <roleID>1</roleID> <selectedViews>sample string 4</selectedViews> <showEditColumn>true</showEditColumn> </RoleViewAssociationData> </roleViewData> <siteID>1</siteID> <userID>2</userID> </PostRoleViewAssociationForSiteRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |