Get all sales leads
get
/crmRestApi/resources/11.13.18.05/assets/{AssetId}/child/assetLeads
Request
Path Parameters
-
AssetId(required): integer(int64)
The unique identifier of the asset.
Query Parameters
-
dependency: string
This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2
Format: <attr1>=<val1>,<attr2>=<value2> -
effectiveDate: string
This query parameter is used to fetch resources which are effective dated as of the specified start date. The value of this query parameter is a string having a date in yyyy-MM-dd format
-
expand: string
When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
-
fields: string
This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.
Format: ?fields=Attribute1,Attribute2
Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2 -
finder: string
Used as a predefined finder to search the collection.
Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>
The following are the available finder names and corresponding finder variables:- LeadsFinderByContactId: Finds the list of leads with the specified contact ID.
Finder Variables:- ContactId; integer; The unique identifier of the contact.
- SysEffectiveDate; object.
- MklLeadVOAltKey: Finds a lead with the specified lead number.
Finder Variables:- LeadNumber; string.
- MyLeadsFinder: Finds the leads with the specified values.
Finder Variables:- Name; string; Finds the leads with the specified lead name.
- ResourcePartyIdRest; integer; The unique identifier of the resource.
- RestCreationDateLower; string; Finds the leads that are created before the date specified.
- RestCreationDateUpper; string; Finds the leads with the specified creation date.
- RestRecordSet; string.
- RestStatusCode; string.
- SysEffectiveDate; object.
- PrimaryKey: Finds the leads by primary key.
Finder Variables:- LeadId; integer; The unique identifier of the lead.
- LeadsFinderByContactId: Finds the list of leads with the specified contact ID.
-
limit: integer
This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
-
links: string
This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>
Example:
self,canonical -
offset: integer
Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
-
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
-
orderBy: string
This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
-
q: string
This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY
Format: ?q=expression1;expression2
You can use these queryable attributes to filter this collection resource using the q query parameter:- AILeadScore; number; The AI calculated probability of the lead being converted to an opportunity.
- AcceptedDateTime; string; The date and time when the sales lead is accepted by a resource assigned to it.
- AccountPartyNumber; string; The name of the owner of a sales lead.
- AssetId; integer; The unique identifier for the asset associated with the sales lead.
- AssetNumber; string; The unique number for the asset associated with the sales lead.
- AssetSerialNumber; string; The serial number for the asset associated with the sales lead.
- AssignmentStatusCode; string; Includes the current assignment related status for the lead, for example whether the lead is assigned or unassigned.
- BudgetStatus; string; The budget status associated with the budget amount associated with this sales lead.
- CampaignName; string; The name of the campaign associated with the sales lead.
- ChannelType; string; The channel through which this lead contacted the company.
- ConflictId; integer; The value guarantees the uniqueness of the row when duplicates are created in different databases such as mobile databases, or the server.
- ContactPartyNumber; string; The account number alternate key for referenced customer.
- ContactTimezoneCd; string; The preferred time zone of the contact pursued on the lead.
- CreationDate; string; The date and time when the record was created.
- CustomerId; integer; The unique identifier of the customer. It is a reference to the customer record in the TCA schema.
- CustomerPartyName; string; The name of the customer.
- DealAmount; number; The total amount attributed to a lead.
- EligibleForConversionFlag; boolean; Specifies whether the lead is eligible for conversion to opportunity.
- IBAssetNumber; string; The unique number for the IB Asset associated with the sales lead.
- IBAssetSerialNumber; string; The unique serial number for the IB Asset associated with the sales lead.
- JobTitle; string; The job title of the primary contact on the sales lead.
- LastAssignmentDate; string; The date on which the lead was last reassigned.
- LastUpdateDate; string; The date and time when the row was last updated.
- Latitude; number; The latitude information for the location.
- LeadAcceptedFlag; boolean; Indicates if the lead has been accepted.
- LeadAging; number; The number of days elapsed since the lead was created.
- LeadCreatedBy; string; The user who created this record.
- LeadCreationDate; string; The date and time when this record is created.
- LeadId; integer; The unique identifier of the lead.
- LeadLastUpdateDate; string; The date and time of the last update of the row.
- LeadLastUpdatedBy; string; The user who last updated the row.
- LeadNumber; string; The user friendly unique identifier for a lead.
- LeadOrigin; string; The origin of the lead.
- Longitude; number; The longitude information for the location.
- Name; string; The name of the lead used for identifying the lead.
- OwnerId; integer; The party identifier associated with the owner of this sales lead.
- OwnerPartyName; string; The name associated with the owner of this sales lead.
- OwnerPartyNumber; string; The alternate identifier of the primary contact.
- PartnerCompanyNumber; string; The alternate partner number key for the referenced partner company.
- PartnerId; integer; The unique identifier for the primary partner associated with the lead.
- PartnerPartyName; string; The name associated with the primary partner of this sales lead. This is a deal specific attribute.
- PartnerProgramNumber; string; The partner program number alternate key for the referenced partner program.
- PrimaryCampaignId; integer; The unique identifier of the primary campaign of the Lead. It is a reference key to campaign object.
- PrimaryCampaignName; string; The name of the primary campaign of the lead.
- PrimaryCampaignNumber; string; The alternate identifier for primary campaign of the lead.
- PrimaryCompetitorName; string; The name of the primary competitor of the lead.
- PrimaryCompetitorPartyId; integer; The unique identifier of the primary competitor of the lead. It is a reference key to competitor object.
- PrimaryCompetitorPartyNumber; string; The alternate identifier for primary competitor of the lead.
- PrimaryContactAddress1; string; The first line of address associated with the primary contact of the lead.
- PrimaryContactAddress2; string; The second line of address associated with the primary contact of the lead.
- PrimaryContactCity; string; The city where the primary contact of the lead is located.
- PrimaryContactCountry; string; The country where the primary contact of the lead is located.
- PrimaryContactCounty; string; The county where the primary contact of the lead is located.
- PrimaryContactEmailAddress; string; The email address for the primary sales lead contact on the lead.
- PrimaryContactId; integer; The identifier of the sales lead contact marked as a primary lead contact.
- PrimaryContactNumber; string; PUID Number of the sales lead contact marked as a primary lead contact.
- PrimaryContactPartyName; string; The name associated with the primary lead contact.
- PrimaryContactPersonFirstName; string; The first name of the primary contact for a lead.
- PrimaryContactPersonLastName; string; The last name of the primary contact for a lead.
- PrimaryContactPersonMiddleName; string; The middle name of the primary contact for a lead.
- PrimaryContactPostalCode; string; The zip code where the primary contact of the lead is located.
- PrimaryContactState; string; The state where the primary contact of the lead is located.
- PrimaryInventoryItemNumber; string; The alternate key for referenced the primary inventory item.
- PrimaryPhoneNumber; string; The primary phone number for the sales lead contact.
- PrimaryProductGroupReferenceNumber; string; The alternate key for the referenced primary product group.
- ProductGroupName; string; The name of the product group associated with a lead.
- Rank; string; The rank associated with this sales lead.
- RawPrimaryPhoneNumber; string; The raw value of the lead primary phone number.
- ReassignReasonCode; string; The pre-defined code used to indicate the reason for lead reassignment.
- RecordSet; string; The record visibility filters for lead search based on the resource and the leads to which the resource is associated to. The set is a group of lead records considered as the base group before other search criteria is used to further refine the search results.
- RegistrationNumber; string; The registration number of the sales lead. This unique identifier is generated when the sales lead is approved. This is a deal specific attribute.
- RegistrationStatus; string; The approval status of the sales lead. This is a deal specific attribute.
- RegistrationType; string; The registration type of the sales lead. This is a deal specific attribute.
- RejectReasonCode; string; The pre-defined code used to indicate the reason for rejecting a lead.
- RetireReasonCode; string; The pre-defined code used to indicate the reason for retiring a lead.
- SalesTargetLeadStage; string; The lead's current stage in the account based selling process.
- Score; integer; The score associated with this sales lead. This score is computed based on the scoring rules.
- SourceCode; string; The marketing source code associated with this sales lead.
- StatusCode; string; The pre-defined code used to indicate the status of a lead.
- Timeframe; string; The timeframe associated with this sales lead.
- WorkPhoneNumber; string; The work phone number for the sales lead contact.
-
totalResults: boolean
The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
Header Parameters
-
Effective-Of: string
This header accepts a string value. The string is a semi-colon separated list of
= . It is used to perform effective date range operations. The accepted parameters are RangeMode, RangeSpan, RangeStartDate, RangeEndDate, RangeStartSequence and RangeEndSequence. The parameter values are always strings. The possible values for RangeMode are SET_LOGICAL_START, SET_LOGICAL_END, END_DATE, SET_EFFECTIVE_START, SET_EFFECTIVE_END, REPLACE_CORRECTION, REPLACE_UPDATE, RECONCILE_CORRECTION, CORRECTION, RECONCILE_UPDATE, UPDATE, ZAP and DELETE_CHANGES. The possible values for RangeSpan are PHYSICAL_ROW_END_DATE and LOGICAL_ROW_END_DATE. The values for RangeStartDate and RangeEndDate have to be a string representation of a date in yyyy-MM-dd format. The value for RangeStartSequence and RangeEndSequence must be strings such that when parsed they yield positive integers. -
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : assets-assetLeads
Type:
Show Source
object-
count(required): integer
The number of resource instances returned in the current range.
-
hasMore(required): boolean
Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false.
-
items: array
Items
Title:
ItemsThe items in the collection. -
limit(required): integer
The actual paging size used by the server.
-
links(required): array
Links
Title:
LinksThe link relations associated with the resource instance. -
offset(required): integer
The offset value used in the current page.
-
totalResults: integer
The estimated row count when "?totalResults=true", otherwise the count is not included.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : assets-assetLeads-item-response
Type:
Show Source
object-
AcceptedDate: string
(date)
Title:
Accepted DateRead Only:trueThe date on which lead was accepted by a resource assigned to it. -
AcceptedDateTime: string
(date-time)
Title:
Accepted DateRead Only:trueThe date and time when the sales lead is accepted by a resource assigned to it. -
AccountPartyNumber: string
Title:
Account NumberRead Only:trueMaximum Length:30The name of the owner of a sales lead. -
AddrElementAttribute1: string
Title:
Contact Address Attribute 1Maximum Length:150Additional address element to support flexible address format. -
AddrElementAttribute2: string
Title:
Contact Address Attribute 2Maximum Length:150Additional address element to support flexible address format. -
AddrElementAttribute3: string
Title:
Contact Address Attribute 3Maximum Length:150Additional address element to support flexible address format. -
AddrElementAttribute4: string
Title:
Contact Address Attribute 4Maximum Length:150Additional address element to support flexible address format. -
AddrElementAttribute5: string
Title:
Contact Address Attribute 5Maximum Length:150Additional address element to support flexible address format. -
AddressLinesPhonetic: string
Title:
Contact Phonetic AddressMaximum Length:560The phonetic or Kana representation of the Kanji address lines (used in Japan). -
AILeadScore: number
Title:
AI Lead ScoreRead Only:trueThe AI calculated probability of the lead being converted to an opportunity. -
ApprovalDate: string
(date)
Title:
Registration Approval DateThe date on which a partner registered lead is approved by internal channel manager. -
ApprovalDateTime: string
(date-time)
Title:
Registration Approval DateThe date and time when the sales lead is approved. This is only applicable to deal registrations. -
AssetId: integer
(int64)
Title:
Asset IDThe unique identifier for the asset associated with the sales lead. -
AssetNumber: string
Title:
Asset NumberMaximum Length:100The unique number for the asset associated with the sales lead. -
AssetSerialNumber: string
Title:
Asset Serial NumberRead Only:trueMaximum Length:100The serial number for the asset associated with the sales lead. -
AssignmentStatusCode: string
Title:
Assignment StatusMaximum Length:30Includes the current assignment related status for the lead, for example whether the lead is assigned or unassigned. -
BudgetAmount: number
Title:
Budget AmountThe budget amount associated with this sales lead. -
BudgetCurrencyCode: string
Title:
Budget CurrencyMaximum Length:80The currency code associated with the budget amount associated with this sales lead. -
BudgetStatus: string
Title:
Budget StatusMaximum Length:120The budget status associated with the budget amount associated with this sales lead. -
Building: string
Title:
BuildingMaximum Length:40The specific building name or number at a given address. -
BusinessUnitId: integer
(int64)
Title:
Business Unit IdentifierThe business unit identifier associated with the business unit of the sales lead creator. -
CampaignName: string
Title:
CampaignRead Only:trueMaximum Length:250The name of the campaign associated with the sales lead. -
ChannelType: string
Title:
SourceMaximum Length:30The channel through which this lead contacted the company. -
ClassCode1: string
Title:
Industry Classification CodeMaximum Length:30The auxiliary dimension for the Account. -
ClassCode2: string
Title:
Auxiliary Classification Code 1Maximum Length:30The auxiliary dimension for the Account. -
ClassCode3: string
Title:
Auxiliary Classification Code 2Maximum Length:30The auxiliary dimension for the Account. -
ClassCode4: string
Title:
Auxiliary Classification Code 3Maximum Length:30The auxiliary dimension for the Account. -
ConflictId: integer
(int64)
Title:
Conflict IdentifierDefault Value:1The value guarantees the uniqueness of the row when duplicates are created in different databases such as mobile databases, or the server. -
ContactDoNotPreference: boolean
Title:
Don't Contact PreferenceMaximum Length:30Indicates that the primary contact of the service request does not want to be contacted. -
ContactFormattedAddress: string
Title:
Primary Contact AddressRead Only:trueThe primary address of a lead's primary contact. -
ContactPartyNumber: string
Title:
Primary Contact NumberRead Only:trueMaximum Length:30The account number alternate key for referenced customer. -
ContactTimezoneCd: string
Title:
Contact Time ZoneMaximum Length:35The preferred time zone of the contact pursued on the lead. -
ConvertedDateTime: string
(date-time)
Title:
Converted DateThe date and time when the sales lead is converted to an opportunity. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created this record. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date and time when the record was created. -
CurrencyCode: string
Title:
CurrencyMaximum Length:15The currency code for the lead. -
CustomerId: integer
(int64)
Title:
Customer IDThe unique identifier of the customer. It is a reference to the customer record in the TCA schema. -
CustomerNeed: string
Title:
Customer NeedMaximum Length:30Indicates what need the lead product serves for the lead customer. -
CustomerPartyName: string
Title:
Account NameMaximum Length:360The name of the customer. -
CustPartyType: string
Title:
Customer TypeMaximum Length:30The party type of the account associated to the lead. The possible values are Organization, Household and Contact. -
DealAmount: number
Title:
Deal SizeThe total amount attributed to a lead. -
DecisionMakerIdentifiedFlag: boolean
Title:
Decision Maker IdentifiedMaximum Length:120Default Value:falseIndicates if the decision maker at customer site has been identified. -
DeleteFlag: boolean
Title:
DeletedRead Only:trueIndicates if the user has access to delete the record. -
Description: string
Title:
DescriptionMaximum Length:2000The description associated with this sales lead. -
Distance: number
Title:
DistanceRead Only:trueThe distance from the input location. -
EligibleForConversionFlag: boolean
Title:
Eligible for ConversionMaximum Length:1Specifies whether the lead is eligible for conversion to opportunity. -
EnableCreateAccount: string
Title:
Create AccountMaximum Length:1Indicates whether new account should be created during lead conversion. -
EnableCreateContact: string
Title:
Create ContactMaximum Length:1Indicates whether new contact should be created during lead conversion. -
EstimatedCloseDate: string
(date)
Title:
Estimated Close DateThe estimated close date for a deal once registered. -
ExpirationDate: string
(date)
Title:
Expiration DateThe expiration date associated with this sales lead. -
FloorNumber: string
Title:
Contact Address Floor NumberMaximum Length:40The specific floor number at a given address or in a particular building when building number is provided. -
FollowupTimestamp: string
(date)
Title:
Next Follow-up DateIndicates when the sales lead needs to be followed up. -
FormattedPhoneNumber1: string
Title:
Contact PhoneRead Only:trueThe formatted phone number of the primary contact for the lead. -
IBAssetId: integer
(int64)
Title:
Installed Base AssetThe unique identifier for the IB Asset associated with the sales lead. -
IBAssetNumber: string
Title:
Installed Base Asset NumberRead Only:trueMaximum Length:80The unique number for the IB Asset associated with the sales lead. -
IBAssetSerialNumber: string
Title:
Installed Base Asset Serial NumberRead Only:trueMaximum Length:80The unique serial number for the IB Asset associated with the sales lead. -
InventoryItemDescription: string
Title:
Product ItemMaximum Length:240The description of the product added to a lead. -
JobTitle: string
Title:
Job TitleMaximum Length:100The job title of the primary contact on the sales lead. -
LastAssignmentDate: string
(date-time)
Title:
Last Automatic Assignment DateThe date on which the lead was last reassigned. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueThe date and time when the row was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the row. -
LastUpdateLogin: string
Title:
Last Updated LoginRead Only:trueMaximum Length:32The login of the user who last updated the row. -
Latitude: number
Title:
LatitudeThe latitude information for the location. -
LeadAcceptedFlag: boolean
Title:
AcceptedMaximum Length:4Indicates if the lead has been accepted. -
LeadAging: number
Title:
Age in DaysRead Only:trueThe number of days elapsed since the lead was created. -
LeadCreatedBy: string
Title:
Lead Created ByMaximum Length:64The user who created this record. -
LeadCreationDate: string
(date-time)
Title:
Lead Creation DateThe date and time when this record is created. -
LeadId: integer
(int64)
Title:
Lead IdentifierThe unique identifier of the lead. -
LeadLastUpdateDate: string
(date-time)
Title:
Lead Last Update DateThe date and time of the last update of the row. -
LeadLastUpdatedBy: string
Title:
Lead Last Updated ByMaximum Length:64The user who last updated the row. -
LeadNumber: string
Title:
Lead NumberMaximum Length:30The user friendly unique identifier for a lead. -
LeadOrigin: string
Title:
OriginMaximum Length:30Default Value:SALES_LEADThe origin of the lead. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Longitude: number
Title:
LongitudeThe longitude information for the location. -
Name: string
Title:
Lead NameMaximum Length:250The name of the lead used for identifying the lead. -
OpportunityIdForConvert: integer
Title:
Opportunity IdentifierOpportunity identifier that is used to update the opportunity row when the lead is converted. -
OpportunityName: string
Title:
Opportunity NameThe name of the opportunity created from converting the lead. -
OpportunityOwnerNumber: string
Title:
Opportunity Owner NumberThe alternate identifier for the owner of the opportunity created from converting the lead. -
OrganizationName: string
Title:
Organization NameRead Only:trueMaximum Length:360The name of the lead customer. -
OrganizationSize: string
Title:
Organization SizeMaximum Length:30The size of the organization. -
OrganizationType: string
Title:
Organization TypeMaximum Length:30The type of the organization. -
OwnerId: integer
(int64)
Title:
Owner IDThe party identifier associated with the owner of this sales lead. -
OwnerPartyName: string
Title:
OwnerMaximum Length:360The name associated with the owner of this sales lead. -
OwnerPartyNumber: string
Title:
Owner NumberRead Only:trueMaximum Length:30The alternate identifier of the primary contact. -
PartnerCompanyNumber: string
Title:
Partner NumberMaximum Length:30The alternate partner number key for the referenced partner company. -
PartnerId: integer
(int64)
Title:
Primary Partner IdentifierThe unique identifier for the primary partner associated with the lead. -
PartnerPartyName: string
Title:
Primary PartnerThe name associated with the primary partner of this sales lead. This is a deal specific attribute. -
PartnerProgramId: integer
(int64)
Title:
Partner ProgramA reference to the partner program in which the primary partner associated with this sales lead is enrolled. This is a deal specific attribute. -
PartnerProgramNumber: string
Title:
Partner Program NumberMaximum Length:30The partner program number alternate key for the referenced partner program. -
PartnerType: string
Title:
Partner TypeMaximum Length:30Indicates the type of the primary partner associated with this sales lead. This is a deal specific attribute. -
PostalPlus4Code: string
Title:
Postal CodeMaximum Length:10The four digit extension to the United States Postal ZIP code. -
PrimaryCampaignId: integer
(int64)
Title:
Primary Campaign IDThe unique identifier of the primary campaign of the Lead. It is a reference key to campaign object. -
PrimaryCampaignName: string
Title:
Primary CampaignThe name of the primary campaign of the lead. -
PrimaryCampaignNumber: string
Title:
Primary Campaign NumberMaximum Length:30The alternate identifier for primary campaign of the lead. -
PrimaryCompetitorName: string
Title:
Primary CompetitorThe name of the primary competitor of the lead. -
PrimaryCompetitorPartyId: integer
Title:
Primary Competitor Party IDThe unique identifier of the primary competitor of the lead. It is a reference key to competitor object. -
PrimaryCompetitorPartyNumber: string
Title:
Primary Competitor Party NumberRead Only:trueMaximum Length:30The alternate identifier for primary competitor of the lead. -
PrimaryContactAddress1: string
Title:
Primary Contact Address 1Maximum Length:240The first line of address associated with the primary contact of the lead. -
PrimaryContactAddress2: string
Title:
Primary Contact Address 2Maximum Length:240The second line of address associated with the primary contact of the lead. -
PrimaryContactAddress3: string
Title:
Primary Contact Address 3Maximum Length:240The third line of address associated with the primary contact of the lead. -
PrimaryContactAddress4: string
Title:
Primary Contact Address 4Maximum Length:240The fourth line of address associated with the primary contact of the lead. -
PrimaryContactCity: string
Title:
Primary Contact CityMaximum Length:60The city where the primary contact of the lead is located. -
PrimaryContactCountry: string
Title:
CountryMaximum Length:2The country where the primary contact of the lead is located. -
PrimaryContactCountryName: string
Title:
Country NameRead Only:trueThe full name associated with primary contact country code. -
PrimaryContactCounty: string
Title:
Primary Contact CountyMaximum Length:60The county where the primary contact of the lead is located. -
PrimaryContactEmailAddress: string
Title:
Contact EmailMaximum Length:320The email address for the primary sales lead contact on the lead. -
PrimaryContactEmailPreference: string
Title:
Email PreferenceMaximum Length:30Indicates if the primary contact has an email preference of do not email, ok to email, or no value. -
PrimaryContactEmailVerificationDate: string
(date-time)
Title:
Email Verification DateThe verification date for primary contact email address. -
PrimaryContactEmailVerificationStatus: string
Title:
Email Verification StatusMaximum Length:30The verification status for primary contact email address. -
PrimaryContactId: integer
(int64)
Title:
Primary Contact IDThe identifier of the sales lead contact marked as a primary lead contact. -
PrimaryContactMailPreference: string
Title:
Mail PreferenceMaximum Length:30Indicates if the primary contact has a mail preference. -
PrimaryContactNumber: string
Title:
Primary Contact NumberMaximum Length:64PUID Number of the sales lead contact marked as a primary lead contact. -
PrimaryContactPartyName: string
Title:
Primary Contact NameMaximum Length:450The name associated with the primary lead contact. -
PrimaryContactPersonFirstName: string
Title:
Primary Contact First NameMaximum Length:150The first name of the primary contact for a lead. -
PrimaryContactPersonLastName: string
Title:
Primary Contact Last NameMaximum Length:150The last name of the primary contact for a lead. -
PrimaryContactPersonMiddleName: string
Title:
Primary Contact Middle NameMaximum Length:150The middle name of the primary contact for a lead. -
PrimaryContactPhonePreference: string
Title:
Phone PreferenceMaximum Length:30Indicates if the primary contact has a phone preference of do not call, ok to call, or no value. -
PrimaryContactPostalCode: string
Title:
Primary Contact Postal CodeMaximum Length:60The zip code where the primary contact of the lead is located. -
PrimaryContactProvince: string
Title:
Primary Contact ProvinceMaximum Length:60The province where the primary contact of the lead is located. -
PrimaryContactRelationshipId: integer
(int64)
Title:
Primary Contact Relationship IDThe unique identifier of the relationship primary contact has with its parent organization. -
PrimaryContactState: string
Title:
Primary Contact StateMaximum Length:60The state where the primary contact of the lead is located. -
PrimaryInventoryItemId: integer
(int64)
Title:
Primary Product IDThe unique identifier of the primary product associated with a lead. -
PrimaryInventoryItemNumber: string
Title:
Primary Inventory Item NumberRead Only:trueMaximum Length:300The alternate key for referenced the primary inventory item. -
PrimaryInventoryOrgId: integer
(int64)
Title:
Primary Product Organization IDThe unique identifier of the organization to which the primary product associated with a lead belongs. -
PrimaryPhoneAreaCode: string
Title:
Primary Phone Area CodeMaximum Length:10The primary phone area code for the sales lead contact. -
PrimaryPhoneCountryCode: string
Title:
Primary Phone Country CodeMaximum Length:10The primary phone country code for the sales lead contact. -
PrimaryPhoneNumber: string
Title:
Contact PhoneMaximum Length:40The primary phone number for the sales lead contact. -
PrimaryPhoneVerificationDate: string
(date-time)
Title:
Primary Phone Verification DateThe verification date for lead primary phone. -
PrimaryPhoneVerificationStatus: string
Title:
Primary Phone Verification StatusMaximum Length:30The verification status for lead primary phone. -
PrimaryProductGroupId: integer
Title:
Primary Product Group IDThe unique identifier of the primary product group associated with a lead. -
PrimaryProductGroupReferenceNumber: string
Title:
Primary Product Group Reference NumberMaximum Length:50The alternate key for the referenced primary product group. -
ProductGroupDescription: string
Title:
Product Group DescriptionRead Only:trueMaximum Length:1000The description of the product or product group associated with a lead. -
ProductGroupName: string
Title:
Product GroupMaximum Length:250The name of the product group associated with a lead. -
ProductType: string
Title:
Product TypeThe type of the primary product, such as item or product group. -
ProgramName: string
Title:
Partner ProgramThe name of the partner program in which the primary partner associated with this sales lead is enrolled. This is a deal specific attribute. -
Project: string
Title:
Customer ProjectMaximum Length:30The customer project identified for this sales lead. -
QualificationScore: integer
(int64)
Title:
Qualification ScoreRead Only:trueDefault Value:0The qualification score for a lead. -
QualifiedDate: string
(date)
Title:
Qualification DateIndicates the date when this sales lead was qualified. -
QualifiedDateTime: string
(date-time)
Title:
Qualification DateThe date and time when the sales lead is qualified. -
Rank: string
Title:
RankMaximum Length:30The rank associated with this sales lead. -
RawPrimaryPhoneNumber: string
Title:
Raw Phone NumberThe raw value of the lead primary phone number. -
ReassignComment: string
Title:
Reassign CommentsMaximum Length:1000The comment provided by a user while requesting the lead reassignment. -
ReassignReasonCode: string
Title:
Reassign ReasonMaximum Length:30The pre-defined code used to indicate the reason for lead reassignment. -
RecordSet: string
Title:
Record SetRead Only:trueThe record visibility filters for lead search based on the resource and the leads to which the resource is associated to. The set is a group of lead records considered as the base group before other search criteria is used to further refine the search results. -
RegistrationNumber: string
Title:
Registration NumberMaximum Length:120The registration number of the sales lead. This unique identifier is generated when the sales lead is approved. This is a deal specific attribute. -
RegistrationStatus: string
Title:
Registration StatusMaximum Length:120The approval status of the sales lead. This is a deal specific attribute. -
RegistrationType: string
Title:
Registration TypeMaximum Length:120The registration type of the sales lead. This is a deal specific attribute. -
RejectByUserId: integer
(int64)
Title:
Reject by User IDThe identifier of the sales representative who rejected this sales lead. -
RejectComment: string
Title:
Rejection CommentsMaximum Length:250The comments provided by the sales representative who rejected this sales lead. -
RejectedDateTime: string
(date-time)
Title:
Rejected Time StampThe date and time when the sales lead is rejected. -
RejectReasonCode: string
Title:
Reject ReasonMaximum Length:30The pre-defined code used to indicate the reason for rejecting a lead. -
RetireComment: string
Title:
Retirement CommentsMaximum Length:250The comments recorded when the sales lead is moved to a retired status. -
RetiredDateTime: string
(date-time)
Title:
Retired Time StampThe date and time when the sales lead is moved to a retired status. -
RetireReasonCode: string
Title:
Retire ReasonMaximum Length:30The pre-defined code used to indicate the reason for retiring a lead. -
SalesChannel: string
Title:
Sales ChannelMaximum Length:120Indicates the sales channel responsible for following up on this sales lead. -
SalesTargetLeadEloquaSyncDate: string
(date-time)
Title:
Last Sync to Marketing DateThe date on which the current sales target lead contacts are last synced to Eloqua. -
SalesTargetLeadOptOutComment: string
Title:
Opt-out CommentMaximum Length:1000The comments provided by the sales representative who opted out this lead. -
SalesTargetLeadOptOutDate: string
(date-time)
Title:
Opt-out DateThe date of opting out the lead from sales target campaign. -
SalesTargetLeadOptOutReasonCode: string
Title:
Opt-out ReasonMaximum Length:32The reason for opting out the lead from sales target campaign. -
SalesTargetLeadStage: string
Title:
StageMaximum Length:32The lead's current stage in the account based selling process. -
SalesTargetLeadValidationDueDate: string
(date-time)
Title:
Validation Due DateThe date on which the sales target lead validation is due. -
Score: integer
(int64)
Title:
ScoreThe score associated with this sales lead. This score is computed based on the scoring rules. -
SourceCode: string
Title:
Source CodeMaximum Length:30The marketing source code associated with this sales lead. -
StatusCode: string
Title:
StatusMaximum Length:30Default Value:UNQUALIFIEDThe pre-defined code used to indicate the status of a lead. -
Timeframe: string
Title:
Time FrameMaximum Length:120The timeframe associated with this sales lead. -
ToReassignFlag: boolean
Title:
ReassignMaximum Length:1Default Value:falseIdentifies leads that are marked for reassignment. -
UpdateFlag: boolean
Title:
UpdatedRead Only:trueIndicates if the user has access to update the record. -
WorkPhoneAreaCode: string
Title:
Work Phone Area CodeMaximum Length:10The work phone area code for the sales lead contact. -
WorkPhoneCountryCode: string
Title:
Work Phone Country CodeMaximum Length:10The work phone country code for the sales lead contact. -
WorkPhoneNumber: string
Title:
Work Phone NumberMaximum Length:40The work phone number for the sales lead contact.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Links
- acceptLead
-
Parameters:
- AssetId:
$request.path.AssetId
This method lets you accept a lead. - AssetId:
- convertLeadAndGetOpty
-
Operation: /crmRestApi/resources/11.13.18.05/assets/{AssetId}/child/assetLeads/action/convertLeadAndGetOptyParameters:
- AssetId:
$request.path.AssetId
This method lets you convert a lead and to a new opportunity record, where the identifiers of the newly created opportunity record is returned. - AssetId:
- convertLeadToOpty
-
Operation: /crmRestApi/resources/11.13.18.05/assets/{AssetId}/child/assetLeads/action/convertLeadToOptyParameters:
- AssetId:
$request.path.AssetId
This method lets you convert a lead to an opportunity. - AssetId:
- copyLead
-
Parameters:
- AssetId:
$request.path.AssetId
This method lets you to create a copy of an existing lead and returns the identifiers of the new lead. - AssetId:
- createDealRegistration
-
Operation: /crmRestApi/resources/11.13.18.05/assets/{AssetId}/child/assetLeads/action/createDealRegistrationParameters:
- AssetId:
$request.path.AssetId
This method lets you create a new deal registration from the lead where the identifiers of new deal are returned. - AssetId:
- rankLead
-
Parameters:
- AssetId:
$request.path.AssetId
This method lets you rank a lead. - AssetId:
- rejectLead
-
Parameters:
- AssetId:
$request.path.AssetId
This method lets you reject a lead. - AssetId:
- runAssignment
-
Parameters:
- AssetId:
$request.path.AssetId
This method lets you assign a lead. - AssetId:
- scoreLead
-
Parameters:
- AssetId:
$request.path.AssetId
This method lets you score a lead. - AssetId: