Method GetAccessLogItemsCount
GetAccessLogItemsCount(String, String)
Gets the count of available access log entries
Declaration
int GetAccessLogItemsCount(string connectionId, string documentId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | documentId | The document id. See also Id |
Returns
Type | Description |
---|---|
System.Int32 | Count of log items |
Examples
POST http://YourServerName/InfoShare/Json/Document/GetAccessLogItemsCount
Example for gets the count of available access log entries.{
"connectionId": "1fbe116a-20a9-4378-b198-6cf3283f0238",
"documentId": "7d58533d-75db-e911-a946-00155d290a08"
}
Response:
{
"GetAccessLogItemsCountResult": 1
}
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | No document found for documentId {documentId} (10005) |
ServiceException | Not allowed (10014) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |
ServiceException | Property type {propertyTypeId} value is too long: {value} (10179) |