LeadService Operations

For a list of operations associated with this Web service, see the following table.

Name Description

LeadServiceRetireLead

Retires a lead.

LeadServiceCreateLead

Creates a lead.

LeadServiceRejectLead

Rejects a lead.

LeadServiceResponseToLead

Converts response to leads.

LeadServiceConvertLeadToOpty

Converts lead to an opportunity.

LeadServiceUpdateLead

Updates a lead.

Request Message Description: LeadServiceRetireLead

This method is used to assign leads. It accepts the input parameters in a property set. For a description of this request message, see the following table.

Node Description Type

LeadId

Required. The ID of the lead to be retired.

String

ReasonCode

Required The reason code for retiring the lead.

String

Comments

Comments for retiring (if any).

String

Response Message Description: LeadServiceRetireLead

For a description of this response message, see the following table.

Node Description Type

ReturnVal

Error code values are OK or NOTOK.

String

Request Message Description: LeadServiceCreateLead

For a description of this request message, see the following table.

Node Description Type

Lead IO

Required. An instance of the integration object Lead IO.

Integration Object

Response Message Description: LeadServiceCreateLead

For a description of this response message, see the following table.

Node Description Type

Error Message

Error message (if any).

String

Success Flag

Y or N.

String

Lead Id

ID of the lead generated as a result of the lead creation.

String

Request Message Description: LeadServiceRejectLead

This method is used to reject a lead. The lead ID is retained, along with a reject comments code, a reject reason code. Optionally an owner ID can be passed to whom the lead will be assigned. For a description of this request message, see the following table.

Node Description Type

LeadId

Required. The ID of the lead to be rejected.

String

OwnerId

Optional.

String

ReasonCode

Reason code for rejecting the lead.

String

Comments

Comments (if any).

String

For a description of this response message, see the following table.

Node Description Type

ReturnVal

Error code values are OK or NOTOK.

String

For a description of this request message, see the following table.

Node Description Type

Response Id

Required. The ID of the response to be converted to lead.

String

For a description of this response message, see the following table.

Node Description Type

Error Message

Error message (if any).

String

Success Flag

Y or N.

String

Lead Id

The ID of the lead created from the response.

String

For a description of this request message, see the following table.

Node Description Type

LeadId

Required. The ID of the lead to be converted.

String

Contact Id

The contact ID of the lead.

String

Account Id

The account ID of the lead.

String

For a description of this response message, see the following table.

Node Description Type

Error Message

Error message (if any).

String

Success Flag

Y or N.

String

Opty Id

The ID of the opportunity created.

String

This method is used to update leads. It accepts input parameters in a property set. For a description of this request message, see the following table.

Node Description Type

Lead IO

Required. An instance of the integration object Lead IO.

Integration Object

For a description of this response message, see the following table.

Node Description Type

Error Message

Error message (if any).

String

Success Flag

Y or N.

String