POST api/shareDocument
Save share product filter
Request Information
URI Parameters
None.
Body Parameters
Share Product Filter to save
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": "fea78c0f-c628-42ac-ae55-cc82bc3d9f2f", "documentType": 2, "documentID": "8e2e22bb-6090-4317-8860-6937bd9c3a80", "accountID": "700e6b9e-b6c0-459a-9b0f-61f293c933e6", "dashboardID": "sample string 4", "accountDocumentShare": [ { "$id": "2", "id": "482bc3f6-770b-4bbb-90a5-c74ca6bb2c06", "accountDocumentId": "af4cc75a-ff1f-473f-a141-05e5d0575b2a", "accountId": "3dc67e3e-b898-4aa4-b1b5-c037440c1927", "accountName": "sample string 3", "privilegeGroupId": "580e9cd5-93ef-49de-93b5-a6c72fe52949", "privilegeGroupName": "sample string 4", "storeId": "b024434f-504a-4e4e-ba6b-cc94e1ba3bd4", "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>af4cc75a-ff1f-473f-a141-05e5d0575b2a</d2p1:AccountDocumentId> <d2p1:AccountId>3dc67e3e-b898-4aa4-b1b5-c037440c1927</d2p1:AccountId> <d2p1:AccountName>sample string 3</d2p1:AccountName> <d2p1:ID>482bc3f6-770b-4bbb-90a5-c74ca6bb2c06</d2p1:ID> <d2p1:PrivilegeGroupId>580e9cd5-93ef-49de-93b5-a6c72fe52949</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>b024434f-504a-4e4e-ba6b-cc94e1ba3bd4</d2p1:StoreId> <d2p1:StoreName>sample string 5</d2p1:StoreName> </d2p1:AccountDocumentShare> <d2p1:AccountDocumentShare> <d2p1:AccountDocumentId>af4cc75a-ff1f-473f-a141-05e5d0575b2a</d2p1:AccountDocumentId> <d2p1:AccountId>3dc67e3e-b898-4aa4-b1b5-c037440c1927</d2p1:AccountId> <d2p1:AccountName>sample string 3</d2p1:AccountName> <d2p1:ID>482bc3f6-770b-4bbb-90a5-c74ca6bb2c06</d2p1:ID> <d2p1:PrivilegeGroupId>580e9cd5-93ef-49de-93b5-a6c72fe52949</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>b024434f-504a-4e4e-ba6b-cc94e1ba3bd4</d2p1:StoreId> <d2p1:StoreName>sample string 5</d2p1:StoreName> </d2p1:AccountDocumentShare> </AccountDocumentShare> <AccountID>700e6b9e-b6c0-459a-9b0f-61f293c933e6</AccountID> <DashboardID>sample string 4</DashboardID> <DocumentID>8e2e22bb-6090-4317-8860-6937bd9c3a80</DocumentID> <DocumentType>2</DocumentType> <ID>fea78c0f-c628-42ac-ae55-cc82bc3d9f2f</ID> </ShareDocument>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.