Application Services Interface Reference > Predefined Application Service Interfaces > External Opportunity Create/External Opportunity Query/External Opportunity Update >

ANI Opportunity Message


The ANI Opportunity Message ASI is the main interface for the Opportunity Sharing ASI, which encapsulates all the sub-ASIs (including Opportunity, Opportunity Account, ANI Message Header, Destination Channel Partner, and Source Organization) and the associated data contained in these sub-ASIs.

Table 40 lists the primary integration components of ANI Opportunity Message.

Table 40.  ANI Opportunity Message Integration Components
Integration Component
XML Tag
User Keys
Account
Account
None
Account_Business Address
Account_BusinessAddress
  1. Street Address
  2. Street Address 2
  3. City
  4. State
  5. Postal Code
  6. Country
Action
Action
  1. Type
  2. Due
  3. Description
  4. Comment
Channel Partner
ChannelPartner
  1. Name
  2. Location
Channel Partner Business Address
ChannelPartnerAddress
  1. Street Address
  2. Street Address 2
  3. City
  4. State
  5. Postal Code
  6. Country
Contact
Contact
  1. First Name
  2. Last Name
Contact_Account
Contact_Account
  1. Account
  2. Account Location
Contact_Account_Business Address
Contact_Account_BusinessAddress
  1. Street Address
  2. Street Address 2
  3. City
  4. State
  5. Postal Code
  6. Country
Contact_Personal Address
Contact_PersonalAddress
  1. Street Address
  2. Street Address 2
  3. City
  4. State
  5. Postal Code
  6. Country
Message Details
MessageDetails
None
Opportunity
Opportunity
  1. Name
Opportunity Note
OpportunityNote
  1. Id
  2. Note
  3. Nope Type
  4. Opportunity Name
Opportunity_Business Address
OpportunityBusinessAddress
  1. Street Address
  2. Street Address 2
  3. City
  4. State
  5. Postal Code
  6. Country
Organization
Organization
  1. DUNS Number
Organization Business Address
OrganizationAddress
  1. Street Address
  2. Street Address 2
  3. City
  4. State
  5. Postal Code
  6. Country
Revenue
Revenue
  1. Revenue Item Number
Transfer Details
TransferDetails
None

Table 41 lists the fields and their attributes.

Table 41.  ANI Opportunity Message ASI Fields
Name
XML Tag
Data Type
Length
Req.
Notes
Account
Currency Code
CurrencyCode
DTYPE_TEXT
15
N
 
Customer Account Group
CustomerAccountGroup
DTYPE_TEXT
30
N
 
DUNS Number
DUNSNumber
DTYPE_TEXT
15
N
 
Group Type Code
GroupTypeCode
DTYPE_TEXT
30
N
 
Location
Location
DTYPE_TEXT
50
N
 
Name
Name
DTYPE_TEXT
100
N
 
Party Type Code
PartyTypeCode
DTYPE_TEXT
30
N
 
Account_Business Address
Address Name
AddressName
DTYPE_TEXT
100
N
 
City
City
DTYPE_TEXT
50
N
 
Country
Country
DTYPE_TEXT
50
N
 
Email Address
EmailAddress
DTYPE_TEXT
50
N
 
IsPrimaryMVG
IsPrimaryMVG
DTYPE_TEXT
1
N
 
Phone Number
PhoneNumber
DTYPE_TEXT
40
N
 
Postal Code
PostalCode
DTYPE_TEXT
30
N
 
State
State
DTYPE_TEXT
10
N
 
Street Address
StreetAddress
DTYPE_TEXT
200
N
 
Street Address 2
StreetAddress2
DTYPE_TEXT
100
N
 
Action
Comment
Comment
DTYPE_TEXT
1,500
N
 
Description
Description
DTYPE_TEXT
100
N
 
Done
Done
DTYPE_TEXT
50
N
 
Due
Due
DTYPE_TEXT
50
N
 
Id
Id
DTYPE_ID
30
N
 
Planned
Planned
DTYPE_TEXT
50
N
 
Planned Completion
PlannedCompletion
DTYPE_TEXT
50
N
 
Priority
Priority
DTYPE_TEXT
30
N
 
Started
Started
DTYPE_TEXT
50
N
 
Status
Status
DTYPE_TEXT
50
N
 
Type
Type
DTYPE_TEXT
30
N
 
Channel Partner
DUNS Number
DUNSNumber
DTYPE_TEXT
15
N
 
Location
Location
DTYPE_TEXT
50
N
 
Name
Name
DTYPE_TEXT
100
N
 
Channel Partner Business Address
Account Id
AccountId
DTYPE_ID
15
N
 
Address Name
AddressName
DTYPE_TEXT
100
N
 
