Overview
Error Handling

Methods

API Documentation (API Version bleed)

Support/Request/Attachment/

DESCRIPTION

Methods to work with support request Attachments.

create

URL:

https://api.liquidweb.com/bleed/Support/Request/Attachment/create

Description:

Create the attachment with provided data.

Parameters:

ParameterTypeNotes
body

Null validator. Does no actual validation, always passes. Do not use this without great need.

The attachment itself, Base64 Encoded

* Required
case_idA valid identifier for a Salesforce Case* Required
descriptionA string potentially containing and/or ending with newline characters.
mime_typeA string of text, containing no newlines or other control characters.* Required
nameA string of text, containing no newlines or other control characters.* Required

Returns:

FieldType
idA valid identifier for a Salesforce object

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

delete

URL:

https://api.liquidweb.com/bleed/Support/Request/Attachment/delete

Description:

Delete an attachment

Parameters:

ParameterTypeNotes
idA valid identifier for a Salesforce Attachment* Required

Returns:

FieldType
successA boolean value (0 or 1).

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

details

URL:

https://api.liquidweb.com/bleed/Support/Request/Attachment/details

Description:

Given the ID of one of various attachment objects, return details regarding that object.

If the base64 encoded body of the object is desired, be sure to specify the alsowith of "body".

Parameters:

ParameterTypeNotes
alsowithAn array of The value: 'body'
idA valid identifier for a Salesforce object* Required

Returns:

FieldType
detailsOne of the following:
 
An associative array containing the fields:* Optional
bodyA string potentially containing and/or ending with newline characters.* Optional
descriptionA string potentially containing and/or ending with newline characters.
idA valid identifier for a Salesforce object
mime_typeA string of text, containing no newlines or other control characters.
nameA string of text, containing no newlines or other control characters.
object_typeThe value: 'attachment'
owner_idA valid identifier for a Salesforce object* Optional
parent_idA valid identifier for a Salesforce object
salesforce_accountA valid identifier for a Salesforce Account* Optional
salesforce_caseA valid identifier for a Salesforce Case* Optional
An associative array containing the fields:* Optional
bodyA string potentially containing and/or ending with newline characters.* Optional
checksumA string of text, containing no newlines or other control characters.* Optional
created_dateEither: a timestamp formatted according to the xsd:dateTime standard (described in the XML Schema specification); or a valid date and time in YYYY-MM-DD HH:MM:SS format, or a DateTime object.
descriptionA string potentially containing and/or ending with newline characters.* Optional
file_extensionA string of text, containing no newlines or other control characters.
file_typeA string of text, containing no newlines or other control characters.
idA valid identifier for a Salesforce object
linked_entity_idA valid identifier for a Salesforce object
object_typeThe value: 'contentdocumentlink'
salesforce_content_documentA valid identifier for a Salesforce object
salesforce_content_latest_versionA valid identifier for a Salesforce object* Optional
sizeAn integer value.* Optional
titleA string of text, containing no newlines or other control characters.* Optional
An associative array containing the fields:* Optional
bodyA string potentially containing and/or ending with newline characters.* Optional
checksumA string of text, containing no newlines or other control characters.* Optional
created_dateEither: a timestamp formatted according to the xsd:dateTime standard (described in the XML Schema specification); or a valid date and time in YYYY-MM-DD HH:MM:SS format, or a DateTime object.
descriptionA string potentially containing and/or ending with newline characters.* Optional
file_extensionA string of text, containing no newlines or other control characters.
file_typeA string of text, containing no newlines or other control characters.
idA valid identifier for a Salesforce object
object_typeThe value: 'contentdocument'
salesforce_content_latest_versionA valid identifier for a Salesforce object* Optional
sizeAn integer value.* Optional
titleA string of text, containing no newlines or other control characters.* Optional
An associative array containing the fields:* Optional
bodyA string potentially containing and/or ending with newline characters.* Optional
checksumA string of text, containing no newlines or other control characters.* Optional
created_dateEither: a timestamp formatted according to the xsd:dateTime standard (described in the XML Schema specification); or a valid date and time in YYYY-MM-DD HH:MM:SS format, or a DateTime object.
descriptionA string potentially containing and/or ending with newline characters.* Optional
file_extensionA string of text, containing no newlines or other control characters.
file_typeA string of text, containing no newlines or other control characters.
idA valid identifier for a Salesforce object
is_latestA boolean value (0 or 1).
object_typeThe value: 'contentversion'
salesforce_content_documentA valid identifier for a Salesforce object
sizeAn integer value.* Optional
titleA string of text, containing no newlines or other control characters.* Optional

Possible Errors:

Refer to the Error Handling documentation for the list of exception types