Opportunities

Updates an Opportunity's Custom Image Field

This action will replace any existing Image attached to the Opportunity's image field. The contents of the image data should be sent as binary data in the request payload. See our <a href="http://github.com/Insightly" target="_blank">client libraries</a> for an example of how this is done.

put/Opportunities/{id}/ImageField/{fieldName}/{fileName}

Request

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

Path parameters

idinteger required

A Record's ID

fieldNamestring required

An image field name

fileNamestring required

An image file name

Headers

Authorizationstring required

Authorization

Request body application/octet-stream

string binary required

Response

Request succeeded.

OPPORTUNITY_IDinteger
OPPORTUNITY_NAMEstring string required
OPPORTUNITY_DETAILSstring string
OPPORTUNITY_STATEstring string
RESPONSIBLE_USER_IDinteger
CATEGORY_IDinteger
IMAGE_URLstring string
BID_CURRENCYstring string
BID_AMOUNTnumber
BID_TYPEstring string
BID_DURATIONinteger
ACTUAL_CLOSE_DATEstring date-time
DATE_CREATED_UTCstring date-time
DATE_UPDATED_UTCstring date-time
OPPORTUNITY_VALUEnumber
PROBABILITYinteger
FORECAST_CLOSE_DATEstring date-time
OWNER_USER_IDinteger
LAST_ACTIVITY_DATE_UTCstring date-time
NEXT_ACTIVITY_DATE_UTCstring date-time
PIPELINE_IDinteger
STAGE_IDinteger
CREATED_USER_IDinteger
ORGANISATION_IDinteger
PRICEBOOK_IDinteger
LINKED_EMAIL_ADDRESSstring string

Changes

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