Interface IStatisticClient
Namespace: System.Dynamic.ExpandoObject
Syntax
public interface IStatisticClient
Methods
AddContentEventsAsync(AddContentEventsRequest, CancellationToken)
Add content events
Declaration
Task<BusinessProcess> AddContentEventsAsync(AddContentEventsRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
AddContentEventsRequest
request
Request |
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<BusinessProcess>
Business process |
Exceptions
ApiException
A server side error occurred. |
PictureparkValidationException
Validation exception |
PictureparkForbiddenException
Forbidden |
PictureparkNotFoundException
Entity not found |
PictureparkConflictException
Version conflict |
PictureparkException
Internal server error |
ExportContentStatisticsAsync(ExportContentStatisticsRequest, CancellationToken)
Export content statistics
Declaration
Task<BusinessProcess> ExportContentStatisticsAsync(ExportContentStatisticsRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
ExportContentStatisticsRequest
request
Request |
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<BusinessProcess>
Business process |
Exceptions
ApiException
A server side error occurred. |
PictureparkValidationException
Validation exception |
PictureparkForbiddenException
Forbidden |
PictureparkNotFoundException
Entity not found |
PictureparkConflictException
Version conflict |
PictureparkException
Internal server error |
GetSingleContentStatisticsAsync(String, IEnumerable<TimeSpan>, CancellationToken)
Retrieve single content statistics
Declaration
Task<ContentStatisticsAggregated> GetSingleContentStatisticsAsync(string contentId, IEnumerable<TimeSpan> timeFrames = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
contentId
Id of Content |
System.Collections.Generic.IEnumerable<System.TimeSpan>
timeFrames
Optionally aggregate data for given time frames |
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<ContentStatisticsAggregated>
|
Exceptions
ApiException
A server side error occurred. |
PictureparkValidationException
Validation exception |
PictureparkForbiddenException
Forbidden |
PictureparkNotFoundException
Entity not found |
PictureparkConflictException
Version conflict |
PictureparkException
Internal server error |
ResolveDownloadLinkAsync(String, CancellationToken)
Resolve download link
Declaration
Task<DownloadLink> ResolveDownloadLinkAsync(string referenceId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
referenceId
Reference id |
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<DownloadLink>
Download link information |
Exceptions
ApiException
A server side error occurred. |
PictureparkValidationException
Validation exception |
PictureparkForbiddenException
Forbidden |
PictureparkNotFoundException
Entity not found |
PictureparkConflictException
Version conflict |
PictureparkException
Internal server error |