HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

getSize

Queries the size of an attachment in Optimizely Campaign.

Type: long

Parameters

NameTypeValue
sessionIdStringID of the session
attachmentIdlongID of the attachment

Return values

Size of the attachment

Code structure

long getSize(String sessionId, long attachmentId)

What’s Next