Get Opportunity
GET/crm/opportunities/:opportunityId
Get opportunity based on id
Request
Path Parameters
opportunityId stringrequired
The item id of the opportunity record
Query Parameters
credentialId stringrequired
The ID of the credential.
Header Parameters
Authorization stringrequired
Default value: bearer YOUR_API_KEY
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
opportunity
object
id string
remoteId string
opportunityName string
opportunityDescription string
amount integer
Default value: 0
opportunityOwner string
opportunityAccount string
opportunityStage string
opportunityStatus string
lastActivityAt string
closeDate string
remoteCreatedAt string
remoteUpdatedAt string
remoteDeleted boolean
Default value: true
createdAt string
updatedAt string
{
"opportunity": {
"id": "00000000-0000-0000-0000-000000000000",
"remoteId": "1000000000001",
"opportunityName": "Innovative Tech Solutions",
"opportunityDescription": "Developing new software tools for market research",
"amount": 120000,
"opportunityOwner": "1000000000002",
"opportunityAccount": "1000000000003",
"opportunityStage": "Proposal/Price Quote",
"opportunityStatus": "Active",
"lastActivityAt": "2023-09-20",
"closeDate": "2023-12-15",
"remoteCreatedAt": "2023-11-19T17:00:17.000Z",
"remoteUpdatedAt": "2023-11-19T17:00:17.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:53.264Z",
"updatedAt": "2024-02-22T13:54:03.445Z"
}
}
{
"opportunity": {
"id": "00000000-0000-0000-0000-000000000000",
"remoteId": "1000000000001",
"opportunityName": "Innovative Tech Solutions",
"opportunityDescription": "Developing new software tools for market research",
"amount": 120000,
"opportunityOwner": "1000000000002",
"opportunityAccount": "1000000000003",
"opportunityStage": "Proposal/Price Quote",
"opportunityStatus": "Active",
"lastActivityAt": "2023-09-20",
"closeDate": "2023-12-15",
"remoteCreatedAt": "2023-11-19T17:00:17.000Z",
"remoteUpdatedAt": "2023-11-19T17:00:17.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:53.264Z",
"updatedAt": "2024-02-22T13:54:03.445Z"
}
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
object
{}
{}
Loading...