GET http://api.servicem8.com/api_1.0/Attachment.json
Status: 200
[[{"uuid":"...",
"active":"...",
"related_object":"...",
"related_object_uuid":"...",
"attachment_name":"...",
"file_type":"...",
"created_by_staff_uuid":"...",
"timestamp":"...",
"attachment_source":"..."},
{"uuid":"...",
"active":"...",
"related_object":"...",
"related_object_uuid":"...",
"attachment_name":"...",
"file_type":"...",
"created_by_staff_uuid":"...",
"timestamp":"...",
"attachment_source":"..."}]]
GET http://api.servicem8.com/api_1.0/Attachment/{UUID}.json
Returns a single Attachment.
Status: 200
[{"uuid":"...",
"active":"...",
"related_object":"...",
"related_object_uuid":"...",
"attachment_name":"...",
"file_type":"...",
"created_by_staff_uuid":"...",
"timestamp":"...",
"attachment_source":"..."}]
POST http://api.servicem8.com/api_1.0/Attachment.json
Creates a new Attachment.
{"related_object":"New Data Here"}
Status: 200
POST http://api.servicem8.com/api_1.0/Attachment/{UUID}.json
Updates an existing Attachment with new details from the submitted JSON.
{"related_object":"Updated Data Here"}
Status: 200
DELETE http://api.servicem8.com/api_1.0/Attachment/{UUID}.json
Deactivate the Attachment at the referenced URL.
Status: 200