Opportunities

Adds a File Attachment to an Opportunity

This endpoint expects multipart/form-data as the request payload. See Stack Overflow for examples of how to generate multipart requests, or see our <a href="http://github.com/Insightly" target="_blank">client libraries</a> for an example of how this is generated. Only one file can be added per request. Some file types are not allowed for security reasons.

post/Opportunities/{id}/FileAttachments

Request

  • Base URL
    https://api.insightly.com/v3.1
  • Auth
    none declared. Required headers: Authorization

Path parameters

idinteger required

Record ID

Headers

Authorizationstring required

Authorization

Request body multipart/form-data

file_namestring
content_typestring
file_category_idinteger

Response

Request succeeded.

FILE_IDinteger
FILE_NAMEstring required
CONTENT_TYPEstring required
FILE_SIZEinteger
FILE_CATEGORY_IDinteger
OWNER_USER_IDinteger
DATE_CREATED_UTCstring date-time
DATE_UPDATED_UTCstring date-time
URLstring

Changes

No recorded changes to this operation across all 1 revision of this API.