< Back

Set-AffinityOpportunity

Fri Jan 10, 2020 7:50 pm

NAME Set-AffinityOpportunity



SYNOPSIS

Updates an existing opportunity with opportunity_id with the supplied parameters





SYNTAX

Set-AffinityOpportunity [-OpportunityID] <Int64> [[-OpportunityName] <String>] [[-PersonIDs] <Int64[]>]

[[-OrganizationIDs] <Int64[]>] [<CommonParameters>]





DESCRIPTION

Long description





PARAMETERS

-OpportunityID <Int64>

Affinity opportunity_id



Required? true

Position? 1

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-OpportunityName <String>

Affinity opportunity_name



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PersonIDs <Int64[]>

Affinity person_ids



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-OrganizationIDs <Int64[]>

Affinity organization_ids



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Inputs to this cmdlet (if any)





OUTPUTS

Output from this cmdlet (if any)





NOTES





If you are trying to add a person to an opportunity, the existing values for person_ids must also be passed

into the endpoint.



If you are trying to add an organization to an opportunity, the existing values for organization_ids must also

be passed into the endpoint.



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Example of how to use this cmdlet













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Another example of how to use this cmdlet















RELATED LINKS

https://api-docs.affinity.co/#update-an-opportunity