Attachments class

Clase que representa los datos adjuntos.

Constructores

Attachments(ConnectorClientContext)

Cree datos adjuntos.

Métodos

getAttachment(string, string, RequestOptionsBase)

Obtener la vista con nombre como contenido binario

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

Obtener la estructura AttachmentInfo que describe las vistas de datos adjuntos

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

Detalles del constructor

Attachments(ConnectorClientContext)

Cree datos adjuntos.

new Attachments(client: ConnectorClientContext)

Parámetros

client
ConnectorClientContext

Referencia al cliente de servicio.

Detalles del método

getAttachment(string, string, RequestOptionsBase)

Obtener la vista con nombre como contenido binario

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

Parámetros

attachmentId

string

id. de datos adjuntos

viewId

string

Ver identificador desde attachmentInfo

options

RequestOptionsBase

Devoluciones

Promise<Models.AttachmentsGetAttachmentResponse>

Promise<Models.AttachmentsGetAttachmentResponse>

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

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

Parámetros

attachmentId

string

id. de datos adjuntos

viewId

string

Ver identificador desde attachmentInfo

options

RequestOptionsBase

Los parámetros opcionales

callback

ServiceCallback<void>

Devolución de llamada

getAttachment(string, string, ServiceCallback<void>)

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

Parámetros

attachmentId

string

id. de datos adjuntos

viewId

string

Ver identificador desde attachmentInfo

callback

ServiceCallback<void>

Devolución de llamada

getAttachmentInfo(string, RequestOptionsBase)

Obtener la estructura AttachmentInfo que describe las vistas de datos adjuntos

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

Parámetros

attachmentId

string

id. de datos adjuntos

options

RequestOptionsBase

Devoluciones

Promise<Models.AttachmentsGetAttachmentInfoResponse>

Promise<Models.AttachmentsGetAttachmentInfoResponse>

getAttachmentInfo(string, RequestOptionsBase, ServiceCallback<AttachmentInfo>)

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

Parámetros

attachmentId

string

id. de datos adjuntos

options

RequestOptionsBase

Los parámetros opcionales

callback

ServiceCallback<AttachmentInfo>

Devolución de llamada

getAttachmentInfo(string, ServiceCallback<AttachmentInfo>)

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

Parámetros

attachmentId

string

id. de datos adjuntos

callback

ServiceCallback<AttachmentInfo>

Devolución de llamada