Save Attachment Entity
Updates the existing AttachmentEntity or creates a new AttachmentEntity if the id parameter is 0.
NsApiSlow threshold: 5000 ms.
Headers
Convert string references and multi-language values into a specified language (iso2) code.
Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.
Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.
Specify the timezone code that you would like date/time responses converted to.
The application token that identifies the partner app. Used when calling Online WebAPI from a server.
Body
The AttachmentEntity that is saved
The Attachment carrier represent meta data for a Service attachment Carrier object for AttachmentEntity. Services for the AttachmentEntity Carrier is available from the Ticket Agent.
The primary key (auto-incremented)
The filename for the attachment.
The content type for the attachment (e.g. 'applaction/octet-stream' or 'application/vnd.openxmlformats-officedocument.wordprocessingml.document').
The size (in bytes) for the attachment.
True if this attachment is inlined in the html_body.
The content_id of this attachment, used for inline images
The key used for authenticating access to this attachment.
Is file considered to be safe (based on extension and settings)
Wraps a table right together with an explanatory reason. Code can indicate why access is restricted.
Field property dictionary mapping field names to field access rights.
Response
OK
The Attachment carrier represent meta data for a Service attachment Carrier object for AttachmentEntity. Services for the AttachmentEntity Carrier is available from the Ticket Agent.
The primary key (auto-incremented)
The filename for the attachment.
The content type for the attachment (e.g. 'applaction/octet-stream' or 'application/vnd.openxmlformats-officedocument.wordprocessingml.document').
The size (in bytes) for the attachment.
True if this attachment is inlined in the html_body.
The content_id of this attachment, used for inline images
The key used for authenticating access to this attachment.
Is file considered to be safe (based on extension and settings)
Wraps a table right together with an explanatory reason. Code can indicate why access is restricted.
Field property dictionary mapping field names to field access rights.
Related topics
Post Attachment EntityNSTicketAgentSuperOffice.WebApi.Agents.ITicketAgentSuperOffice.WebApi.Agents.TicketAgentSave attachments to SuperOfficeSave Ticket Message Entity