POST api/shareDocument
Save share product filter
Request Information
URI Parameters
None.
Body Parameters
Share Product Filter to save
ShareDocument| Name | 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": "d0efb132-ee62-4d3c-b067-e7b652ba7cbe",
"documentType": 2,
"documentID": "75e9ac78-4212-44da-ad65-c8a2dd7b0e2d",
"accountID": "4336d20b-0a31-4fa7-b9cc-aabb86cf12bc",
"dashboardID": "sample string 4",
"accountDocumentShare": [
{
"$id": "2",
"id": "70399ff5-477f-4cde-8b7c-388cdc2df83c",
"accountDocumentId": "735de910-0efc-4257-a741-4cfc9f24a96e",
"accountId": "8cb76054-055e-42b7-8cd0-5cccc677f251",
"accountName": "sample string 3",
"privilegeGroupId": "6537f261-bcb7-42b7-b082-b70ad5525b1b",
"privilegeGroupName": "sample string 4",
"storeId": "a4b1a03e-ea6d-40af-bba1-109aa256f086",
"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>735de910-0efc-4257-a741-4cfc9f24a96e</d2p1:AccountDocumentId>
<d2p1:AccountId>8cb76054-055e-42b7-8cd0-5cccc677f251</d2p1:AccountId>
<d2p1:AccountName>sample string 3</d2p1:AccountName>
<d2p1:ID>70399ff5-477f-4cde-8b7c-388cdc2df83c</d2p1:ID>
<d2p1:PrivilegeGroupId>6537f261-bcb7-42b7-b082-b70ad5525b1b</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>a4b1a03e-ea6d-40af-bba1-109aa256f086</d2p1:StoreId>
<d2p1:StoreName>sample string 5</d2p1:StoreName>
</d2p1:AccountDocumentShare>
<d2p1:AccountDocumentShare>
<d2p1:AccountDocumentId>735de910-0efc-4257-a741-4cfc9f24a96e</d2p1:AccountDocumentId>
<d2p1:AccountId>8cb76054-055e-42b7-8cd0-5cccc677f251</d2p1:AccountId>
<d2p1:AccountName>sample string 3</d2p1:AccountName>
<d2p1:ID>70399ff5-477f-4cde-8b7c-388cdc2df83c</d2p1:ID>
<d2p1:PrivilegeGroupId>6537f261-bcb7-42b7-b082-b70ad5525b1b</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>a4b1a03e-ea6d-40af-bba1-109aa256f086</d2p1:StoreId>
<d2p1:StoreName>sample string 5</d2p1:StoreName>
</d2p1:AccountDocumentShare>
</AccountDocumentShare>
<AccountID>4336d20b-0a31-4fa7-b9cc-aabb86cf12bc</AccountID>
<DashboardID>sample string 4</DashboardID>
<DocumentID>75e9ac78-4212-44da-ad65-c8a2dd7b0e2d</DocumentID>
<DocumentType>2</DocumentType>
<ID>d0efb132-ee62-4d3c-b067-e7b652ba7cbe</ID>
</ShareDocument>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.