PUT api/shareDocument/{documentID}
Update share Document using document Id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
documentID |
Filter identifier |
globally unique identifier |
Required |
Body Parameters
Product Filter to update
ShareDocumentName | Description | Type | Additional information |
---|---|---|---|
ID | globally unique identifier |
None. |
|
DocumentType |
Type of Document Dashboard , Report ,Filter |
DocumentType |
None. |
DocumentID |
Saved Document ID |
globally unique identifier |
None. |
AccountID |
Creator Account ID |
globally unique identifier |
None. |
DashboardID | string |
None. |
|
AccountDocumentShare | Collection of AccountDocumentShare |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "424c884f-cb03-4ae7-b837-dc98ac90ad6e", "documentType": 2, "documentID": "5d1ddf9e-490b-4c3c-bbb9-3ba6ec181fb4", "accountID": "3eb9e56f-2f1b-4903-a1ff-10316c4edb95", "dashboardID": "sample string 4", "accountDocumentShare": [ { "$id": "2", "id": "6806ad0e-d410-454e-a402-2c59fb82302c", "accountDocumentId": "a2a41ad7-a05f-4365-ad24-cd67f0a357af", "accountId": "8a23303d-cc93-44bc-a5fb-cacffb431396", "accountName": "sample string 3", "privilegeGroupId": "8019967b-f2a5-44cc-9ae2-d6e1484c40a0", "privilegeGroupName": "sample string 4", "storeId": "8bfd5e96-0d33-4865-85e1-3df0c91f851d", "storeName": "sample string 5", "shareLevel": 6, "shareAll": true, "showUser": true }, { "$ref": "2" } ] }
application/xml, text/xml
Sample:
<ShareDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.Tenancies.Filters"> <AccountDocumentShare xmlns:d2p1="http://schemas.datacontract.org/2004/07/EziManager.Models.Tenancies.ShareDocument"> <d2p1:AccountDocumentShare> <d2p1:AccountDocumentId>a2a41ad7-a05f-4365-ad24-cd67f0a357af</d2p1:AccountDocumentId> <d2p1:AccountId>8a23303d-cc93-44bc-a5fb-cacffb431396</d2p1:AccountId> <d2p1:AccountName>sample string 3</d2p1:AccountName> <d2p1:ID>6806ad0e-d410-454e-a402-2c59fb82302c</d2p1:ID> <d2p1:PrivilegeGroupId>8019967b-f2a5-44cc-9ae2-d6e1484c40a0</d2p1:PrivilegeGroupId> <d2p1:PrivilegeGroupName>sample string 4</d2p1:PrivilegeGroupName> <d2p1:ShareAll>true</d2p1:ShareAll> <d2p1:ShareLevel>6</d2p1:ShareLevel> <d2p1:ShowUser>true</d2p1:ShowUser> <d2p1:StoreId>8bfd5e96-0d33-4865-85e1-3df0c91f851d</d2p1:StoreId> <d2p1:StoreName>sample string 5</d2p1:StoreName> </d2p1:AccountDocumentShare> <d2p1:AccountDocumentShare> <d2p1:AccountDocumentId>a2a41ad7-a05f-4365-ad24-cd67f0a357af</d2p1:AccountDocumentId> <d2p1:AccountId>8a23303d-cc93-44bc-a5fb-cacffb431396</d2p1:AccountId> <d2p1:AccountName>sample string 3</d2p1:AccountName> <d2p1:ID>6806ad0e-d410-454e-a402-2c59fb82302c</d2p1:ID> <d2p1:PrivilegeGroupId>8019967b-f2a5-44cc-9ae2-d6e1484c40a0</d2p1:PrivilegeGroupId> <d2p1:PrivilegeGroupName>sample string 4</d2p1:PrivilegeGroupName> <d2p1:ShareAll>true</d2p1:ShareAll> <d2p1:ShareLevel>6</d2p1:ShareLevel> <d2p1:ShowUser>true</d2p1:ShowUser> <d2p1:StoreId>8bfd5e96-0d33-4865-85e1-3df0c91f851d</d2p1:StoreId> <d2p1:StoreName>sample string 5</d2p1:StoreName> </d2p1:AccountDocumentShare> </AccountDocumentShare> <AccountID>3eb9e56f-2f1b-4903-a1ff-10316c4edb95</AccountID> <DashboardID>sample string 4</DashboardID> <DocumentID>5d1ddf9e-490b-4c3c-bbb9-3ba6ec181fb4</DocumentID> <DocumentType>2</DocumentType> <ID>424c884f-cb03-4ae7-b837-dc98ac90ad6e</ID> </ShareDocument>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.