City
City
DTYPE_TEXT
50
N
 
Country
Country
DTYPE_TEXT
50
N
 
County
County
DTYPE_TEXT
50
N
 
Email Address
EmailAddress
DTYPE_TEXT
50
N
 
Phone Number
PhoneNumber
DTYPE_TEXT
40
N
 
Postal Code
PostalCode
DTYPE_TEXT
30
N
 
Province
Province
DTYPE_TEXT
50
N
 
State
State
DTYPE_TEXT
10
N
 
Street Address
StreetAddress
DTYPE_TEXT
200
N
 
Street Address 2
StreetAddress2
DTYPE_TEXT
100
N
 
Contact
Account Id
AccountId
DTYPE_ID
15
N
 
Account Integration Id
AccountIntegrationId
DTYPE_TEXT
30
N
 
Cellular Phone #
CellularPhone
DTYPE_TEXT
40
N
 
Comment
Comment
DTYPE_TEXT
255
N
 
DUNS Number
DUNSNumber
DTYPE_TEXT
15
N
 
Email Address
EmailAddress
DTYPE_TEXT
50
N
 
Fax Phone #
FaxPhone
DTYPE_TEXT
40
N
 
First Name
FirstName
DTYPE_TEXT
50
N
 
Home Phone #
HomePhone
DTYPE_TEXT
40
N
 
Id
Id
DTYPE_ID
30
N
 
Job Title
JobTitle
DTYPE_TEXT
75
N
 
Last Name
LastName
DTYPE_TEXT
50
N
 
M/M
MM
DTYPE_TEXT
15
N
 
Middle Name
MiddleName
DTYPE_TEXT
50
N
 
Primary Account Name
PrimaryAccountName
DTYPE_TEXT
100
N
 
Work Phone #
WorkPhone
DTYPE_TEXT
40
N
 
Contact_Account
Account
Name
DTYPE_TEXT
100
N
 
Account Location
Location
DTYPE_TEXT
50
N
 
Currency Code
CurrencyCode
DTYPE_TEXT
15
N
 
Customer Account Group
CustomerAccountGroup
DTYPE_TEXT
30
N
 
DUNS Number
DUNSNumber
DTYPE_TEXT
15
N
 
Group Type Code
GroupTypeCode
DTYPE_TEXT
30
N
 
IsPrimaryMVG
IsPrimaryMVG
DTYPE_TEXT
1
N
 
Party Type Code
PartyTypeCode
DTYPE_TEXT
30
N
 
Contact_Account_Business Address
Address Name
AddressName
DTYPE_TEXT
100
N
 
City
City
DTYPE_TEXT
50
N
 
Country
Country
DTYPE_TEXT
50
N
 
Email Address
EmailAddress
DTYPE_TEXT
50
N
 
IsPrimaryMVG
IsPrimaryMVG
DTYPE_TEXT
1
N
 
Phone Number
PhoneNumber
DTYPE_TEXT
40
N
 
Postal Code
PostalCode
DTYPE_TEXT
30
N
 
State
State
DTYPE_TEXT
10
N
 
Street Address
StreetAddress
DTYPE_TEXT
200
N
 
Street Address 2
StreetAddress2
DTYPE_TEXT
100
N
 
Contact_Personal Address
Address Name
AddressName
DTYPE_TEXT
100
N
 
Integration Id
IntegrationId
DTYPE_TEXT
30
N
 
IsPrimaryMVG
IsPrimaryMVG
DTYPE_TEXT
1
N
 
Personal City
PersonalCity
DTYPE_TEXT
50
N
 
Personal Country
PersonalCountry
DTYPE_TEXT
50
N
 
Personal Postal Code
PersonalPostalCode
DTYPE_TEXT
30
N
 
Personal State
PersonalState
DTYPE_TEXT
10
N
 
Personal Street Address
PersonalStreetAddress
DTYPE_TEXT
200
N
 
Personal Street Address 2
PersonalStreetAddress2
DTYPE_TEXT
100
N
 
Message Details
External Id
ExternalId
DTYPE_TEXT
250
N
 
External Id Description
ExternalIdDescription
DTYPE_TEXT
50
N
 
Internal Id
InternalId
DTYPE_TEXT
250
N
 
Internal Id Description
InternalIdDescription
DTYPE_TEXT
50
N
 
Message Generation Time Stamp
MessageGenerationTimeStamp
DTYPE_DATETIME
50
N
 
Method
Method
DTYPE_TEXT
50
N
 
Redirection URL
RedirectionURL
DTYPE_TEXT
50
N
 
Opportunity
Account
AccountName
DTYPE_TEXT
100
N
 
