Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

getMimeType

Queries the MIME type of an attachment in Optimizely Campaign.

Type: String

Parameters

NameTypeValue
sessionIdStringID of the session
attachmentIdlongID of the attachment

Return values

MIME type of the attachment

Code structure

String getMimeType(String sessionId, long attachmentId)