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": "bcf3e323-1787-4a90-821f-aea215d00a90",
"documentType": 2,
"documentID": "f590e79e-eabd-4e7c-848d-ae97e3ee954a",
"accountID": "db90c653-30e1-47de-a04d-f379c911e69c",
"dashboardID": "sample string 4",
"accountDocumentShare": [
{
"$id": "2",
"id": "f1366631-d8aa-488f-9005-0af8920b0bf7",
"accountDocumentId": "cedac6a3-8612-4d59-9dad-c1c6edecae85",
"accountId": "4fa81a72-9b54-4f6d-938f-1adb805100d0",
"accountName": "sample string 3",
"privilegeGroupId": "3339fcba-6ad8-4136-b15b-58e132848280",
"privilegeGroupName": "sample string 4",
"storeId": "ab77e6cb-f181-4351-948a-0492003179e7",
"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>cedac6a3-8612-4d59-9dad-c1c6edecae85</d2p1:AccountDocumentId>
<d2p1:AccountId>4fa81a72-9b54-4f6d-938f-1adb805100d0</d2p1:AccountId>
<d2p1:AccountName>sample string 3</d2p1:AccountName>
<d2p1:ID>f1366631-d8aa-488f-9005-0af8920b0bf7</d2p1:ID>
<d2p1:PrivilegeGroupId>3339fcba-6ad8-4136-b15b-58e132848280</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>ab77e6cb-f181-4351-948a-0492003179e7</d2p1:StoreId>
<d2p1:StoreName>sample string 5</d2p1:StoreName>
</d2p1:AccountDocumentShare>
<d2p1:AccountDocumentShare>
<d2p1:AccountDocumentId>cedac6a3-8612-4d59-9dad-c1c6edecae85</d2p1:AccountDocumentId>
<d2p1:AccountId>4fa81a72-9b54-4f6d-938f-1adb805100d0</d2p1:AccountId>
<d2p1:AccountName>sample string 3</d2p1:AccountName>
<d2p1:ID>f1366631-d8aa-488f-9005-0af8920b0bf7</d2p1:ID>
<d2p1:PrivilegeGroupId>3339fcba-6ad8-4136-b15b-58e132848280</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>ab77e6cb-f181-4351-948a-0492003179e7</d2p1:StoreId>
<d2p1:StoreName>sample string 5</d2p1:StoreName>
</d2p1:AccountDocumentShare>
</AccountDocumentShare>
<AccountID>db90c653-30e1-47de-a04d-f379c911e69c</AccountID>
<DashboardID>sample string 4</DashboardID>
<DocumentID>f590e79e-eabd-4e7c-848d-ae97e3ee954a</DocumentID>
<DocumentType>2</DocumentType>
<ID>bcf3e323-1787-4a90-821f-aea215d00a90</ID>
</ShareDocument>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.