Skip to main content

Get a List of Attachments

This service lists information about any attachments to the requested entity.

Query String Parameters

NameTypeDescriptionRequired
ActionStringListAttachmentsRequired
TypeStringAttachment Type Name, for example 'job'. Required
EntityIDStringEntity ID. For example, when using the Contact type, this would be the ContactID. EntityID takes precedence over EntityRef if both parameters are supplied.Required
EntityRefStringEntity Reference – for example, when using the Contact Type, this would be the Contact Reference.Required

Response Codes

CodeMessageInformation
0Response Data
2type parameter expected
2Misc.Lang(misc_noRight
2Library Attachments Not Implemented
2Type should be contact/job/invoice/InvoiceAttachment/Stockitem/WorksheetAnswer/ContactNote/Stock/Resource/ResourcePhoto/Contract
2entityRef or entityId parameter expected
2Invalid format EntityId
2Contact not found
2Job not found
2JobGroup not found
2Invalid type
2Invoice not found
2stockitem not found
2You must supply an entityId
2Contact Note not found
2Asset not found
2Resource not found
2Library Attachment listing Not Implemented
2Contract not found
2SalesOpportunity not found

Example

Request URL

https://webservice.bigchange.com/v01/services.ashx?action=action=ListAttachments&Type=job&EntityId=126209701