MergeCRMClient::Opportunity
Name
Type
Description
Notes
name
String
The opportunity's name.
[optional]
description
String
The opportunity's description.
[optional]
amount
Integer
The opportunity's amount.
[optional]
owner
String
The opportunity's owner.
[optional]
account
String
The account of the opportunity.
[optional]
stage
String
The stage of the opportunity.
[optional]
status
OpportunityStatusEnum
The opportunity's status. * `OPEN` - OPEN * `WON` - WON * `LOST` - LOST
[optional]
last_activity_at
Time
When the opportunity's last activity occurred.
[optional]
close_date
Time
When the opportunity was closed.
[optional]
remote_created_at
Time
When the third party's opportunity was created.
[optional]
remote_was_deleted
Boolean
[optional][readonly]
id
String
[optional][readonly]
remote_id
String
The third-party API ID of the matching object.
[optional]
modified_at
Time
This is the datetime that this object was last updated by Merge
[optional][readonly]
field_mappings
Hash<String, AnyType>
[optional][readonly]
remote_data
Array<RemoteData>
[optional][readonly]
remote_fields
Array<RemoteField>
[optional][readonly]
require 'merge_crm_client'
instance = MergeCRMClient ::Opportunity . new (
name : Needs Integrations ,
description : Needs a Unified API for Integrations! ,
amount : 100000 ,
owner : 0358 cbc6 -2040 -430 a -848 e -aafacbadf3aa ,
account : 0958 cbc6 -6040 -430 a -848 e -aafacbadf4ae ,
stage : 1968 cbc6 -6040 -430 a -848 e -aafacbadf4ad ,
status : WON ,
last_activity_at : 2022 -02 -10 T00 :00Z ,
close_date : 2022 -02 -10 T00 :00Z ,
remote_created_at : 2021 -11 -10 T00 :00Z ,
remote_was_deleted : null ,
id : null ,
remote_id : 19202938 ,
modified_at : 2021 -10 -16 T00 :00Z ,
field_mappings : { " ; organization_defined_targets " ; :{ " ; custom_key " ; :" ; custom_value " ; } , " ; linked_account_defined_targets " ; :{ " ; custom_key " ; :" ; custom_value " ; } } ,
remote_data : [ { " ; path " ; :" ; /opportunities " ; , " ; data " ; :[ " ; Varies by platform " ; ] } ] ,
remote_fields : null
)