Attachments class

Classe représentant des pièces jointes.

Constructeurs

Attachments(ConnectorClientContext)

Créez des pièces jointes.

Méthodes

getAttachment(string, string, RequestOptionsBase)

Obtenir la vue nommée en tant que contenu binaire

getAttachment(string, string, RequestOptionsBase, ServiceCallback<void>)
getAttachment(string, string, ServiceCallback<void>)
getAttachmentInfo(string, RequestOptionsBase)

Obtenir la structure AttachmentInfo décrivant les vues de pièces jointes

getAttachmentInfo(string, RequestOptionsBase, ServiceCallback<AttachmentInfo>)
getAttachmentInfo(string, ServiceCallback<AttachmentInfo>)

Détails du constructeur

Attachments(ConnectorClientContext)

Créez des pièces jointes.

new Attachments(client: ConnectorClientContext)

Paramètres

client
ConnectorClientContext

Référence au client de service.

Détails de la méthode

getAttachment(string, string, RequestOptionsBase)

Obtenir la vue nommée en tant que contenu binaire

function getAttachment(attachmentId: string, viewId: string, options?: RequestOptionsBase): Promise<Models.AttachmentsGetAttachmentResponse>

Paramètres

attachmentId

string

ID de pièce jointe

viewId

string

Afficher l’ID à partir de attachmentInfo

options

RequestOptionsBase

Retours

Promise<Models.AttachmentsGetAttachmentResponse>

Promise<Models.AttachmentsGetAttachmentResponse>

getAttachment(string, string, RequestOptionsBase, ServiceCallback<void>)

function getAttachment(attachmentId: string, viewId: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Paramètres

attachmentId

string

ID de pièce jointe

viewId

string

Afficher l’ID à partir de attachmentInfo

options

RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<void>

Rappel

getAttachment(string, string, ServiceCallback<void>)

function getAttachment(attachmentId: string, viewId: string, callback: ServiceCallback<void>)

Paramètres

attachmentId

string

ID de pièce jointe

viewId

string

Afficher l’ID à partir de attachmentInfo

callback

ServiceCallback<void>

Rappel

getAttachmentInfo(string, RequestOptionsBase)

Obtenir la structure AttachmentInfo décrivant les vues de pièces jointes

function getAttachmentInfo(attachmentId: string, options?: RequestOptionsBase): Promise<Models.AttachmentsGetAttachmentInfoResponse>

Paramètres

attachmentId

string

ID de pièce jointe

options

RequestOptionsBase

Retours

Promise<Models.AttachmentsGetAttachmentInfoResponse>

Promise<Models.AttachmentsGetAttachmentInfoResponse>

getAttachmentInfo(string, RequestOptionsBase, ServiceCallback<AttachmentInfo>)

function getAttachmentInfo(attachmentId: string, options: RequestOptionsBase, callback: ServiceCallback<AttachmentInfo>)

Paramètres

attachmentId

string

ID de pièce jointe

options

RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<AttachmentInfo>

Rappel

getAttachmentInfo(string, ServiceCallback<AttachmentInfo>)

function getAttachmentInfo(attachmentId: string, callback: ServiceCallback<AttachmentInfo>)

Paramètres

attachmentId

string

ID de pièce jointe

callback

ServiceCallback<AttachmentInfo>

Rappel