Account Integration Id
AccountIntegrationId
DTYPE_TEXT
30
N
 
Account Location
AccountLocation
DTYPE_TEXT
50
N
 
Currency Code
CurrencyCode
DTYPE_TEXT
15
N
 
DUNS Number
DUNSNumber
DTYPE_TEXT
15
N
 
Description
Description
DTYPE_TEXT
255
N
 
Id
Id
DTYPE_ID
30
N
 
Name
Name
DTYPE_TEXT
100
N
 
Parent Opportunity Name
ParentOpportunityName
DTYPE_TEXT
100
N
 
Primary Revenue Amount
PrimaryRevenueAmount
DTYPE_TEXT
22
N
 
Primary Revenue Class
PrimaryRevenueClass
DTYPE_TEXT
30
N
 
Primary Revenue Close Date
PrimaryRevenueCloseDate
DTYPE_DATETIME
50
N
 
Primary Revenue Type
PrimaryRevenueType
DTYPE_TEXT
30
N
 
Primary Revenue Win Probability
PrimaryRevenueWinProbability
DTYPE_NUMBER
22
N
 
Sales Method
SalesMethod
DTYPE_TEXT
30
N
 
Sales Stage
SalesStage
DTYPE_TEXT
30
N
 
Opportunity Note
Id
Id
DTYPE_ID
30
N
 
Note
Note
DTYPE_NOTE
1,000
N
 
Note Type
NoteType
DTYPE_TEXT
30
N
 
Opportunity Name
OpportunityName
DTYPE_TEXT
100
N
 
Opportunity_Business Address
City
City
DTYPE_TEXT
50
N
 
Country
Country
DTYPE_TEXT
50
N
 
Integration Id
IntegrationId
DTYPE_TEXT
30
N
 
IsPrimaryMVG
IsPrimaryMVG
DTYPE_TEXT
1
N
 
Postal Code
PostalCode
DTYPE_TEXT
30
N
 
State
State
DTYPE_TEXT
10
N
 
Stree Address Line 2
StreetAddressLine2
DTYPE_TEXT
100
N
 
Street Address
StreetAddress
DTYPE_TEXT
200
N
 
Organization
DUNS Number
DUNSNumber
DTYPE_TEXT
15
N
 
Id
Id
DTYPE_ID
15
N
 
Name
Name
DTYPE_TEXT
100
N
 
Organization Business Address
Account Id
AccountId
DTYPE_ID
15
N
 
Address Name
AddressName
DTYPE_TEXT
100
N
 
City
City
DTYPE_TEXT
50
N
 
Country
Country
DTYPE_TEXT
50
N
 
County
County
DTYPE_TEXT
50
N
 
Email Address
EmailAddress
DTYPE_TEXT
50
N
 
Phone Number
PhoneNumber
DTYPE_TEXT
40
N
 
Postal Code
PostalCode
DTYPE_TEXT
30
N
 
Province
Province
DTYPE_TEXT
50
N
 
State
State
DTYPE_TEXT
10
N
 
Street Address
StreetAddress
DTYPE_TEXT
200
N
 
Street Address 2
StreetAddress2
DTYPE_TEXT
100
N
 
Revenue
Account
Account
DTYPE_TEXT
100
N
 
Account Location
AccountLocation
DTYPE_TEXT
50
N
 
Committed
Committed
DTYPE_TEXT
1
N
 
Currency Code
CurrencyCode4
DTYPE_TEXT
20
N
 
Date
Date
DTYPE_DATETIME
50
N
 
Description
Description
DTYPE_TEXT
100
N
 
Id
Id
DTYPE_ID
30
N
 
Part Number
PartNumber
DTYPE_TEXT
50
N
 
Price
Price
DTYPE_TEXT
22
N
 
Product
Product
DTYPE_TEXT
50
N
 
Quantity
Quantity
DTYPE_NUMBER
22
N
 
Revenue
Revenue
DTYPE_TEXT
22
N
 
Revenue Class
RevenueClass
DTYPE_TEXT
30
N
 
Revenue Item Number
RevenueItemNumber
DTYPE_TEXT
30
N
 
Revenue Type
RevenueType
DTYPE_TEXT
30
N
 
Summary
Summary
DTYPE_TEXT
1
N
 
Win Probability
WinProbability
DTYPE_NUMBER
22
N
 
Transfer Details
Transfer Date
TransferDate
DTYPE_DATETIME
50
N
 
Transfer Recipient
TransferRecipient
DTYPE_TEXT
20
N
 
Transfer Status
TransferStatus
DTYPE_TEXT
50
N
 
Transfer Status Message
TransferStatusMessage
DTYPE_TEXT
200
N
 


 Application Services Interface Reference 
 Published: 15 May 2003