POST api/shareDocument

Save share product filter

Request Information

URI Parameters

None.

Body Parameters

Share Product Filter to save

ShareDocument
NameDescriptionTypeAdditional 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": "3a4f4d3b-b945-463e-aa2d-abcaa518a4fc",
  "documentType": 2,
  "documentID": "635b1835-1c77-4267-ac24-35fa7ccc0b96",
  "accountID": "9e8eb7e7-edc7-4038-8592-151448319c4e",
  "dashboardID": "sample string 4",
  "accountDocumentShare": [
    {
      "$id": "2",
      "id": "69b11c04-9a8b-440b-898f-1f8c928500f2",
      "accountDocumentId": "8f074847-f3f6-4134-bbc0-2a1c8474abf8",
      "accountId": "3eeea77b-04b1-4de4-b472-b4353a431757",
      "accountName": "sample string 3",
      "privilegeGroupId": "684a433c-e840-455a-a7af-a0fbf45d9556",
      "privilegeGroupName": "sample string 4",
      "storeId": "325c3e30-5080-4c30-8db4-86c10d902a2e",
      "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>8f074847-f3f6-4134-bbc0-2a1c8474abf8</d2p1:AccountDocumentId>
      <d2p1:AccountId>3eeea77b-04b1-4de4-b472-b4353a431757</d2p1:AccountId>
      <d2p1:AccountName>sample string 3</d2p1:AccountName>
      <d2p1:ID>69b11c04-9a8b-440b-898f-1f8c928500f2</d2p1:ID>
      <d2p1:PrivilegeGroupId>684a433c-e840-455a-a7af-a0fbf45d9556</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>325c3e30-5080-4c30-8db4-86c10d902a2e</d2p1:StoreId>
      <d2p1:StoreName>sample string 5</d2p1:StoreName>
    </d2p1:AccountDocumentShare>
    <d2p1:AccountDocumentShare>
      <d2p1:AccountDocumentId>8f074847-f3f6-4134-bbc0-2a1c8474abf8</d2p1:AccountDocumentId>
      <d2p1:AccountId>3eeea77b-04b1-4de4-b472-b4353a431757</d2p1:AccountId>
      <d2p1:AccountName>sample string 3</d2p1:AccountName>
      <d2p1:ID>69b11c04-9a8b-440b-898f-1f8c928500f2</d2p1:ID>
      <d2p1:PrivilegeGroupId>684a433c-e840-455a-a7af-a0fbf45d9556</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>325c3e30-5080-4c30-8db4-86c10d902a2e</d2p1:StoreId>
      <d2p1:StoreName>sample string 5</d2p1:StoreName>
    </d2p1:AccountDocumentShare>
  </AccountDocumentShare>
  <AccountID>9e8eb7e7-edc7-4038-8592-151448319c4e</AccountID>
  <DashboardID>sample string 4</DashboardID>
  <DocumentID>635b1835-1c77-4267-ac24-35fa7ccc0b96</DocumentID>
  <DocumentType>2</DocumentType>
  <ID>3a4f4d3b-b945-463e-aa2d-abcaa518a4fc</ID>
</ShareDocument>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.