Insightly

Links

    Insightly API

    Getting access, Developing, Testing

    Back to Insightly

    Updates A Prospect

    If you have trouble updating a Prospect, try accessing the Prospect via the GET request to inspect its fields and sub-elements. A common source of problems with write/update requests occurs when users either omit required fields, or insert invalid data into a field (for example, by referring a CATEGORY_ID or LINK_ID which does not exist.

    Input

    type: object properties: parameters: type: object properties: fieldValues: title: Prospect required: - EMAIL_ADDRESS type: object properties: PROSPECT_ID: format: int64 maxLength: 0 type: integer readOnly: true SALUTATION: format: string maxLength: 50 type: string readOnly: false FIRST_NAME: format: string maxLength: 255 type: string readOnly: false LAST_NAME: format: string maxLength: 255 type: string readOnly: false ORGANISATION_NAME: format: string maxLength: 255 type: string readOnly: false TITLE: format: string maxLength: 255 type: string readOnly: false EMAIL_ADDRESS: format: string maxLength: 255 type: string readOnly: false PHONE: format: string maxLength: 255 type: string readOnly: false MOBILE: format: string maxLength: 255 type: string readOnly: false FAX: format: string maxLength: 255 type: string readOnly: false WEBSITE: format: string maxLength: 255 type: string readOnly: false ADDRESS_STREET: format: string maxLength: 255 type: string readOnly: false ADDRESS_CITY: format: string maxLength: 255 type: string readOnly: false ADDRESS_STATE: format: string maxLength: 255 type: string readOnly: false ADDRESS_POSTCODE: format: string maxLength: 128 type: string readOnly: false ADDRESS_COUNTRY: format: string maxLength: 255 type: string readOnly: false INDUSTRY: format: string maxLength: 128 type: string readOnly: false EMPLOYEE_COUNT: format: int32 maxLength: 0 type: integer readOnly: false DESCRIPTION: format: string maxLength: 4000 type: string readOnly: false DO_NOT_EMAIL: format: boolean maxLength: 0 type: boolean readOnly: false DO_NOT_CALL: format: boolean maxLength: 0 type: boolean readOnly: false OPTED_OUT: format: boolean maxLength: 0 type: boolean readOnly: false OWNER_USER_ID: format: int32 maxLength: 0 type: integer readOnly: false DO_NOT_SYNC: format: boolean maxLength: 0 type: boolean readOnly: false GRADE_PROFILE_ID: format: int64 maxLength: 0 type: integer readOnly: false CUSTOMFIELDS: type: array items: title: CustomField type: object properties: FIELD_NAME: type: string FIELD_VALUE: type: object description: >- The record to update (just include the JSON object as the request body) required: - fieldValues title: Parameters