Leads

Updates a Lead's Custom Image Field

This action will replace any existing Image attached to the Lead'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/Leads/{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.

LEAD_IDinteger required
SALUTATIONstring string
FIRST_NAMEstring string
LAST_NAMEstring string required
LEAD_SOURCE_IDinteger required
LEAD_STATUS_IDinteger required
TITLEstring string
CONVERTEDboolean
CONVERTED_CONTACT_IDinteger
CONVERTED_DATE_UTCstring date-time
CONVERTED_OPPORTUNITY_IDinteger
CONVERTED_ORGANISATION_IDinteger
DATE_CREATED_UTCstring date-time
DATE_UPDATED_UTCstring date-time
EMAILstring string
EMPLOYEE_COUNTinteger
FAXstring string
INDUSTRYstring string
LEAD_DESCRIPTIONstring string
LEAD_RATINGinteger
MOBILEstring string
OWNER_USER_IDinteger
PHONEstring string
RESPONSIBLE_USER_IDinteger
WEBSITEstring string
ADDRESS_STREETstring string
ADDRESS_CITYstring string
ADDRESS_STATEstring string
ADDRESS_POSTCODEstring string
ADDRESS_COUNTRYstring string
LAST_ACTIVITY_DATE_UTCstring date-time
NEXT_ACTIVITY_DATE_UTCstring date-time
ORGANISATION_NAMEstring string
CREATED_USER_IDinteger
IMAGE_URLstring string
EMAIL_OPTED_OUTboolean
LINKED_EMAIL_ADDRESSstring string

Changes

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