Maximo API Client - v0.9.21
    Preparing search index...

    Interface AttachmentUploadOptions

    Options for uploading attachments

    interface AttachmentUploadOptions {
        description?: string;
        doctype?: string;
        contentType?: string;
        customEncoding?: "base64";
        encslug?: string;
        encdescription?: string;
        contentLocation?: string;
        customHeaders?: Record<string, string>;
    }
    Index

    Properties

    description?: string

    Description of the attachment

    doctype?: string

    Document type (e.g., 'Attachments'). Supports 'DOCTYPE' or 'URLTYPE/DOCTYPE' format

    contentType?: string

    Content-Type of the file data

    customEncoding?: "base64"

    Set to 'base64' to indicate the body is base64-encoded data (uses custom-encoding header)

    encslug?: string

    Base64-encoded file name for non-ASCII characters

    encdescription?: string

    Base64-encoded description for non-ASCII characters

    contentLocation?: string

    Content-Location header for URL/WWW type attachments

    customHeaders?: Record<string, string>

    Custom headers to include in the request