Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

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)