Pronto / OPPORTUNITIES
- create opportunity
- update opportunity
- opportunity details
- opportunities by relationship
- opportunities by account
- opportunity by plan
- delete opportunity
- star opportunity
-
create opportunity
-
HTTP REQUEST
POST /opportunities/ -
-
EXAMPLE
https://api.gopronto.io/api/v1/opportunities/ - Request Headers
-
Content-Type application application/json
Body -
JSON
{
"name": "Fox Hub Opportunity 1",
"stage": "qi7KVymHRky2Fvmd5E7QfQ",
"account": "rkxtXrFDSaufQzy9B9-dQg",
"description": "Lorem Lorem Lorem",
"closed_dt": "2022-03-13",
"generated_by": "{{LEAD_COMPANY_ID}}",
"total_deal_size": 10000,
"business_outcomes": [],
"relationship": "7SdFcb4SQqaAaeberNmnKw",
"status": "Wo6pshSPTR-oCSjDK_FQVQ",
"owners": ["GmEeAEjQTTWrRzBG0ff29A"],
"industry": "9sTDhxbDTOmsCj0iviyQJA",
"sales_territory": "{{COMPANY_SALES_TERRITORY_ID}}"
}
-
update opportunity
-
HTTP REQUEST
PUT /opportunities/{OPPORTUNITY_ID}/ -
-
EXAMPLE
https://api.gopronto.io/api/v1/opportunities/L9tbU4F1QsCwU0siBcP6Tg/Request Headers
-
Content-Type application application/json
Body -
JSON
{
"name": "Fox Hub Opportunity 1",
"stage": "qi7KVymHRky2Fvmd5E7QfQ",
"account": "rkxtXrFDSaufQzy9B9-dQg",
"generated_by": "{{LEAD_COMPANY_ID}}",
"relationship": "7SdFcb4SQqaAaeberNmnKw",
"closed_dt": "2022-03-13",
"total_deal_size": 88888,
"industry": "9sTDhxbDTOmsCj0iviyQJA"
}
-
opportunity details
-
HTTP REQUEST
GET /opportunities/{OPPORTUNITY_ID}/ -
-
EXAMPLE
https://api.gopronto.io/api/v1/opportunities/L9tbU4F1QsCwU0siBcP6Tg/ -
-
opportunities by relationship
-
HTTP REQUEST
GET /opportunities/?relationship={RELATIONSHIP_ID} -
-
EXAMPLE
https://api.gopronto.io/api/v1/opportunities/?relationship=7SdFcb4SQqaAaeberNmnKw - Path Parameters
-
Option Description RELATIONSHIP_ID The relationship path can be found in the URL when a relationship is selected in the Ecosystem view. Example: https://app.gopronto.io/ui/#/p/relationships/7SdFcb4SQqaAaeberNmnKw/about
-
opportunities by account
-
HTTP REQUEST
GET /opportunities/?account={ACCOUNT_ID} -
-
EXAMPLE
https://api.gopronto.io/api/v1/opportunities/?account=rkxtXrFDSaufQzy9B9-dQg - Path Parameters
-
Option Description ACCOUNT_ID The Account ID can be found in the URL when a Account is selected in the Relationship. Example:
https://app.gopronto.io/ui/#/p/relationships/7SdFcb4SQqaAaeberNmnKw/accounts/rkxtXrFDSaufQzy9B9-dQg
-
opportunity by plan
-
HTTP REQUEST
GET /opportunities/?plan={PLAN_ID} -
-
EXAMPLE
https://api.gopronto.io/api/v1/opportunities/?plan=7Ud29wSsSgOR3EeWIBWJ9w - Path Parameters
-
Option Description PLAN_ID The PlanID can be found in the URL when a Plan is selected in the Relationship. Example:
https://app.gopronto.io/ui/#/p/relationships/7SdFcb4SQqaAaeberNmnKw/plan/7Ud29wSsSgOR3EeWIBWJ9w
-
delete opportunity
-
HTTP REQUEST
DEL /opportunities/{OPPORTUNITY_ID}/ -
-
EXAMPLE
https://api.gopronto.io/api/v1/opportunities/SAQEFYlHTreDqf0VEp44zw/ - Status Code
- Request will return a [204 No Content] if successful or a [404 Not Found] if "No Task matches the given query."
-
star opportunity
-
HTTP REQUEST
POST /opportunities/{OPPORTUNITY_ID}/star/ -
-
EXAMPLE
https://api.gopronto.io/api/v1/opportunities/L9tbU4F1QsCwU0siBcP6Tg/star/
Body form-data -
is_starred true
- Curl Example: --data-raw '{"is_starred":true}' \
- or
- --data-raw '{"is_starred":false}' \
Comments
0 comments
Please sign in to leave a comment.