Method GetDownloadShareInfo
GetDownloadShareInfo(String, String)
Gets the download share info for a document share
Declaration
ShareInfoContract GetDownloadShareInfo(string tenantName, string documentShareId)
Parameters
Type | Name | Description |
---|---|---|
System.String | tenantName | The tenant name |
System.String | documentShareId | The document share id |
Returns
Type | Description |
---|---|
ShareInfoContract | Returns the download share info. See also ShareInfoContract |
Examples
POST http://YourServerName/InfoShare/Json/File/GetDownloadShareInfo
Example for getting the download share info.{
"tenantName": null,
"documentShareId": "89dcf0ba-9c19-485b-bc0a-e8b5666866fa"
}
Response:
{
"GetDownloadShareInfoResult": {
"DocumentExtension": ".txt",
"HasMultipleDocuments": false }
}
Exceptions
Type | Condition |
---|---|
ServiceException | Tenant not found {tenantName} (10038) |
ServiceException | Document share not found {documentShareId} (10104) |
ServiceException | No document found for documentId {documentId} (10005) |