Difference between revisions of "API:Opportunity:Create"

From docs
Jump to: navigation, search
(Created page with "== API » Create Opportunity == '''URL:''' <nowiki>https://app.callproof.com/api/opportunity/new/</nowiki> '''Method:''' POST '''Required Fields:''' * '''''api_key...")
 
(API » Create Opportunity)
 
Line 17: Line 17:
 
* '''''opportunity[value]''''' - Value  
 
* '''''opportunity[value]''''' - Value  
 
* '''''opportunity[probability]''''' - Probability (1-100)
 
* '''''opportunity[probability]''''' - Probability (1-100)
* '''''opportunity[contact_ids]''''' - Array of other contact ids to add in the opportunity
+
* '''''opportunity[contact_ids][]''''' - Array of other contact ids to add in the opportunity
  
  

Latest revision as of 13:32, 25 July 2017

API » Create Opportunity

URL: https://app.callproof.com/api/opportunity/new/

Method: POST

Required Fields:

  • api_key[key] - API Key
  • api_key[secret] - API Key Secret
  • opportunity[opp_name] - Opportunity name
  • opportunity[opp_stage_id] - Opportunity Stage ID
  • opportunity[opp_type_id] - Opportunity Stage ID
  • opportunity[close_date] - Opportunity Close Date MM-DD-YYYY
  • opportunity[notes] - Notes for opportunity
  • opportunity[contact_id] - Contact
  • opportunity[value] - Value
  • opportunity[probability] - Probability (1-100)
  • opportunity[contact_ids][] - Array of other contact ids to add in the opportunity


Data Returned:

  • results - Companies details
  • errors - Array of errors produced by the request
  • code - HTTP request status