HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

getFilename

Queries the file name of an attachment in Optimizely Campaign.

Type: String

Parameters

NameTypeValue
sessionIdStringID of the session
attachmentIdlongID of the attachment

Return values

File name of the attachment

Code structure

String getFilename(String sessionId, long attachmentId)

What’s Next