Opportunities

Adds an Opportunity

If you have trouble with creating an Opportunity, try creating Opportunities via the web interface, and then access those Opportunities via the API. This way you can see examples of the fields and sub-elements attached to the Opportunity. A common source of problems during write/update request is caused when users omit required fields, or insert invalid data in a field (e.g. reference a CATEGORY_ID that does not exist in the user's Insightly instance.

post/Opportunities

Request

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

Headers

Authorizationstring required

Authorization

Request body

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
PROBABILITYinteger
FORECAST_CLOSE_DATEstring date-time
OWNER_USER_IDinteger
ORGANISATION_IDinteger

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.