Attachments
  • 06 Jun 2024
  • 1 Minute to read
  • PDF

Attachments

  • PDF

Article summary

Description 

 A document or image file attached to a description or message in Aspire. Applies to Activities, Contacts, Properties, Opportunities, Site Audits, Emails, Receipts, Equipment, Employee Incident, Work Ticket, Invoice, and Visits. Click Manage Attachments for more information. 

Resource Overview 

Endpoint Definition 
GET/AttachmentsRetrieve a list of information related to attachments. 
GET/Attachments/AttachFileData
Retrieve a list of information related to an attached file.
POST/Attachments 
Add an attachment.

Attributes

Attribute
Description
Data Type
Notes 
ActivityIDunique identifier for an activity

integer(int32)


ActivityNumber
an identifying number assigned to an activity used to search for a saved activity in Aspireinteger(int32)

AttachmentID
unique identifier for an attachmentintegerint32)
AttachmentName
file name of the attachmentstring
Max Length: 255
AttachmentTypeID
unique identifier for attachment typeinteger(int32)


AttachmentTypeName
descriptive title of the attachmentstring Max Length: 50

AttachToInvoice

indicates if the attachment should be linked to the invoice when emailed to the customerboolean



ContactID 
unique identifier for a contactinteger(int32)Max Length: 101
CreatedDate
activity creation dateDateTime
ContactName
full name of the contact associated with the attachmentstringMax Length: 100 
DateUploaded
date and time when an attachment is uploaded DateTime


EmployeeIncidentID
unique identifier for an employee incident integer(int32)
EquipmentDescription 

additional details added to an equipment entry stringMax Length: 250
EquipmentID 
unique identifier for an equipment entryinteger(int32)
ExposeToCrew
indicates if the information should be available to crew leader(s) associated with the attachmentboolean 
ExternalContentID
unique identifier for content hosted outside the Aspire systemstring Max Length: 255 
FileData
Base64 encoded filed contentstringMin Length: 1 
FileExtension
extension type of the filestringMax Length: 10
FileName
description of filestringMin Length: 1
Note
additional details or commentsstringMax Length: 500
NotificationTemplateID
unique identifier for a notification template integer(int32)
ObjectCodecode associated with objectstringMin Length: 1 
ObjectId
unique identifier for objectinteger(int32)
OpportunityID
unique identifier for an opportunity integer(int32)
OpportunityNumbernumber assigned to an opportunity within the Aspire systeminteger(int32)
OriginalFileName
the original name of the uploaded file stringMax Length: 255
PropertyID
unique identifier for a propertyinteger (int32) 
PropertyName
name listed for the propertystringMax Length: 100
PropertyQACategoryID
identifier for the property's QA category integer(int32)
ReciptID
unique identifier for a receiptinteger(int32)Max Length: 15 
ReciptNumbernumeric code representing a receiptinteger(int32)Max Length: 200
ShowCustomer
flag indicating if the customer can view the item boolean
WorkTicketID 
unique identifier for work ticket integer(int32)
WorkTicketNumber
numerical code representing a work ticketinteger(int32)
WorkTicketVisitID
unique identifier for a work ticket visitinteger(int32)

Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.