OpportunityTeamMember

An object that represents a team member.

Supported API Calls: List | Get | Add | Update | Delete

Object Properties

Property

Type

Description

Id

integer

A unique ID representing the OpportunityTeamMember object. When adding a new OpportunityTeamMember the value must be 0.

OpportunityId

integer

ID of the parent opportunity object.

UserId

integer

ID of the internal user included on the team.

TeamMemberRole

string (100)

ID to set the Team Member Information dialog box's Role drop-down box. Value should be equal to a TeamMemberRole object's ID field.

Description

string (100)

Text for the Team Member Information dialog box's description field.

OpportunityAccessLevel

string (100)

Sets the team member's access to the opportunity. Can be None, View Only, or Full Access.

LineItemAccessLevel

string (100)

Sets the team member's access to the list of products associated with this opportunity. Can be None, View Only, or Full Access.

ContactRoleAccessLevel

string (100)

Sets the team member's access to the opportunity's contact role page. Can be None, View Only, or Full Access.

List

Description

Returns a list of team members associated with the specified opportunity

URL

https://{company}.bluecamroo.com/api/opportunityteammember/list?opportunityid={opportunityid}

HTTP Method

GET

Parameters

None

Data Return

Returns a list of opportunityteammember objects specified by opportunityid in the requested format (e.g., JSON or XML)

HTTP Return Status Code

200: Ok

401: Not authorized (you need to log in)

Get

Returns details for the specified team member.

URL

https://{company}.bluecamroo.com/api/opportunityteammember/get/{id}?opportunityId={opportunityId}

HTTP Method

GET

Parameters

None

Data Return

Returns the opportunityteammember object in the requested format (e.g., JSON or XML)

HTTP Return Status Code

200: Ok

400: Bad Request (One or more input data items is not valid, for example a mandatory field is blank)

401: Not authorized (you need to log in)

403: Forbidden (you don't have permission to this resource)

Add

Description

Adds an opportunity team member.

URL

https://{company}.bluecamroo.com/api/opportunityteammember/add

HTTP Method

POST

Parameters

An opportunityteammember object

Data Return

Returns the opportunityteammember in the requested format (e.g., JSON or XML)

HTTP Return Status Code

201: Created

401: Not authorized (you need to log in)

403: Forbidden (you don't have permission to this resource)

Update

Description

Updates an opportunityteammember object .

URL

https://{company}.bluecamroo.com/api/opportunityteammember/update

HTTP Method

PUT

Parameters

An opportunityteammember object

Data Return

Returns the opportunityteammember in the requested format (e.g., JSON or XML)

HTTP Return Status Code

200: Ok

400: Bad Request (One or more input data items is not valid, for example a mandatory field is blank)

401: Not authorized (you need to log in)

403: Forbidden (you don't have permission to this resource)

Delete

Description

Deletes the team member.

URL

https://{company}.bluecamroo.com/api/opportunityteammember/delete/{id}?opportunityId={opportunityId}

HTTP Method

DELETE

Parameters

None

Data Return

None

HTTP Return Status Code

200: Ok

400: Bad Request (One or more input data items is not valid, for example a mandatory field is blank)

401: Not authorized (you need to log in)

403: Forbidden (you don't have permission to this resource)