Opportunities
Salesforce-Proxies
>
Opportunities
openapi: 3.0.1
info:
title: Salesforce Proxy API - Opportunities
version: v1
description: API to interact with Salesforce Proxy
contact:
name: Salesforce Proxy
url: https://www.jackhenry.com/
email: DC-Operations@jackhenry.com
servers:
- url: https://banno.com
description: Production Endpoint
components:
securitySchemes:
OpenIDEnterprise:
type: openIdConnect
openIdConnectUrl: https://login.jackhenry.com/.well-known/openid-configuration
description: "Jack Henry Enterprise Authentication. \n\n### Supported Flows\n\n#### 1. Authorization Code Flow\n* **Use Case:** Person-at-keyboard logins (FI or JH Employees).\n* **Security:** Supports/recommends PKCE (S256). Supports Pushed Authorization Requests (PAR), and DPoP token binding.\n* **Client Auth:** Supports/recommends `client_assertion` (Private Key JWT), also supports `client_secret`.\n\n#### 2. Client Credentials Flow\n* **Use Case:** System services and machine-to-machine integrations.\n* **Security:** Supports DPoP token binding.\n* **Client Auth:** **Requires** `client_assertion` (Private Key JWT).\n"
OpenIDConsumer:
type: openIdConnect
openIdConnectUrl: https://digital.garden-fi.com/.well-known/openid-configuration
description: "Jack Henry Consumer Authentication. \n\n> **WARNING: FI-SPECIFIC ROUTING**\n> The authorization server is currently pointing to our **Sandbox Environment** (`digital.garden-fi.com`) so you can test this documentation. In production code, this domain **must** be replaced with the specific Financial Institution's domain.\n> Example: Replace `{API-ENVIRONMENT}` in `https://{API-ENVIRONMENT}/.well-known/openid-configuration` with `digital.garden-fi.com` for the Garden financial institution.\n\n### Supported Flows\n\n#### 1. Authorization Code Flow\n* **Use Case:** Person-at-keyboard logins (customer or member of FI).\n* **Security:** Supports/recommends PKCE (S256). Supports Pushed Authorization Requests (PAR), and DPoP token binding.\n* **Client Auth:** Supports `client_secret`.\n"
tags:
- name: Opportunities
description: Salesforce sales opportunities.
paths:
/a/salesforce-proxy/api/v1/{InstitutionUniversalId}/opportunities:
post:
operationId: createOpportunity
tags:
- Opportunities
description: Create a new sales opportunity in Salesforce for the given institution.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
requestBody:
description: Opportunity resource to be created.
required: true
content:
application/json:
schema:
type: object
required:
- userName
- productName
properties:
userName:
type: string
description: The name of the user creating the opportunity.
productName:
type: string
description: The name of the product for the opportunity.
responses:
'201':
description: Successful create.
content:
application/json:
schema:
type: object
required:
- id
properties:
id:
type: string
description: The Salesforce opportunity identifier.
'400':
description: The request was rejected. Either the proxy rejected a malformed request (a validation error whose `fieldDetails` identify the offending fields), or Salesforce rejected the request values and the error was passed through (titled "salesforce request failed", with no `fieldDetails`). Both shapes conform to the schema below; `fieldDetails` is present only for proxy-side validation errors.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
fieldDetails:
type: array
description: An array of objects which provide additional details to specific fields in the request that caused the error.
items:
type: object
properties:
field:
type: string
description: The name or path of the field in the request that caused the error.
detail:
type: string
description: A end-user readable message describing the error related to the field.
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'404':
description: The server can not find the requested resource. In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also send this response instead of 403 to hide the existence of a resource from an unauthorized client.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
'502':
description: The proxy could not get a valid response from Salesforce. This includes an upstream 5xx response, a transport failure, or an upstream auth/permission failure.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
default:
description: For any other Salesforce client error (for example 409, 422, or 429), the upstream status code is preserved, but the response body is normalized into the standard error envelope (Salesforce's error codes and messages are retained within it) — it is not relayed byte-for-byte.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
/a/salesforce-proxy/api/v1/{InstitutionUniversalId}/opportunities/{opportunityId}:
get:
operationId: getOpportunity
tags:
- Opportunities
description: Retrieve a specific opportunity by ID, scoped to the given institution.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- name: opportunityId
in: path
required: true
schema:
type: string
description: The Salesforce opportunity identifier.
description: The Salesforce opportunity identifier.
responses:
'200':
description: Successful retrieve.
content:
application/json:
schema:
type: object
required:
- id
- name
- stageName
- closeDate
- createdDate
- lastModifiedDate
- isClosed
- isWon
properties:
id:
type: string
description: The Salesforce opportunity identifier.
name:
type: string
description: The opportunity name.
stageName:
type: string
description: The current stage of the opportunity.
closeDate:
type: string
format: date
description: The expected close date, in YYYY-MM-DD format.
createdDate:
type: string
format: date-time
description: The date the opportunity was created.
lastModifiedDate:
type: string
format: date-time
description: The date the opportunity was last modified.
isClosed:
type: boolean
description: Whether the opportunity is closed.
isWon:
type: boolean
description: Whether the opportunity was won.
amount:
type: number
description: The opportunity amount.
description:
type: string
description: The opportunity description.
nextStep:
type: string
description: The next step for the opportunity.
type:
type: string
description: The opportunity type.
leadSource:
type: string
description: The lead source for the opportunity.
forecastCategoryName:
type: string
description: The forecast category name for the opportunity.
probability:
type: number
description: The probability (as a percentage) that the opportunity will be won.
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'404':
description: The server can not find the requested resource. In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also send this response instead of 403 to hide the existence of a resource from an unauthorized client.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
'502':
description: The proxy could not get a valid response from Salesforce. This includes an upstream 5xx response, a transport failure, or an upstream auth/permission failure.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
default:
description: For any other Salesforce client error (for example 409, 422, or 429), the upstream status code is preserved, but the response body is normalized into the standard error envelope (Salesforce's error codes and messages are retained within it) — it is not relayed byte-for-byte.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
patch:
operationId: updateOpportunity
tags:
- Opportunities
description: Update one or more fields on a specific opportunity, scoped to the given institution. At least one field must be supplied; omitted fields are left unchanged.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- name: opportunityId
in: path
required: true
schema:
type: string
description: The Salesforce opportunity identifier.
description: The Salesforce opportunity identifier.
requestBody:
description: The opportunity fields to update.
required: true
content:
application/merge-patch+json:
schema:
type: object
description: Fields to update on the opportunity. All fields are optional; at least one must be supplied. Omitted fields are left unchanged.
minProperties: 1
properties:
name:
type: string
description: The opportunity name.
stageName:
type: string
description: The current stage of the opportunity.
closeDate:
type: string
format: date
description: The expected close date, in YYYY-MM-DD format.
amount:
type: number
description: The opportunity amount.
description:
type: string
description: The opportunity description.
nextStep:
type: string
description: The next step for the opportunity.
leadSource:
type: string
description: The lead source for the opportunity.
type:
type: string
description: The opportunity type.
forecastCategoryName:
type: string
description: The forecast category name for the opportunity.
probability:
type: number
description: The probability (as a percentage) that the opportunity will be won.
responses:
'204':
description: Successful update. No content is returned.
'400':
description: The request was rejected. Either the proxy rejected a malformed request (a validation error whose `fieldDetails` identify the offending fields), or Salesforce rejected the request values and the error was passed through (titled "salesforce request failed", with no `fieldDetails`). Both shapes conform to the schema below; `fieldDetails` is present only for proxy-side validation errors.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
fieldDetails:
type: array
description: An array of objects which provide additional details to specific fields in the request that caused the error.
items:
type: object
properties:
field:
type: string
description: The name or path of the field in the request that caused the error.
detail:
type: string
description: A end-user readable message describing the error related to the field.
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'404':
description: The server can not find the requested resource. In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also send this response instead of 403 to hide the existence of a resource from an unauthorized client.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
'502':
description: The proxy could not get a valid response from Salesforce. This includes an upstream 5xx response, a transport failure, or an upstream auth/permission failure.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
default:
description: For any other Salesforce client error (for example 409, 422, or 429), the upstream status code is preserved, but the response body is normalized into the standard error envelope (Salesforce's error codes and messages are retained within it) — it is not relayed byte-for-byte.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
Did this page help you?
Why was this page helpful?
Why wasn't this page helpful?
Thank you for your feedback!
Last updated Wed Apr 29 2026