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

ANI Opportunity Message (PRM ANI)


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

Table 39 lists the primary integration components of ANI Opportunity Message (PRM ANI).

Table 39. ANI Opportunity Message (PRM ANI) Integration Components
Integration Component
XML Tag
User Keys

Account

Account

No user keys.

Account_Business Address

Account_BusinessAddress

  1. City, Country, Postal Code, State, Street Address, Street Address 2
  2. Address Name, City, Postal Code, State, Street Address
  3. City, Postal Code, State
  4. Address Name

Action

Action

1 Due, Id, Type
  1. Comment, Description, Due, Type
  2. Comment, Description, Due, Type

Channel Partner

ChannelPartner

1 Location, Name

Channel Partner Business Address

ChannelPartnerAddress

1 City, Country, Postal Code, State, Street Address, Street Address 2
  1. Account Id, Address Name, City, Postal Code, State, Street Address
  2. City, Postal Code, State
  3. Account Id, Address Name

Contact

Contact

1 First Name, Id, Last Name
  1. First Name, Last Name, Middle Name, Primary Account Name
  2. Account Integration Id, First Name, Last Name, Middle Name
  3. First Name, Last Name, Middle Name
  4. First Name, Last Name
  5. Account Integration Id, First Name, Last Name, Middle Name
  6. First Name, Last Name, Middle Name, Primary Account Name
  7. First Name, Last Name, Middle Name

Contact_Account

Contact_Account

1 Account, Account Location

Contact_Account_Business Address

Contact_Account_BusinessAddress

1 City, Country, Postal Code, State, Street Address, Street Address 2
  1. Address Name, City, Postal Code, State, Street Address
  2. City, Postal Code, State
  3. Address Name

Contact_Personal Address

Contact_PersonalAddress

1 City, Country, Postal Code, State, Street Address, Street Address 2
  1. City, Country, Postal Code, State, Street Address, Street Address 2
  2. City, Postal Code, State
  3. Integration Id

Message Details

MessageDetails

No user keys.

Opportunity

Opportunity

1 Name
  1. Account Integration Id, Name
  2. Account, Account Location, Name
  3. Name

Opportunity Note

OpportunityNote

1 Id, Note, Note Type, Oppty Name
  1. Note Type, Oppty Name
  2. Note, Note Type
  3. Note Type, Oppty Name
  4. Id, Note, Note Type, Oppty Name

Opportunity_Business Address

OpportunityBusinessAddress

1 City, Country, Postal Code, State, Street Address, Street Address 2
  1. City, Postal Code, State, Street Address
  2. City, Postal Code, State
  3. City, Postal Code, State
  4. City, Country, Postal Code, State, Street Address, Street Address 2
  5. Integration Id

Organization

Organization

1 DUNS Number

Organization Business Address

OrganizationAddress

1 City, Country, Postal Code, State, Street Address, Street Address 2
  1. City, Postal Code, State, Street Address
  2. City, Postal Code, State
  3. Account Id, Address Name

Revenue

Revenue

1 Revenue Item Number

Transfer Details

TransferDetails

No user keys.

Table 40 lists the fields and their attributes.

Table 40. ANI Opportunity Message (PRM ANI) ASI Fields
Name
XML Tag
Data Type
Length
Required

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

Id

Id

DTYPE_ID

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 Id

AccountId

DTYPE_TEXT

30

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

City

City

DTYPE_TEXT

50

N

Country

Country

DTYPE_TEXT

50

N

Integration Id

Integration Id

DTYPE_TEXT

30

N

IsPrimaryMVG

IsPrimaryMVG

DTYPE_TEXT

1

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

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