Professional Documents
Culture Documents
Copyright 2005, 2014 Oracle and/or its affiliates. All rights reserved.
This software and related documentation are provided under a license agreement containing restrictions on use
and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license
agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit,
distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering,
disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you
find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf
of the U.S. Government, the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs
installed on the hardware, and/or documentation, delivered to U.S. Government end users are commercial
computer software pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental
regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any
operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be
subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S.
Government.
This software or hardware is developed for general use in a variety of information management applications. It is not
developed or intended for use in any inherently dangerous applications, including applications that may create a
risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to
take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation
and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous
applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their
respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used
under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD
logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a
registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information on content, products, and
services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all
warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its
affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party
content, products, or services.
Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at
http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.
Access to Oracle Support
Oracle customers have access to electronic support through My Oracle Support. For information, visit
http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit
http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired.
Contents
How do I ? .............................................................................................................. 25
Managing Accounts Using the Simplified Sales Cloud Account Web Service
(AccountService)............................................................................................................ 25
Create an Account Programmatically Using createAccount........................... 25
Search for an Account Programmatically Using findAccount........................... 27
Update an Account and its Primary Address Programmatically Using
updateAccount ....................................................................................................... 28
Delete an Account Programmatically Using deleteAccount ............................ 29
Retrieve an Account Programmatically Using getAccount............................... 29
Merge an account Programmatically Using mergeAccount ............................ 30
Perform a Specific Operation (Create, Update, Delete, or Merge) on a List
of Accounts Using processAccount....................................................................... 31
Managing Contacts Using the Simplified Sales Cloud Contact Web Service
(ContactService) ............................................................................................................ 32
Create a Contact Programmatically Using createContact .............................. 32
Search for a Contact Programmatically Using findContact .............................. 35
Update a Contact and its Primary Address Programmatically Using
updateContact ........................................................................................................ 35
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Contents
Invoking A Simplified Web Service Using Web Service Proxy Clients ................ 59
Points to Consider While Designing Web Service Proxy Clients ................................ 59
Invoking A Simplified Web Service Using A Static Proxy ............................................ 60
Authentication ................................................................................................................ 64
4
4
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Introduction to Simplified Sales Cloud Web Services for Account, Household, and Contact
Operations ....................................................................................................................... 68
createAccount ......................................................................................................... 68
deleteAccount ......................................................................................................... 69
findAccount .............................................................................................................. 69
getAccount ............................................................................................................... 70
mergeAccount ......................................................................................................... 71
processAccount ....................................................................................................... 71
processCSAccount .................................................................................................. 72
updateAccount ....................................................................................................... 73
Sales Cloud Account SDO ............................................................................................. 74
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Contents
mergeRelationship.................................................................................................. 146
findRelationship ....................................................................................................... 146
processRelationship ................................................................................................ 147
processCSRelationship ........................................................................................... 148
Sales Cloud Relationship SDO ..................................................................................... 149
Appendix A: Downloading and Setting Up the Fusion Service Tester ............ 179
Installing JAVA on Windows machine ........................................................................ 179
Downloading the Fusion Service Tester ..................................................................... 179
Running the Fusion Service Tester Client .................................................................... 179
Importing a New certificate in the keystore (for IE).................................................. 180
10
Appendix B: Sample Code: Static Web Service Proxy JAX-WS Style ........ 181
11
Appendix C: Extracting Oracle Public Certificate from Fusion WSDL ...... 189
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Introduction to Simplified Sales Cloud Web Services for Account, Household, and Contact
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Develop cloud applications that call on and integrate with Oracle Sales Cloud to
deliver some of their functionality. You could sell these applications in the Oracle
Cloud Marketplace. These applications might deliver other functionality
independently or by integrating with third-party applications.
Integrate suites of applications from third party vendors to Oracle Sales Cloud.
Integrate different types of Oracle applications suites, such as Oracle E-Business
Suite, with Oracle Sales Cloud.
Customize and extend Oracle Sales Cloud applications to your business needs.
Use these services to create, edit, find, merge, and delete account, contact, and
household objects. The services support commonly used profile attributes: one set of
industry classification and parent node information attributes required to create an
account hierarchy, address attributes, and one instance of different contact point type
attributes such as phone, mobile, fax, and email.
The following child services are also available and allow you to manage multiple
addresses and relationships for the three top level objects:
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Introduction to Simplified Sales Cloud Web Services for Account, Household, and Contact
Understanding the Process Flow for Consuming a SOAP Web Service
Steps to Enable
Attributes that are available on the simplified pages by default are available within
each of the top-level services.
The Sales Cloud Address service can be used only if there is more than one address
related to the top level object.
The top-level services do not support any relationships. Use the Sales Cloud
Relationship service to manage relationships between any two top-level objects.
Key Resources
For more information about using Web Services in Oracle Sales Cloud, see:
10
Identifying the web services relevant to your business use case: Review the available
services, for the object you want to work with, in Oracle Enterprise Repository and
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Introduction to Simplified Sales Cloud Web Services for Account, Household, and Contact
decide which service you want to use. For more information, see Searching for Web
Services in OER.
Building Web service clients using an IDE: You can use an appropriate IDE to develop
a proxy client on a platform of your choice such as Java, .Net, or ASP to call Web
services and integrate applications with Oracle Sales Cloud. You can build a static
proxy, dynamic proxy, or a dynamic-static proxy depending on your business
requirements. For more information, see Building Web Service Clients Using an IDE.
Generating Keystore certificates: You have to generate keystore certificates only for
running standalone JDK applications. You do not need to generate keystore
certificates if you are running within the Weblogic Server. For more information, see
Generating Keystore certificates: Points to Consider.
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
11
Introduction to Simplified Sales Cloud Web Services for Account, Household, and Contact
Accessing WSDL URL
Select the service from the results section and see the Details tab in the bottom. That
will have service logical end point as below. Service Path:
http://<crm_server:PortNumber>/crmCommonSalesParties/AccountService
The part "http://<crm_server:PortNumber>" is dynamic for every environment where
as "/crmCommonSalesParties/AccountService" is static for a given service version.
Launch Oracle Sales Cloud home page and login as a functional user.
Navigate to an application's dashboard/workarea page that belongs to Sales Cloud
Account. For example: In case of Financial Util Service navigate to Payables or in
case of Purchase Order Service navigate to Procurement.
Lets take the Payables Invoice workbench as an example, you will see a URL in the
browser similar to https://<domainname>/payables/faces/InvoiceWorkbench. The
<domainname> might be like https://<pod-name>.<lba>.xxx.oraclecloud.com.
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Introduction to Simplified Sales Cloud Web Services for Account, Household, and Contact
service that you need to use to implement your specific use case. The section describes
the different options available to you for evaluating Oracle Sales Cloud Web services,
by prototyping their input payloads and evaluating output payloads and results.
You can test Oracle Sales Cloud Web services using the following tools:
Prerequisites
Ensure that the user credentials used to invoke the service has the required privilege
to create an account in Oracle Sales Cloud Applications.
Optionally, if you want to designate an account owner to any account you must
ensure that the account owner exists.
After you have identified the appropriate Web service in the Identify the Appropriate
Web Service section, perform the following steps.
Launch Oracle Sales Cloud home page and login as a functional user.
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
13
Introduction to Simplified Sales Cloud Web Services for Account, Household, and Contact
Determining Which Web service to Use to Implement Your Use Case
Review the URL of the dashboard/workarea. You will see a URL in the browser similar
to https://<domainname>/customer/faces/CustomerCtrWorkarea. The
<domainname> might be like https://<pod-name>.<lba>.xxx.oraclecloud.com.
In this URL, take the "https://<domainname>". Then append the static context root
that we extracted from OER - "/crmCommonSalesParties/AccountService" to it.
https://<domainname>/crmCommonSalesParties/AccountService is the WSDL URL
for Sales Cloud Account.
If you have access to Oracle Enterprise Manager Fusion Applications Control, you can
use the following steps:
1. Log in to the Oracle Enterprise Manager Fusion Applications Control using the Web
Logic Server credentials.
2. Select Oracle Fusion Customer Relationship Management from the navigation tree,
and then select Fusion Applications.
3. From the tree, select CrmCommonApp, and then select CrmCommonApp
(CRMCommonServer_1).
4. In the Web Services pane on the right side of the page, scroll to the service name
that you had noted down in the Identifying the Appropriate Web Service section,
and click Test.
5. In the Test Web Service pane, copy the URL of a WSDL that appears in the WSDL field
until "?wsdl", and then paste to a notepad.
Perform the following steps, after you have launched the WSDL URL in a web browser.
1. In the AccountsService endpoint page, select createAccount from the Operation
list.
2. In the Parameters pane, under Account, enter the name of the account in the
OrganizationName field.
3. In the Parameters pane, under Account, enter an appropriate account type
(ZCA_PROSPECT or ZCA_CUSTOMER) in the Type field.
4. Uncheck all the other fields.
5. Click the XML Source option that is next to the Operation list.
6. Copy the XML source and paste to a notepad.
Follow the below steps to invoke the Web service using Fusion Service Tester:
Note: You can also use your custom proxy client application, JDeveloper HTTP Analyzer, and third party
tools, such as SoapUI, to call a simplified Oracle Sales Cloud Web service.
1. Launch the Fusion Service Tester. Review Appendix A to find out how to download it
from OER (https://fusionappsoer.oracle.com/oer/FusionServiceTester.zip) and set it
up.
14
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Introduction to Simplified Sales Cloud Web Services for Account, Household, and Contact
2. In the WebService URL field, paste the WSDL URL that you derived following the steps
in the "Extracting the Web Services URL" section.
3. Enter the username and password credentials.
4. In the Input Payload pane, paste the XML source that you derived following the
steps in the "Deriving the Input Payload" section.
5. Click Invoke. The Output Payload pane displays the output payload.
Prerequisites
Ensure that the user credentials used to invoke the service has the required privilege to
create a contact in Oracle Sales Cloud Applications.
After you have identified the appropriate Web service in the Identify the Appropriate
Web Service section, perform the following steps.
Launch Oracle Sales Cloud home page and login as a functional user.
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
15
Introduction to Simplified Sales Cloud Web Services for Account, Household, and Contact
Determining Which Web service to Use to Implement Your Use Case
In this URL, take the "https://<domainname>". Then append the static context root
that we extracted from OER - "/crmCommonSalesParties/ContactService" to it.
If you have access to Oracle Enterprise Manager Fusion Applications Control, use the
following steps:
1. Log in to the Oracle Enterprise Manager Fusion Applications Control using the Web
Logic Server credentials.
2. Select Oracle Fusion Customer Relationship Management from the navigation tree,
and then select Fusion Applications.
3. From the tree, select CrmCommonApp, and then select CrmCommonApp
(CRMCommonServer_1).
4. In the Web Services pane on the right side of the page, scroll to the service name
that you had noted down in the Identifying the Appropriate Web Service section,
and click Test.
5. In the Test Web Service pane, copy the URL of a WSDL that appears in the WSDL field
until "?wsdl", and then paste to a notepad.
Perform the following steps, after you have launched the WSDL URL in a web browser.
1. In the ContactService endpoint page, select createContact from the Operation list.
2. In the Parameters pane, under Contact, enter the first name and last name in the
FirstName and LastName fields, respectively.
3. In the Parameters pane, under Contact, enter HZ_WS in the CreatedByModule field.
Note: HZ_WS is the inbuilt code for Web Services.
Follow the below steps to invoke the Web service using Fusion Service Tester:
Note: You can also use your custom proxy client application, JDeveloper HTTP Analyzer, and third party
tools, such as SoapUI, to call a simplified Oracle Sales Cloud Web service.
1. Launch the Fusion Service Tester. Review Appendix A to find out how to download it
from OER (https://fusionappsoer.oracle.com/oer/FusionServiceTester.zip) and set it
up.
16
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Introduction to Simplified Sales Cloud Web Services for Account, Household, and Contact
2. In the WebService URL field, paste the WSDL URL that you derived following the steps
in the "Extracting the Web Services URL" section.
3. Enter the username and password credentials.
4. In the Input Payload pane, paste the XML source that you derived following the
steps in the "Deriving the Input Payload" section.
5. Click Invoke. The Output Payload pane displays the output payload.
In the Customers work area, search for the new contact that you have created
using the Manage Contacts Classic UI page. You can also search using the Contacts
simplified UI page.
5. Enter the first or last name in the Keywords field to search for the contact.
6. Verify the contact details.
Prerequisites
Ensure that the user credentials used to invoke the service has the required privilege to
create a household in Oracle Sales Cloud Applications.
After you have identified the appropriate Web service in the Identify the Appropriate
Web Service section, perform the following steps.
Launch Oracle Sales Cloud home page and login as a functional user.
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
17
Introduction to Simplified Sales Cloud Web Services for Account, Household, and Contact
Determining Which Web service to Use to Implement Your Use Case
Review the URL of the dashboard/workarea. You will see a URL in the browser similar
to https://<domainname>/customer/faces/CustomerCtrWorkarea. The
<domainname> might be like https://<pod-name>.<lba>.xxx.oraclecloud.com.
In this URL, take the "https://<domainname>". Then append the static context root
that we extracted from OER - "/crmCommonSalesParties/HouseholdService" to it.
https://<domainname>/crmCommonSalesParties/HouseholdService is the WSDL URL
for Sales Cloud Household.
If you have access to Oracle Enterprise Manager Fusion Applications Control, you can
use the following steps:
1. Log in to the Oracle Enterprise Manager Fusion Applications Control using the Web
Logic Server credentials.
2. Select Oracle Fusion Customer Relationship Management from the navigation tree,
and then select Fusion Applications.
3. From the tree, select CrmCommonApp, and then select CrmCommonApp
(CRMCommonServer_1).
4. In the Web Services pane on the right side of the page, scroll to the service name
that you had noted down in the Identifying the Appropriate Web Service section,
and click Test.
5. In the Test Web Service pane, copy the URL of a WSDL that appears in the WSDL field
until "?wsdl", and then paste to a notepad.
After you have identified the appropriate web service in the Identifying the
Appropriate Web Service section, perform the following steps.
1. Navigate to the HouseholdService endpoint page, as explained in the Extracting the
Web Services URL section.
2. Select the createHousehold operation from the operation drop-down list.
3. Provide valid values to the mandatory fields.
4. In the parameters section, select the Include in Message checkbox if a parameter is
not mandatory and you're providing a value for it.
5. Click the XML Source radio button. This generates the input payload.
6. Copy the XML source and paste to a notepad.
Follow the below steps to invoke the Web service using Fusion Service Tester:
Note: You can also use your custom proxy client application, JDeveloper HTTP Analyzer, and third party
tools, such as SoapUI, to call a simplified Oracle Sales Cloud Web service.
18
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Introduction to Simplified Sales Cloud Web Services for Account, Household, and Contact
1. Launch the Fusion Service Tester. Review Appendix A to find out how to download it
from OER (https://fusionappsoer.oracle.com/oer/FusionServiceTester.zip) and set it
up.
2. In the Web Service URL field, paste the WSDL URL that you derived following the steps
in "Identifying the Appropriate Web Service" section.
3. Enter the username and password credentials.
4. In the Input Payload pane, paste the XML source that you derived from "Generating
the Payload" section.
5. Click Invoke. The Output Payload pane displays the output payload.
You can evaluate the results of the Web service call by verifying the creation of the
household in your Oracle Sales Cloud instance as follows:
1. Copy and paste the output payload to a notepad window.
2. Log in to Oracle Sales Cloud Applications.
3. In the Customers work area, search for the new household you have created using
the Manage Customer Classic UI page. You can also search for it using the
Households simplified UI page.
4. Verify the household details. This confirms that the household has been created.
Evaluating the Simplified Relationship Service
Prerequisites
Ensure that the user credentials used to invoke the service has the required privilege to
create a relationship in Oracle Sales Cloud Applications.
After you have identified the appropriate Web service in the Identify the Appropriate
Web Service section, perform the following steps.
Launch Oracle Sales Cloud home page and login as a functional user.
Navigate to an application's dashboard/workarea page that is related to Sales
Cloud Relationship. For example: Navigator > Customers.
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
19
Introduction to Simplified Sales Cloud Web Services for Account, Household, and Contact
Determining Which Web service to Use to Implement Your Use Case
Review the URL of the dashboard/workarea. You will see a URL in the browser similar
to https://<domainname>/customer/faces/CustomerCtrWorkarea. The
<domainname> might be like https://<pod-name>.<lba>.xxx.oraclecloud.com.
In this URL, take the "https://<domainname>". Then append the static context root
that we extracted from OER - "/crmCommonSalesParties/RelationshipService" to it.
https://<domainname>/crmCommonSalesParties/RelationshipService is the WSDL
URL for Sales Cloud Relationship.
If you have access to Oracle Enterprise Manager Fusion Applications Control, you can
use the following steps:
1. Log in to the Oracle Enterprise Manager Fusion Applications Control using the Web
Logic Server credentials.
2. Select Oracle Fusion Customer Relationship Management from the navigation tree,
and then select Fusion Applications.
3. From the tree, select CrmCommonApp, and then select CrmCommonApp
(CRMCommonServer_1).
4. In the Web Services pane on the right side of the page, scroll to the service name
that you had noted down in the Identifying the Appropriate Web Service section,
and click Test.
5. In the Test Web Service pane, copy the URL of a WSDL that appears in the WSDL field
until "?wsdl", and then paste to a notepad.
After you have identified the appropriate web service in the Identifying the
Appropriate Web Service section, perform the following steps.
1. Navigate to the RelationshipService endpoint page, as explained in the Identifying
the Appropriate Web Service section.
2. Select the createRelationshp operation from the operation drop-down list.
3. Provide valid values to the mandatory fields.
4. In the parameters section, select the Include in Message checkbox if a parameter is
not mandatory and you're providing a value for it.
5. Click the XML Source radio button. This generates the input payload.
6. Copy the XML source and paste to a notepad.
Follow the below steps to invoke the Web service using Fusion Service Tester:
Note: You can also use your custom proxy client application, JDeveloper HTTP Analyzer, and third party
tools, such as SoapUI, to call a simplified Oracle Sales Cloud Web service.
20
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Introduction to Simplified Sales Cloud Web Services for Account, Household, and Contact
1. Launch the Fusion Service Tester. Review Appendix A to find out how to download it
from OER (https://fusionappsoer.oracle.com/oer/FusionServiceTester.zip) and set it
up.
2. In the Web Service URL field, paste the WSDL URL that you derived following the steps
in the "Identifying the Service" section.
3. Enter the username and password credentials.
4. In the Input Payload pane, paste the XML source that you derived following the
steps in the "Deriving the Input the Payload" section.
5. Click Invoke. The Output Payload pane displays the output payload.
You can evaluate the results of the Web service call by verifying the creation of the
relationship in your Oracle Sales Cloud instance as follows:
1. Copy and paste the output payload to a notepad window
2. Log in to Oracle Sales Cloud Applications.
3. In the Customers work area, search for the customer (account or contact) for which
you created the relationship using the Manage Customer or the Manage Contact
Classic UI page. You can also search for it using the Account or Contact simplified UI
page.
4. Verify the relationship details. This confirms that the relationship has been created.
Evaluating the Simplified Address Service
Prerequisites
Ensure that the user credentials used to invoke the service has the required privilege to
create an address in Oracle Sales Cloud Applications.
After you have identified the appropriate Web service in the Identify the Appropriate
Web Service section, perform the following steps.
Launch Oracle Sales Cloud home page and login as a functional user.
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
21
Introduction to Simplified Sales Cloud Web Services for Account, Household, and Contact
Determining Which Web service to Use to Implement Your Use Case
Review the URL of the dashboard/workarea. You will see a URL in the browser similar
to https://<domainname>/customer/faces/CustomerCtrWorkarea. The
<domainname> might be like https://<pod-name>.<lba>.xxx.oraclecloud.com.
From this URL, take the "https://<domainname>". Then append the static context
root that we extracted from OER - "/crmCommonSalesParties/AddressService" to it.
If you have access to Oracle Enterprise Manager Fusion Applications Control, you can
use the following steps:
1. Log in to the Oracle Enterprise Manager Fusion Applications Control using the Web
Logic Server credentials.
2. Select Oracle Fusion Customer Relationship Management from the navigation tree,
and then select Fusion Applications.
3. From the tree, select CrmCommonApp, and then select CrmCommonApp
(CRMCommonServer_1).
4. In the Web Services pane on the right side of the page, scroll to the service name
that you had noted down in the Identifying the Appropriate Web Service section,
and click Test.
5. In the Test Web Service pane, copy the URL of a WSDL that appears in the WSDL field
until "?wsdl", and then paste to a notepad.
After you have identified the appropriate web service in the Identifying the
Appropriate Web Service section, perform the following steps.
1. Navigate to the AddressService endpoint page as explained in the Extracting the
Web Services URL section.
2. Select the createAddress operation from the operation drop-down list.
3. Provide valid values to the mandatory fields.
4. In the parameters section, select the Include in Message checkbox if a parameter is
not mandatory and you're providing a value for it.
5. Click the XML Source radio button. This generates the input payload.
6. Copy the XML source and paste to a notepad.
Follow the below steps to invoke the Web service using the Fusion Service Tester:
22
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Introduction to Simplified Sales Cloud Web Services for Account, Household, and Contact
Note: You can also use your custom proxy client application, JDeveloper HTTP Analyzer, and third party
tools, such as SoapUI, to call a simplified Oracle Sales Cloud Web service Web service.
1. Launch the Fusion Service Tester. Review Appendix A to find out how to download it
from OER (https://fusionappsoer.oracle.com/oer/FusionServiceTester.zip) and set it
up.
2. In the Web Service URL field, paste the WSDL URL that you derived following the steps
in the "Identifying the Service" section.
3. Enter the username and password credentials.
4. In the Input Payload pane, paste the XML source that you derived following the
steps in the "Deriving the Input Payload" section.
5. Click Invoke. The Output Payload pane displays the output payload.
You can evaluate the results of the Web service call by verifying the creation of the
address in your Oracle Sales Cloud instance as follows:
1. Copy and paste the output payload to a notepad window.
2. Verify the relationship details. This confirms that the household has been created.
3. Log in to Oracle Sales Cloud Applications.
4. In the Customers work area, search for the customer (account or contact) for which
you created the address using the Manage Customer or the Manage Contact
Classic UI page. You can also search for it using the Account or Contact simplified UI
page.
5. Verify the address details. This confirms that the address has been created.
Prototyping Payloads and Evaluating Web Services Using the JDeveloper HTTP
Analyzer
Use this procedure to prototype payloads and evaluate Web service call results using
the JDeveloper HTTP Analyzer:
1. Launch JDeveloper IDE in Default role.
2. Click Tools and select the HTTP Analyzer
3. Click the Create A New Request icon.
4. In the HTTP Analyzer: Unsent Message page, Click Open WSDL button on the top
right
5. Enter WSDL URL.
6. Click OK and wait for the JDeveloper to fetch the WSDL document.
7. Select an appropriate Web service operation.
8. Click on HTTP Content tab and paste an appropriate request payload.
9. Click SOAP Structure tab and click Request HTTP Headers
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
23
Introduction to Simplified Sales Cloud Web Services for Account, Household, and Contact
Determining Which Web service to Use to Implement Your Use Case
10. Click on the + (Add headers menu) icon (Sometimes, the + icon may not be visible.
You may have to expand the Request HTTP Headers panel by dragging the splitter
bar to the right.
11. Select Authorization basic.
12. Enter Basic username:password such as Basic Sales_Admin: Welcome
13. Click Send Request.
14. Review the response and verify the operation result in your instance of Oracle Sales
Cloud.
Prototyping Payloads and Evaluating Web Services Using Third Party Tools
You can use third party tools, such as SoapUI, WebInject and Strom, to test the Sales
Cloud Web services. You can perform various types of Web service testing, based on
the third party tool you are using. For more information, see:
24
http://www.soapui.org
https://storm.codeplex.com
http://www.webinject.org
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
How do I ?
Customer: An account to whom you are actively selling or to whom you have sold
previously. This was a Sales Account in Oracle Sales Cloud Release 7.
The sample code and payload for calling the createAccount method are as follows.
Sample XML Payload
https://<domainname>/crmCommonSalesParties/AccountService
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<ns1:createAccount
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/accountServ
ice/types/">
<ns1:account
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/accountServ
ice/">
<ns2:OrganizationName>Responsys
California</ns2:OrganizationName>
<ns2:Type>ZCA_PROSPECT</ns2:Type>
<ns2:CreatedByModule>HZ_WS</ns2:CreatedByModule>
<ns2:PhoneCountryCode>1</ns2:PhoneCountryCode>
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
25
Contents
<ns2:PhoneAreaCode>650</ns2:PhoneAreaCode>
<ns2:PhoneNumber>8881111</ns2:PhoneNumber>
<ns2:PhoneExtension>123</ns2:PhoneExtension>
</ns1:account>
</ns1:createAccount>
</soap:Body>
</soap:Envelope>
This payload contains the minimum information to create a prospect. It creates a new
prospect account with an organization name and contact phone number.
This payload contains the information to create a customer. It creates a new customer
account with profile and contact information, a new address, and a relationship
between the newly created account and address to indicate the address is the primary
address for the customer.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<ns1:createAccount
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/accountServ
ice/types/">
<ns1:account
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/accountServ
ice/">
<ns2:SourceSystem>CSV</ns2:SourceSystem>
<ns2:SourceSystemReferenceValue>SBS_ACCT_SSR_23417</ns2:SourceSystemRefere
nceValue>
<ns2:OrganizationName>Materials Process Engineering
LLC</ns2:OrganizationName>
<ns2:CEOName>Bob Doyle</ns2:CEOName>
<ns2:Type>ZCA_CUSTOMER</ns2:Type>
<ns2:IndustryCodeType>ONE VOICE</ns2:IndustryCodeType>
<ns2:IndustryCode>2700</ns2:IndustryCode>
<ns2:CreatedByModule>HZ_WS</ns2:CreatedByModule>
<ns2:PhoneCountryCode>1</ns2:PhoneCountryCode>
<ns2:PhoneAreaCode>650</ns2:PhoneAreaCode>
<ns2:PhoneNumber>8881111</ns2:PhoneNumber>
<ns2:FaxCountryCode>1</ns2:FaxCountryCode>
<ns2:FaxAreaCode>650</ns2:FaxAreaCode>
<ns2:FaxNumber>8882222</ns2:FaxNumber>
<ns2:EmailAddress>contactus@oracle.com</ns2:EmailAddress>
26
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
How do I ? Managing Accounts Using the Simplified Sales Cloud Account Web Service
(AccountService)
<ns2:URL>https://www.wpi.edu/about/tour/washburn.html</ns2:URL>
<ns2:PrimaryAddress
xmlns:ns3="http://xmlns.oracle.com/apps/crmCommon/salesParties/commonServi
ce/">
<ns3:SourceSystem>CSV</ns3:SourceSystem>
<ns3:SourceSystemReferenceValue>SBS_ACCT_ADD_SSR_419</ns3:SourceSystemRefe
renceValue>
<ns3:AddressLine1>4578 El Camino
Real</ns3:AddressLine1>
<ns3:City>San Mateo</ns3:City>
<ns3:Country>US</ns3:Country>
<ns3:County>San Mateo</ns3:County>
<ns3:PostalCode>94401</ns3:PostalCode>
<ns3:State>CA</ns3:State>
</ns2:PrimaryAddress>
</ns1:account>
</ns1:createAccount>
</soap:Body>
</soap:Envelope>
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
27
Contents
</ns2:group>
</ns2:filter>
</ns1:findAccount>
</soap:Body>
</soap:Envelope>
28
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
How do I ? Managing Accounts Using the Simplified Sales Cloud Account Web Service
(AccountService)
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
29
Contents
30
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
How do I ? Managing Accounts Using the Simplified Sales Cloud Account Web Service
(AccountService)
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
31
Contents
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:createContact
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/contactServ
ice/types/">
<ns1:contact
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/contactServ
ice/">
<ns2:SourceSystem>CSV</ns2:SourceSystem>
<ns2:SourceSystemReferenceValue>SBS_CNT_24616</ns2:SourceSystemReferenceVa
lue>
<ns2:FirstName>SBS_FN</ns2:FirstName>
<ns2:LastName>SBS_LN</ns2:LastName>
<ns2:WorkPhoneCountryCode>1</ns2:WorkPhoneCountryCode>
<ns2:WorkPhoneAreaCode>650</ns2:WorkPhoneAreaCode>
<ns2:WorkPhoneNumber>2276000</ns2:WorkPhoneNumber>
<ns2:WorkPhoneExtension>001</ns2:WorkPhoneExtension>
<ns2:MobileCountryCode>1</ns2:MobileCountryCode>
32
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
How do I ? Managing Contacts Using the Simplified Sales Cloud Contact Web Service
(ContactService)
<ns2:MobileAreaCode>650</ns2:MobileAreaCode>
<ns2:MobileNumber>2276001</ns2:MobileNumber>
<ns2:MobileExtension>002</ns2:MobileExtension>
<ns2:FaxCountryCode>1</ns2:FaxCountryCode>
<ns2:FaxAreaCode>650</ns2:FaxAreaCode>
<ns2:FaxNumber>2276003</ns2:FaxNumber>
<ns2:FaxExtension>003</ns2:FaxExtension>
<ns2:EmailAddress>sbs@oracle.com</ns2:EmailAddress>
<ns2:CreatedByModule>HZ_WS</ns2:CreatedByModule>
<ns2:ClassificationCategory>CUSTOMER_CATEGORY</ns2:ClassificationCategory>
<ns2:ClassificationCode>BROKER</ns2:ClassificationCode>
<ns2:PrimaryAddress
xmlns:ns3="http://xmlns.oracle.com/apps/crmCommon/salesParties/commonServi
ce/">
<ns3:AddressLine1>Commerce at
Mantri</ns3:AddressLine1>
<ns3:Country>IN</ns3:Country>
</ns2:PrimaryAddress>
</ns1:contact>
</ns1:createContact>
</soap:Body>
</soap:Envelope>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:createContact
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/contactServ
ice/types/">
<ns1:contact
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/contactServ
ice/">
<ns2:SourceSystem>CSV</ns2:SourceSystem>
<ns2:SourceSystemReferenceValue>SBS_CNT_CUST_24620_1</ns2:SourceSystemRefe
renceValue>
<ns2:FirstName>SBS_FN</ns2:FirstName>
<ns2:LastName>SBS_LN</ns2:LastName>
<ns2:ContactName>SBS FN LN</ns2:ContactName>
<ns2:Type>ZCA_PROSPECT</ns2:Type>
<ns2:FavoriteContactFlag>TRUE</ns2:FavoriteContactFlag>
<ns2:CreatedByModule>AMS</ns2:CreatedByModule>
<ns2:EmailAddress>sbs@oracle.com</ns2:EmailAddress>
<ns2:ClassificationCategory>CUSTOMER_CATEGORY</ns2:ClassificationCategory>
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
33
Contents
<ns2:ClassificationCode>BROKER</ns2:ClassificationCode>
<ns2:PrimaryAddress
xmlns:ns3="http://xmlns.oracle.com/apps/crmCommon/salesParties/commonServi
ce/">
<ns3:AddressLine1>PTP</ns3:AddressLine1>
<ns3:City>BENGALURU</ns3:City>
<ns3:Country>IN</ns3:Country>
<ns3:State>KA</ns3:State>
</ns2:PrimaryAddress>
</ns1:contact>
</ns1:createContact>
</soap:Body>
</soap:Envelope>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:createContact
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/contactServ
ice/types/">
<ns1:contact
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/contactServ
ice/">
<ns2:SourceSystem>CSV</ns2:SourceSystem>
<ns2:SourceSystemReferenceValue>SBS_CNT_CUST_24620</ns2:SourceSystemRefere
nceValue>
<ns2:FirstName>SBS_FN</ns2:FirstName>
<ns2:LastName>SBS_LN</ns2:LastName>
<ns2:ContactName>SBS FN LN</ns2:ContactName>
<ns2:Type>ZCA_CUSTOMER</ns2:Type>
<ns2:FavoriteContactFlag>TRUE</ns2:FavoriteContactFlag>
<ns2:CreatedByModule>AMS</ns2:CreatedByModule>
<ns2:EmailAddress>sbs@oracle.com</ns2:EmailAddress>
<ns2:ClassificationCategory>CUSTOMER_CATEGORY</ns2:ClassificationCategory>
<ns2:ClassificationCode>BROKER</ns2:ClassificationCode>
<ns2:PrimaryAddress
xmlns:ns3="http://xmlns.oracle.com/apps/crmCommon/salesParties/commonServi
ce/">
<ns3:AddressLine1>PTP</ns3:AddressLine1>
<ns3:City>BENGALURU</ns3:City>
<ns3:Country>IN</ns3:Country>
<ns3:State>KA</ns3:State>
</ns2:PrimaryAddress>
34
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
How do I ? Managing Contacts Using the Simplified Sales Cloud Contact Web Service
(ContactService)
</ns1:contact>
</ns1:createContact>
</soap:Body>
</soap:Envelope>
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
35
Contents
Party ID
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:deleteContact
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/contactServ
ice/types/">
<ns1:contact
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/contactServ
ice/">
<ns2:PartyId>300100044016994</ns2:PartyId>
</ns1:contact>
</ns1:deleteContact>
36
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
How do I ? Managing Contacts Using the Simplified Sales Cloud Contact Web Service
(ContactService)
</soap:Body>
</soap:Envelope>
Party Number
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:deleteContact
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/contactServ
ice/types/">
<ns1:contact
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/contactServ
ice/">
<ns2:PartyNumber>CDRM_737311</ns2:PartyNumber>
</ns1:contact>
</ns1:deleteContact>
</soap:Body>
</soap:Envelope>
SSR Value
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:deleteContact
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/contactServ
ice/types/">
<ns1:contact
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/contactServ
ice/">
<ns2:SourceSystem>CSV</ns2:SourceSystem>
<ns2:SourceSystemReferenceValue>SBS_CNT_225710</ns2:SourceSystemReferenceV
alue>
</ns1:contact>
</ns1:deleteContact>
</soap:Body>
</soap:Envelope>
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
37
Contents
<soap:Body>
<ns1:getContact
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/contactServ
ice/types/">
<ns1:PartyId>300100068095886</ns1:PartyId>
</ns1:getContact>
</soap:Body>
</soap:Envelope>
38
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
How do I ? Managing Households Using the Simplified Sales Cloud Household Web
Service
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
39
Contents
Household members
Sales Teams
Relationships
Leads and opportunities
Assets
Notes, tasks, and appointments
Conversations
Call the Sales Cloud Household service (HouseholdService) to create, update, find, and
delete the parties of type household. When performing these operations, you can
include only one address in the payload. You must use the Address web service to
create an address for a household.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:createHousehold
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/householdSe
rvice/types/">
<ns1:household
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/householdSe
rvice/">
<ns2:HouseholdName>SBS_HLD</ns2:HouseholdName>
<ns2:HouseholdSize>3</ns2:HouseholdSize>
<ns2:UniqueNameSuffix>Abc</ns2:UniqueNameSuffix>
<ns2:AverageAge>30</ns2:AverageAge>
<ns2:AnnualIncome>1000000</ns2:AnnualIncome>
<ns2:Child0to6Num>1</ns2:Child0to6Num>
<ns2:Child13to18Num>0</ns2:Child13to18Num>
<ns2:Child7to12Num>0</ns2:Child7to12Num>
<ns2:DependentsNum>2</ns2:DependentsNum>
<ns2:MedianAge>30</ns2:MedianAge>
<ns2:WealthAmt>10000000</ns2:WealthAmt>
<ns2:CreatedByModule>AMS</ns2:CreatedByModule>
<ns2:SourceSystem>CSV</ns2:SourceSystem>
<ns2:SourceSystemReferenceValue>SBS_HLD_131250</ns2:SourceSystemReferenceV
alue>
40
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
How do I ? Managing Households Using the Simplified Sales Cloud Household Web
Service
<ns2:ClassificationCategory>CUSTOMER_CATEGORY</ns2:ClassificationCategory>
<ns2:ClassificationCode>BROKER</ns2:ClassificationCode>
<ns2:PhoneCountryCode>1</ns2:PhoneCountryCode>
<ns2:PhoneAreaCode>650</ns2:PhoneAreaCode>
<ns2:PhoneNumber>2276000</ns2:PhoneNumber>
<ns2:PhoneExtension>001</ns2:PhoneExtension>
<ns2:EmailAddress>sbs@oracle.com</ns2:EmailAddress>
<ns2:PrimaryAddress
xmlns:ns3="http://xmlns.oracle.com/apps/crmCommon/salesParties/commonServi
ce/">
<ns3:AddressLine1>300 Oracle
Parkway</ns3:AddressLine1>
<ns3:City>Bengaluru</ns3:City>
<ns3:PostalCode>94065</ns3:PostalCode>
<ns3:Country>IN</ns3:Country>
</ns2:PrimaryAddress>
</ns1:household>
</ns1:createHousehold>
</soap:Body>
</soap:Envelope>
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
41
Contents
<ns2:operator>=</ns2:operator>
<ns2:value>CDRM_747827</ns2:value>
</ns2:item>
</ns2:group>
</ns2:filter>
<ns2:excludeAttribute></ns2:excludeAttribute>
</ns1:findCriteria>
<ns1:findControl
xmlns:ns2="http://xmlns.oracle.com/adf/svc/types/">
<ns2:retrieveAllTranslations></ns2:retrieveAllTranslations>
</ns1:findControl>
</ns1:findHousehold >
</soap:Body>
</soap:Envelope>
42
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
How do I ? Managing Households Using the Simplified Sales Cloud Household Web
Service
<ns3:City>Shimoga</ns3:City>
<ns3:PostalCode>560086</ns3:PostalCode>
</ns2:PrimaryAddress>
</ns1:household>
</ns1:updateHousehold>
</soap:Body>
</soap:Envelope>
Party ID
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:deleteHousehold
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/householdSe
rvice/types/">
<ns1:household
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/householdSe
rvice/">
<ns2:PartyId>300100046210406</ns2:PartyId>
</ns1:household>
</ns1:deleteHousehold>
</soap:Body>
</soap:Envelope>
Party Number
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:deleteHousehold
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/householdSe
rvice/types/">
<ns1:household
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/householdSe
rvice/">
<ns2:PartyNumber>CDRM_789827</ns2:PartyNumber>
</ns1:household>
</ns1:deleteHousehold>
</soap:Body>
</soap:Envelope>
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
43
Contents
SSR
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:deleteHousehold
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/householdSe
rvice/types/">
<ns1:household
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/householdSe
rvice/">
<ns2:SourceSystem>CSV</ns2:SourceSystem>
<ns2:SourceSystemReferenceValue>SBS_HLD_227103</ns2:SourceSystemReferenceV
alue>
</ns1:household>
</ns1:deleteHousehold>
</soap:Body>
</soap:Envelope>
44
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
How do I ? Managing Households Using the Simplified Sales Cloud Household Web
Service
<ns1:mergeHousehold
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/householdSe
rvice/types/">
<ns1:household
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/householdSe
rvice/">
<ns2:PartyNumber>CDRM_747827</ns2:PartyNumber>
<ns2:HouseholdName>UPDATED_SBS_HLD_227421</ns2:HouseholdName>
<ns2:PrimaryAddress
xmlns:ns3="http://xmlns.oracle.com/apps/crmCommon/salesParties/commonServi
ce/">
<ns3:SourceSystem>CSV</ns3:SourceSystem>
<ns3:SourceSystemReferenceValue>ADD_SBS_227421</ns3:SourceSystemReferenceV
alue>
<ns3:AddressLine1>600 Oracle
Parkway</ns3:AddressLine1>
<ns3:AddressLine2>Commerce at
Mantri</ns3:AddressLine2>
<ns3:City>Shimoga</ns3:City>
<ns3:PostalCode>560086</ns3:PostalCode>
</ns2:PrimaryAddress>
</ns1:household>
</ns1:mergeHousehold>
</soap:Body>
</soap:Envelope>
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
45
Contents
<ns2:EmailAddress>household1@oracle.com</ns2:EmailAddress>
</ns1:household>
<ns1:household
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/householdSe
rvice/">
<ns2:HouseholdName>Household2</ns2:HouseholdName>
<ns2:HouseholdSize>4</ns2:HouseholdSize>
<ns2:EmailAddress>household2@oracle.com</ns2:EmailAddress>
</ns1:household>
<ns1:processControl
xmlns:ns2="http://xmlns.oracle.com/adf/svc/types/">
<ns2:returnMode>Full</ns2:returnMode>
<ns2:exceptionReturnMode>Full</ns2:exceptionReturnMode>
<ns2:partialFailureAllowed>true</ns2:partialFailureAllowed>
</ns1:processControl>
</ns1:processHousehold>
</soap:Body>
</soap:Envelope>
46
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
How do I ? Managing Addresses Using the Simplified Sales Cloud Address Web Service
(AddressService)
<ns1:address
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/addressServ
ice/">
<ns2:PrimaryFlag>true</ns2:PrimaryFlag>
<ns2:PartyId>300100032438455</ns2:PartyId>
<ns2:Address1>300 Oracle Parkway</ns2:Address1>
<ns2:City>Redwood City</ns2:City>
<ns2:State>CA</ns2:State>
<ns2:Country>US</ns2:Country>
<ns2:CreatedByModule>AMS</ns2:CreatedByModule>
<ns2:PostalCode>94341</ns2:PostalCode>
<ns2:AddressNumber>SBS1291252</ns2:AddressNumber>
<ns2:SourceSystem>DNB</ns2:SourceSystem>
<ns2:SourceSystemReferenceValue>ADD1291253</ns2:SourceSystemReferenc
eValue>
<ns2:AddressPurpose>
<ns2:Purpose>BILL_TO</ns2:Purpose>
</ns2:AddressPurpose>
<ns2:AddressPurpose>
<ns2:Purpose>PAY_TO</ns2:Purpose>
</ns2:AddressPurpose>
</ns1:address>
</ns1:createAddress>
</soap:Body>
</soap:Envelope>
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
47
Contents
<ns2:conjunction>And</ns2:conjunction>
<ns2:upperCaseCompare></ns2:upperCaseCompare>
<ns2:attribute>PartyId</ns2:attribute>
<ns2:operator>=</ns2:operator>
<ns2:value>300100046210740</ns2:value>
</ns2:item>
</ns2:group>
</ns2:filter>
<ns2:excludeAttribute></ns2:excludeAttribute>
</ns1:findCriteria>
<ns1:findControl
xmlns:ns2="http://xmlns.oracle.com/adf/svc/types/">
<ns2:retrieveAllTranslations>TRUE</ns2:retrieveAllTranslations>
</ns1:findControl>
</ns1:findAddress>
</soap:Body>
</soap:Envelope>
Address ID
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:updateAddress
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/addressServ
ice/types/">
<ns1:address
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/addressServ
ice/">
<ns2:AddressId>300100089301612</ns2:AddressId>
<ns2:DoNotMailFlag>TRUE</ns2:DoNotMailFlag>
<ns2:Address1>400 Commerce at Mantri</ns2:Address1>
<ns2:City>Bengaluru</ns2:City>
48
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
How do I ? Managing Addresses Using the Simplified Sales Cloud Address Web Service
(AddressService)
<ns2:Description>Updating the
Addressline1</ns2:Description>
</ns1:address>
</ns1:updateAddress>
</soap:Body>
</soap:Envelope>
Address Number
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:updateAddress
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/addressServ
ice/types/">
<ns1:address
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/addressServ
ice/">
<ns2:AddressNumber>SBS129102</ns2:AddressNumber>
<ns2:DoNotMailFlag>FALSE</ns2:DoNotMailFlag>
<ns2:Address1>400 PTP</ns2:Address1>
<ns2:City>BDVT</ns2:City>
<ns2:Description>Updating the
Addressline1</ns2:Description>
<ns2:AddressPurpose>
<ns2:AddressId>300100032442943</ns2:AddressId>
<ns2:Purpose>PAY_TO</ns2:Purpose>
</ns2:AddressPurpose>
</ns1:address>
</ns1:updateAddress>
</soap:Body>
</soap:Envelope>
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
49
Contents
<ns2:SourceSystemReferenceValue>ADD129103</ns2:SourceSystemReferenceValue>
</ns1:address>
</ns1:updateAddress>
</soap:Body>
</soap:Envelope>
Address ID
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:deleteAddress
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/addressServ
ice/types/">
<ns1:address
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/addressServ
ice/">
<ns2:AddressId>300100032442943</ns2:AddressId>
</ns1:address>
</ns1:deleteAddress>
</soap:Body>
</soap:Envelope>
Address Number
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:deleteAddress
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/addressServ
ice/types/">
<ns1:address
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/addressServ
ice/">
<ns2:AddressNumber>SBS00112</ns2:AddressNumber>
</ns1:address>
</ns1:deleteAddress>
</soap:Body>
</soap:Envelope>
50
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
How do I ? Managing Addresses Using the Simplified Sales Cloud Address Web Service
(AddressService)
Address SSR
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:deleteAddress
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/addressServ
ice/types/">
<ns1:address
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/addressServ
ice/">
<ns2:SourceSystem>DNB</ns2:SourceSystem>
<ns2:SourceSystemReferenceValue>ADDSSR01122</ns2:SourceSystemReferenceValu
e>
</ns1:address>
</ns1:deleteAddress>
</soap:Body>
</soap:Envelope>
Address ID
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
51
Contents
<soap:Body>
<ns1:mergeAddress
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/addressServ
ice/types/">
<ns1:address
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/addressServ
ice/">
<ns2:AddressId>300100032442943</ns2:AddressId>
<ns2:DoNotMailFlag>TRUE</ns2:DoNotMailFlag>
<ns2:Address1>400 Commerce at Mantri_using
merge</ns2:Address1>
<ns2:City>Bengaluru</ns2:City>
<ns2:Description>Updating the
Addressline1</ns2:Description>
<ns2:AddressPurpose>
<ns2:AddressId>300100032442943</ns2:AddressId>
<ns2:Purpose>BILL_TO</ns2:Purpose>
</ns2:AddressPurpose>
</ns1:address>
</ns1:mergeAddress>
</soap:Body>
</soap:Envelope>
Address Number
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:mergeAddress
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/addressServ
ice/types/">
<ns1:address
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/addressServ
ice/">
<ns2:AddressNumber>SBS129102</ns2:AddressNumber>
<ns2:DoNotMailFlag>TRUE</ns2:DoNotMailFlag>
<ns2:Address1>400 PTP UPDATE USING MERGE</ns2:Address1>
<ns2:City>BDVT</ns2:City>
<ns2:Description>Updating the
Addressline1</ns2:Description>
<ns2:AddressPurpose>
<ns2:AddressId>300100032442943</ns2:AddressId>
<ns2:Purpose>PAY_TO</ns2:Purpose>
</ns2:AddressPurpose>
</ns1:address>
</ns1:mergeAddress>
52
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
How do I ? Managing Relationships Using the Simplified Sales Cloud Relationship Web
Service
</soap:Body>
</soap:Envelope>
Payload to create a relationship between a contact to account with Primary key and Alt Key
Primary Key
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
53
Contents
<ns1:createRelationship
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/relationshi
pService/types/">
<ns1:relationship
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/relationshi
pService/">
<ns2:ObjectPartyId>300100039444422</ns2:ObjectPartyId>
<ns2:SubjectPartyId>300100039444433</ns2:SubjectPartyId>
<ns2:RelationshipType>CONTACT</ns2:RelationshipType>
<ns2:RelationshipCode>CONTACT_OF</ns2:RelationshipCode>
<ns2:StartDate>2020-11-17</ns2:StartDate>
<ns2:EndDate>2025-12-31</ns2:EndDate>
<ns2:CreatedByModule>HZ_WS</ns2:CreatedByModule>
<ns2:Comments>FUTURE DATE
RELATIONSHIP</ns2:Comments>
</ns1:relationship>
</ns1:createRelationship>
</soap:Body>
</soap:Envelope>
Alternate Key
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:createRelationship
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/relationshi
pService/types/">
<ns1:relationship
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/relationshi
pService/">
<ns2:RelationshipType>CONTACT</ns2:RelationshipType>
<ns2:RelationshipCode>CONTACT_OF</ns2:RelationshipCode>
<ns2:EndDate>2015-12-31</ns2:EndDate>
<ns2:CreatedByModule>HZ_WS</ns2:CreatedByModule>
<ns2:Comments>CURRENT DATE</ns2:Comments>
<ns2:SubjectPartyNumber>CDRM_414573</ns2:SubjectPartyNumber>
<ns2:ObjectPartyNumber>SBS_AACT_2171247</ns2:ObjectPartyNumber>
</ns1:relationship>
</ns1:createRelationship>
</soap:Body>
</soap:Envelope>
54
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
How do I ? Managing Relationships Using the Simplified Sales Cloud Relationship Web
Service
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
55
Contents
</ns1:findRelationship>
</soap:Body>
</soap:Envelope>
Primary Key
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:mergeRelationship
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/relationshi
pService/types/">
56
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
How do I ? Managing Relationships Using the Simplified Sales Cloud Relationship Web
Service
<ns1:relationship
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/relationshi
pService/">
<ns2:ObjectPartyId>300100039444655</ns2:ObjectPartyId>
<ns2:SubjectPartyId>300100039444544</ns2:SubjectPartyId>
<ns2:RelationshipType>MEMBERSHIP</ns2:RelationshipType>
<ns2:RelationshipCode>MEMBER_OF</ns2:RelationshipCode>
<ns2:StartDate>2030-11-17</ns2:StartDate>
<ns2:EndDate>2035-12-31</ns2:EndDate>
<ns2:CreatedByModule>HZ_WS</ns2:CreatedByModule>
<ns2:Comments>FUTURE DATE RELATIONSHIP WITH
CONTACT</ns2:Comments>
</ns1:relationship>
</ns1:mergeRelationship>
</soap:Body>
</soap:Envelope>
Alternate Key
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:mergeRelationship
xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/relationshi
pService/types/">
<ns1:relationship
xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/relationshi
pService/">
<ns2:RelationshipType>MEMBERSHIP</ns2:RelationshipType>
<ns2:RelationshipCode>MEMBER_OF</ns2:RelationshipCode>
<ns2:EndDate>2015-12-31</ns2:EndDate>
<ns2:CreatedByModule>HZ_WS</ns2:CreatedByModule>
<ns2:Comments>CURRENT DATE</ns2:Comments>
<ns2:SubjectPartyNumber>CDRM_414607</ns2:SubjectPartyNumber>
<ns2:ObjectPartyNumber>CDRM_415617</ns2:ObjectPartyNumber>
</ns1:relationship>
</ns1:mergeRelationship>
</soap:Body>
</soap:Envelope>
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
57
Contents
58
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
You can use an appropriate IDE to develop a proxy client on a platform of your choice
such as Java, .Net, or ASP to call Web services and integrate applications with Oracle
Sales Cloud using Web services. You can use any IDE that supports the SOAP standards
and conforms to WS Security 1.1 policies to develop the client application. You can
build a static proxy, dynamic proxy, or a dynamic-static proxy depending on your
business requirements.
Pros:
Proxy compiled at design time
Collection of classes usually generated (e.g. JAX-B), helps with the development
Quick and easy for POCs and implementations where the server contract
doesnt change dramatically, or uses standard fields
Cons
If a developer adds a field to the Oracle Sales Cloud then these fields are added
to the WSDL. Unless the proxy is re-generated then these fields wont be seen by
the code
The need to add new custom fields or custom child objects changes the payload
The need to integrate with multiple sales Cloud tenants, each having different
customizations
Publishing applications to Oracle Marketplace, you want to make sure your web
service works on everyone's tenant instance
Static Web Service proxies may not be able to manipulate new custom fields easily
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
59
Contents
4. In the Create Generic Project Dialog, specify the Project Name and Directory, and
then click Finish.
60
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Invoking A Simplified Web Service Using Web Service Proxy Clients Invoking A Simplified
Web Service Using A Static Proxy
7. Click OK.
8. In the Create Web Service Proxy wizard, click Next.
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
61
Contents
http://<crm_server:PortNumber>/crmCommonSalesParties/AccountService?
WSDL.
62
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Invoking A Simplified Web Service Using Web Service Proxy Clients Invoking A Simplified
Web Service Using A Static Proxy
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
63
Contents
Authentication
In order to authenticate to the Sales Cloud application, one of the 2 security policies
listed below have to be adhered to. The policies are managed by Oracle Web Services
Manager.
oracle/wss_username_token_over_ssl_client_policy
This policy includes credentials in the WS-Security UsernameToken header in the SOAP
request messages. The plain text mechanism is supported. The policy uses SSL for
achieving transport layer security.
The following is an example of an authentication mechanism to Sales Cloud. This is a
code snippet written in the Java programming language, demonstrating the
authentication code to login to a Fusion environment using the username token over SSL
policy. In order for this code snippet to run, the OWSM agent should be present and
64
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Invoking A Simplified Web Service Using Web Service Proxy Clients Authentication
oracle/wss11_username_token_with_message_protection_client_policy
One approach is to leverage the OWSM agent. In such an approach, a keystore needs
to be generated by the client and stored on the client machine. A keystore holds the
user alias, the appropriate keys and its corresponding values which are required in order
to authenticate to the Fusion environment.
The public Oracle certificate file can be obtained from the Fusion WSDL and can be
imported to the keystore under the rcpt-key-alias. The Oracle certificate file can be
imported to the keystore using the keytool commands listed below.
The client should store the keystore file to their local machine and reference the keystore
file in their client application in order to authenticate to the Fusion environment.
The following is an example of an authentication mechanism to Sales Cloud. This is a
code snippet written in the Java programming language, demonstrating the
authentication code to login to a Fusion environment using the username token with
message protection policy. In order for this code snippet to run, the OWSM agent should
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
65
Contents
be present and running. In this approach the OWSM agent is embedded in webLogic
11g or JDeveloper 11g.
For further information regarding extracting Oracle public certificate from a Fusion
WSDL, please refer to Appendix C: Extracting Oracle Public Certificate from Fusion WSDL
66
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Call the Sales Cloud Account service to create, update, find, and delete organization
accounts. Organization accounts contain the following information: organization
profile, sales profile, contact information (primary address, phone, fax, email and URL),
industry classification and account hierarchy. This service manages simple
organization accounts, and does not support organization accounts with additional
names and identifiers, multiple sets of addresses, contacts, industry classification
information, email and phone and resources associated with the sales profile.
Related Services:
Sales Cloud Address: This service can be used to add additional address to the
organization account, once it is created using the Sales Cloud Account service.
Sales Cloud Relationship: This service can be used, in combination with the Contact
service, to define additional contacts on the organization account, once it is
created using the Sales Cloud Account service.
Sales Party: This service is similar to the Sales Cloud Account service in that it creates
organization accounts. However, it is used for more complex organization accounts,
has prerequisite invocation steps, and has a more complex hierarchical service
interface rather than flattened structure. If organization account requirements are
met by the Sales Cloud Account service, then use the Sales Cloud Account service
because it is easier to use.
Sales Account Service: This service is used to add sales accounts to existing accounts
in a multiple sales account scenarios. Although this service name is similar, this
service is used for a different use case scenario.
Life Cycle
Active
QName
{http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/}AccountSer
vice
Relationships
Type
Relationship To
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
67
Type
Relationship To
Handles
Handles
Body Text
Body Text
Operations
Available Operations:
createAccount
deleteAccount
findAccount
getAccount
mergeAccount
processAccount
processCSAccount
updateAccount
createAccount
Creates an organization account and its primary address.
Life Cycle
Active
Request Payload
68
Element
Name
Type
Description
account
Sales
Cloud
Account
SDO
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Response Payload
Name
Type
Description
result
Sales
Cloud
Account
SDO
deleteAccount
Deletes an account and the relationship between the account and address objects
indicating the address is a primary address. The address object cannot be deleted
using this operation. To delete the address, use the Sales Cloud Address service.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
account
Sales
Cloud
Account
SDO
Response Payload
Name
Type
Description
result
MethodR
esult
Not applicable.
findAccount
Finds a list of accounts based matching the supplied criteria pertaining to the object.
Life Cycle
Active
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
69
Operations
Request Payload
Element
Name
Type
Description
findCriteria
FindCriteria
findControl
FindControl
Response Payload
Name
Type
Description
result
Sales
Cloud
Account
SDO
getAccount
Retrieves the account based on the primary key identifier.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
PartyId
Long
Response Payload
70
Name
Type
Description
result
Sales
Cloud
Account
SDO
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
mergeAccount
Merges an account with another account. The service updates the object if it exists, else
inserts the object.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
account
Sales
Cloud
Account
SDO
Response Payload
Name
Type
Description
result
AccountR
esult
Not applicable.
processAccount
Creates, updates, deletes, or merges a list of account rows. It performs the specified
operation on the accounts.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
changeOpera
tion
string
account
Sales
Cloud
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
71
Operations
Account
SDO
processContro
l
ProcessC
ontrol
Response Payload
Name
Type
Description
result
Sales
Cloud
Account
SDO
processCSAccount
Creates, updates, or deletes a list of accounts. The operation and objects depend on
the ChangeSummary object specified.
Life Cycle
Active
Request Payload
72
Element
Name
Type
Description
processData
ProcessD
ata
processContro
l
ProcessC
ontrol
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Response Payload
Name
Type
Description
result
ProcessD
ata
updateAccount
An operation to update an account and primary address. When updating the primary
address information it is not necessary to include the primary or alternate keys for the
primary address. There is a one-to-one correspondence between the account and
primary address. If the alternate keys SourceSystem and SourceSystemReferenceValue
in the primary address are specified and they do not match the values in the existing
primary address, then a new source system reference is created with the existing primary
address values and values specified in the request payload, and the primary address is
updated to point to the newly created address object.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
account
Sales
Cloud
Account
SDO
Response Payload
Name
Type
Description
result
AccountR
esult
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
73
Relationship To
Contains
Handled by
Type
AnalysisFiscalY
ear
Description
Properties
Creatable, Updateable
The fiscal year used as the source for financial
information.
BusinessReport
Properties
Creatable, Updateable
The Dun & Bradstreet business information report.
BusinessScope
string
Properties
Creatable, Updateable
The class of business to which the account
belongs, such as local, national, or international.
CEOName
string
Properties
Creatable, Updateable
74
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Account Simplified Web Services Interface Sales Cloud Account SDO
string
Properties
Creatable, Updateable
The formal title of the chief executive officer.
CertificationLe
vel
string
Properties
Creatable, Updateable
The certification level the organization. A list of
valid certification level codes is defined using the
lookup HZ_PARTY_CERT_LEVEL. Review the Review
and update the codes using the Setup and
Maintenance work area, Manage Trading
Community Common Lookups task.
CertificationR
easonCode
string
Properties
Creatable, Updateable
The reason for the contact's current certification
level assignment. A list of valid certification reason
codes are defined using the lookup
HZ_PARTY_CERT_REASON. Review and update the
codes using the Setup and Maintenance work
area, Manage Trading Community Common
Lookups task.
Comments
string
Properties
Creatable, Updateable
The corporate charter of the organization.
Congressional
DistrictCode
String
Properties
Creatable, Updateable
The U.S. Congressional district code for the
account.
ControlYear
Number
Properties
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
75
Creatable, Updateable
The year when current ownership gained control
of the organization.
CorpCurrency
Code
String
CorporationCl
ass
string
Properties
Creatable, Updateable
The taxation classification for corporation entities
such as Chapter S in the US.
CreatedBy
String
CreatedByMo
dule
String
Properties
Creatable
The module that created the account record.
76
CreationDate
Date
CurcyConvRa
teType
String
CurrencyCod
e
String
CurrentFiscalY
earPotentialR
evenueAmou
Number
Properties
Creatable, Updateable
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Account Simplified Web Services Interface Sales Cloud Account SDO
nt
The estimated revenues that can be earned by
the organization during its current fiscal year.
DataCloudSta
tus
String
Properties
Creatable, Updateable
The enrichment status of the contact record from
Data-as-a-Service. A list of valid values are defined
in the lookup DATA_CLOUD_STATUS. Review and
update the codes using the Setup and
Maintenance work area, Manage Standard
Lookups task.
Disadvantage
Indicator
boolean
Properties
Creatable, Updateable
Indicates whether the organization is considered
disadvantaged by the US government under Title
8A. If the value is Yes, the organization is
considered disadvantaged under Title 8A. The
default value is No.
DomesticUltim
ateDUNSNum
ber
number
Properties
Creatable, Updateable
The DUNS Number for the Domestic Ultimate. A
Domestic Ultimate is the highest member of the
same country in the organization's hierarchy. An
organization can be its own Domestic Ultimate.
DoNotConfus
eWith
string
Properties
Creatable, Updateable
Indicates that there is an organization that is
similarly named.
DUNSCreditRa
ting
string
Properties
Creatable, Updateable
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
77
number
Properties
Creatable, Updateable
The DUNS Number in freeform text format. The
value not restricted to nine digit number.
EmailAddress
string
Properties
Creatable, Updateable
The e-mail address of the contact point for the
organization.
EmailFormat
string
Properties
Creatable, Updateable
The preferred format for e-mail addressed to this
organization, such as HTML or ASCII.
EmployeesAtP
rimaryAddress
Number
Properties
Creatable, Updateable
The qualifier to calculate the estimated number of
employees at the primary address. A list of valid
qualifier codes are defined using the lookup
EMP_AT_PRIMARY_ADR_EST_IND. Review and
update the codes using the Setup and
Maintenance work area, Manage Trading
Community Common Lookups task.
EmployeesAtP
rimaryAddress
Estimation
String
Properties
Creatable, Updateable
The estimated minimum number of employees at
the primary address. A list of accepted values are
defined in the lookup type
EMP_AT_PRIMARY_ADR_MIN_IND. Review and
update the values using the Setup and
Maintenance work area, Manage Trading
78
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Account Simplified Web Services Interface Sales Cloud Account SDO
Number
Properties
Creatable, Updateable
The qualifier to qualify calculation of employees at
the primary address as minimum.
EmployeesAtP
rimaryAddress
Text
String
Properties
Creatable, Updateable
The number of employees at the referenced
address in text format.
EmployeesTot
al
Number
Properties
Creatable, Updateable
The total number of employees in the organization.
ExportIndicato
r
Boolean
Properties
Creatable, Updateable
Indicates whether the organization is an exporter.
If the value is Y, then the organization is an
exporter. The default value is N.
FaxAreaCode
Number
Properties
Creatable, Updateable
The area code for the fax number.
FaxCountryCo
de
Number
Properties
Creatable, Updateable
The international country code for a fax number,
such as 33 for France.
FaxExtension
Number
Properties
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
79
Creatable, Updateable
The extension to the fax number of the
organization.
FaxNumber
Number
Properties
Creatable, Updateable
The fax number of the organization in the local
format. The number should not include area code,
country code, or extension.
FiscalYearend
Month
String
Properties
Creatable, Updateable
The last month of a fiscal year for the organization.
The list of accepted values is defined in the lookup
type MONTH.
FormattedFax
Number
Number
FormattedPho
neNumber
Number
GeneralServic
esAdministrati
onFlag
Boolean
Properties
Creatable, Updateable
Indicates whether organization is a US federal
agency supported by the General Services
Administration (GSA). If the value is Y, then the
organization is supported by GSA. The default
value is N.
GlobalUltimat
eDUNSNumbe
r
Number
Properties
Creatable, Updateable
The DUNS Number for the Global Ultimate. A
Global Ultimate is the highest member in the
organization's hierarchy. An organization can be its
own Global Ultimate.
80
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Account Simplified Web Services Interface Sales Cloud Account SDO
GrowthStrateg
yDescription
String
Properties
Creatable, Updateable
The user-defined description of growth strategy.
HomeCountry
String
Properties
Creatable, Updateable
The home country of the organization.
HQBranchIndi
cator
String
Properties
Creatable, Updateable
The status of this site, such as HQ, a branch, or a
single location. A list of accepted values are
defined in the lookup type HQ_BRANCH_IND.
ImportIndicat
or
Boolean
Properties
Creatable, Updateable
Indicates whether the organization is an importer.
If the value is Y, then the organization is an
importer. The default value is N.
IndustryCode
String
Properties
Creatable, Updateable
The Industry classification code. The classification
codes are defined for every classification
category as specified in IndustryCodeType
attribute. Review and update the codes using the
Setup and Maintenance work area, Manage
Classification Categories task.
IndustryCodeT
ype
String
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
81
LaborSurplusIn
dicator
Boolean
Properties
Creatable, Updateable
Indicates whether the organization operates in an
area with a labor surplus. If the value is Y, then the
organization operates in an area with a labor
surplus. The default value is N.
LastEnrichmen
tDate
Date
Properties
Creatable, Updateable
The date when the record was last enriched.
LastUpdateDa
te
Date
LastUpdatedB
y
String
LastUpdateLo
gin
String
LegalStatus
String
Properties
Creatable, Updateable
The legal structure of the organization such as
partnership, corporation, and so on.
LineOfBusiness
String
Properties
Creatable, Updateable
The type of business activities performed at this
site.
LocalActivityC
ode
String
Properties
Creatable, Updateable
The local activity classification code.
LocalActivityC
82
String
Properties
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Account Simplified Web Services Interface Sales Cloud Account SDO
odeType
Creatable, Updateable
The local activity classification code type identifier.
LocalBusinessI
dentifier
String
Properties
Creatable, Updateable
The primary identifier assigned to a businesses by a
government agency such as Chamber of
Commerce, or other authority. It is often used by
countries other than USA.
LocalBusinessI
dentifierType
String
Properties
Creatable, Updateable
The lookup that represents most common business
identifier in a country such as Chamber of
Commerce Number in Italy, Government
Registration Number in Taiwan. A list of accepted
values is defined in the lookup type
LOCAL_BUS_IDEN_TYPE.
MinorityOwne
dIndicator
Boolean
Properties
Creatable, Updateable
Indicates whether the organization is primarily
owned by ethnic or racial minorities. If the value is
Y, then the organization is owned by ethnic or
racial minorities. The default value is N.
MinorityOwne
dType
String
Properties
Creatable, Updateable
The type of minority-owned firm.
MissionStatem
ent
String
Properties
Creatable, Updateable
The corporate charter of organization in user-
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
83
Boolean
Properties
Creatable, Updateable
Indicates if the sales account is a named sales
account. If the value is True, then the account is a
named account. The default value is False.
NextFiscalYear
PotentialReve
nueAmount
Number
Properties
Creatable, Updateable
The estimated revenue of the organization to be
earned during its next fiscal year.
OrganizationN
ame
String
Properties
Creatable, Required, Updateable
The name of the account.
OrganizationSi
ze
String
Properties
Creatable, Updateable
The size of an organization based on revenue,
number of employees, and so on. The accepted
values are defined in the lookup type
HZ_ORGANIZATION_SIZE.
OrganizationT
ype
String
Properties
Creatable, Updateable
The organization type value such as region,
division, and department.
OutOfBusinessI
ndicator
Boolean
Properties
Creatable, Updateable
Indicates whether the organization is out of
business. If the value is Y, then the organization is
84
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Account Simplified Web Services Interface Sales Cloud Account SDO
String
Properties
Creatable, Updateable
The e-mail address of the employee resource that
owns and manages the sales account. The owner
is a valid employee resource defined within Sales
Cloud.
To assign an owner to the sales account, user can
provide one of the following attributes of the
resource: PartyID, PartyNumber or Email Address.
This is provided if user wants to change the owner
of the account or create account with a different
owner than the login user. If provided then
OwnerPartyID, OwnerPartyNumber, and
OwnerEmailAddress are used in this order to
determine the owner of the account.
OwnerPartyId
String
Properties
Creatable, Updateable
The unique identifier of a valid employee resource
who owns and manages the sales account.
To assign an owner to the sales account, user can
provide one of the following attributes of the
resource: PartyID, PartyNumber or Email Address.
This is provided if user wants to change the owner
of the account or create account with a different
owner than the login user. The OwnerPartyID,
OwnerPartyNumber, and OwnerEmailAddress are
used in this order to determine the owner for the
account.
During create, if OwnerPartyID,
OwnerPartyNumber or OwnerEmailAddress are not
provided, then the account is assigned by default
to the login user's partyID.
OwnerPartyNu
mber
Number
Properties
Creatable, Updateable
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
85
String
Properties
Creatable, Updateable
The party Id of the parent account within the
hierarchy. To assign a parent account to a sales
account, you must provide the parent account's
party ID, party number, or source system
reference.
ParentAccoun
tPartyNumber
Number
Properties
Creatable, Updateable
The party number of the parent account within the
hierarchy.
To assign a parent account to the given account,
provide parent account's Party Id, PartyNumber, or
Source System Reference and SourceSystem. The
account hierarchy is updated based on the
identified parent account.
ParentAccoun
tSourceSystem
String
Properties
Creatable, Updateable
The source system of the parent account within
the hierarchy.
86
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Account Simplified Web Services Interface Sales Cloud Account SDO
String
Properties
Creatable, Updateable
The source system reference of the parent
account within the hierarchy.
To assign a parent account to an account,
provide the parent account's Party ID,
PartyNumber, or Source System Reference and
SourceSystem.
The account hierarchy is updated based on the
identified parent account.
ParentDUNSN
umber
Number
Properties
Creatable, Updateable
The DUNS Number of the organization or the
parent entity that owns a majority stake of the
organization's capital stock. The parent entity can
be a subsidiary of another corporation. If the
parent also has branches, then it is regarded as
headquarters as well as a parent company.
A headquarters is a business establishment that
has branches or divisions reporting to it, and is
financially responsible for those branches or
divisions. If the headquarters has more than 50% of
capital stock owned by another corporation, it
also will be a subsidiary. If it owns more than 50% of
capital stock of another corporation, then it is also
a parent.
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
87
ParentOrSubsi
diaryIndicator
String
Properties
Creatable, Updateable
Indicates whether the organization is a parent or
subsidiary.
PartyId
String
PartyNumber
String
Properties
Creatable, Updateable
The unique alternate identifier for the account
party. You can update the value if the profile
option HZ_GENERATE_PARTY_NUMBER is set to True.
The default value is a concatenation of the value
specified in the profile option ZCA_PUID_PREFIX
and a unique system generated sequence
number.
PartyStatus
String
PartyUniqueN
ame
String
PhoneAreaCo
de
Number
Properties
Creatable, Updateable
The area code for the telephone number.
PhoneCountry
Code
Number
Properties
Creatable, Updateable
The international country code for a telephone
88
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Account Simplified Web Services Interface Sales Cloud Account SDO
Number
Properties
Creatable, Updateable
The extension to the phone number of the
organization.
PhoneNumber
Number
Properties
Creatable, Updateable
The phone number of the organization in the local
format. The number should not include area code,
country code, or extension.
PreferredCont
actMethod
String
Properties
Creatable, Updateable
The preferred contact method of the organization.
The accepted values are defined in the lookup
type HZ_PREFERRED_CONTACT_METHOD. Review
and update the codes using the Setup and
Maintenance work area, Manage Trading
Community Common Lookups task.
PreferredFunc
tionalCurrenc
y
String
Properties
Creatable, Updateable
The organization's default currency code. A list of
valid currency codes are defined during the
application setup.
PrimaryAddres
s
String
Properties
Creatable, Updateable
The primary address of the account.
PrincipalNam
e
String
Properties
Creatable, Updateable
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
89
String
Properties
Creatable, Updateable
The title of the highest ranking person in the
organization.
PublicPrivate
OwnershipFla
g
Boolean
Properties
Creatable, Updateable
Indicates whether the organization is publically or
privately owned. If the value is Y, then the
organization is a privately owned organization. The
default value is N.
RegistrationTy
pe
String
Properties
Creatable, Updateable
Indicates the type of registration, such as
nonprofit. The accepted values are defined in the
lookup type REGISTRATION_TYPE.
RentOrOwnIn
dicator
String
Properties
Creatable, Updateable
Indicates if this contact owns or rents his or her
residence. A list of valid values for rent, own, and
lease are defined in the lookup OWN_RENT_IND.
Review and update the codes using the Setup
and Maintenance work area, Manage Standard
Lookups task.
SiebelLocatio
n
String
Properties
Creatable, Updateable
The location of account. This is an optional part of
User Primary Key.
90
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Account Simplified Web Services Interface Sales Cloud Account SDO
SmallBusinessI
ndicator
Boolean
Properties
Creatable, Updateable
Indicates whether the organization is considered
as a small business. If the value is Y, then the
organization is considered as a small business. The
default value is N.
SourceSystem
String
Properties
Creatable
The name of external source system where the
account party is imported from. The values
configured in setup task Trading Community
Source System.
SourceSystem
ReferenceVal
ue
String
Properties
Creatable
The unique identifier for the account party from
the external source system specified in the
attribute SourceSystem.
StockSymbol
String
Properties
Creatable, Updateable
The corporate stock symbol of the organization as
listed in stock exchanges.
TaxpayerIdent
ificationNumb
er
String
Properties
Creatable, Updateable
The taxpayer identification number that is often a
unique identifier of the organization, such as
income taxpayer Id in USA and fiscal code or NIF
in Europe.
TotalEmploye
esEstimatedIn
dicator
String
Properties
Creatable, Updateable
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
91
String
Properties
Creatable, Updateable
Indicates if subsidiaries are included in the
calculation of total employees. The accepted
values are defined in the lookup type
TOTAL_EMPLOYEES_INDICATOR.
TotalEmploye
esMinimumInd
icator
String
Properties
Creatable, Updateable
Indicates if the number is a minimum, maximum, or
average number of total employees. The
accepted values are defined in the lookup type
TOTAL_EMP_MIN_IND.
TotalEmploye
esText
String
Properties
Creatable, Updateable
The total number of employees in text format.
TotalPayment
Amount
Number
Properties
Creatable, Updateable
The total amount of payment collected from the
organization.
Type
String
Properties
Creatable, Updateable
The account type that defines if the account is a
sales account or a prospect or any other party
type. The accepted values are defined in the
lookup type ZCA_ACCOUNT_TYPE. It is defaulted to
ZCA_CUSTOMER if no value is provided.
92
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Account Simplified Web Services Interface Sales Cloud Account SDO
UniqueNameS
uffix
String
Properties
Creatable, Updateable
The suffix used to generate the attribute
PartyUniqueName. The suffix is concatenated to
the OrganizationName attribute to generate the
PartyUniqueName. The primary address is
defaulted as the suffix.
URL
String
Properties
Creatable, Updateable
The uniform resource locator or a website
containing information about the organization.
WomanOwne
dIndicator
String
Properties
Creatable, Updateable
Indicates whether the organization is primarily
owned by women. If the value is Y, then the
organization is primarily owned by women. The
default value is N.
YearEstablishe
d
Number
Properties
Creatable, Updateable
The year that the organization started it business
operations.
YearIncorpora
ted
String
Properties
Creatable, Updateable
The year that the business was formally
incorporated.
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
93
Call the Sales Cloud Contact service (ContactService) to create, update, retrieve, and
delete contacts. The service includes attributes related to contact profile, sales profile,
contact information, such as primary address, phone, fax, e-mail and URL, and
classification. This service covers all frequently used operations for contact. However, this
service does not support relationships, additional address, contact preferences, and
multiple instances of other child objects such as additional names, identifiers,
classification, phone, fax, e-mail, etc.
Related Services:
Sales Location and Person Service: Service to manage contacts and their
addresses.
Sales Party: Service similar to the Sales Cloud Account service that creates
organization accounts. However, it is used for more complex organization
accounts, has prerequisite invocation steps, and has a more complex
hierarchical service interface rather than flattened structure. If organization
account requirements are met by the Sales Cloud Account service, then use the
Sales Cloud Account service because it is easier to use.
Life Cycle
Active
QName
{http://xmlns.oracle.com/apps/crmCommon/salesParties/contactService/}ContactServi
ce
Relationships
Type
Relationship To
Handles
Handles
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
95
Operations
Operations
Available Operations:
getContact
createContact
updateContact
deleteContact
mergeContact
findContact
processContact
processCSContact
getContact
Retrieves the contact based on the primary key identifier.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
PartyId
long
Response Payload
96
Name
Type
Description
result
Sales
Cloud
Contact
SDO
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
createContact
Creates a contact and its primary address.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
contact
Sales Cloud
Contact SDO
Response Payload
Name
Type
Description
result
{http://xmlns.orac
le.com/apps/crm
C
ommon/salesParti
es/contactServic
e/
}ContactResult
updateContact
Updates a contact and its primary address. When updating the primary address
information it is not necessary to include the primary or alternate keys for the primary
address. There is a one-to-one correspondence between the contact and primary
address. If the alternate keys SourceSystem and SourceSystemReferenceValue in the
primary address are specified and they do not match the values in the existing primary
address, then no new address object is created. However, new SourceSystem or
SourceSystemReferenceValue are created for the existing primary address.
Life Cycle
Active
Request Payload
Element
Type
Description
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
97
Operations
Name
contact
Sales
Cloud
Contact
SDO
Response Payload
Name
Type
Description
result
{http://xm
lns.oracle.
com/app
s/crmC
ommon/s
alesPartie
s/contact
Service/
}Contact
Result
deleteContact
Deletes a contact and the relationship between the contact and address objects
indicating the address is a primary address. The address object cannot be deleted
using this operation. To delete the address, use the Sales Cloud Address service.
Life Cycle
Active
Request Payload
98
Element
Name
Type
Description
contact
Sales
Cloud
Contact
SDO
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Response Payload
Name
Type
result
{http://xm
lns.oracle.
com/adf/
svc/type
Description
s/}Metho
dResult
mergeContact
Performs a merge on the contact. It will perform an update if the object exists or an
insert if the object doesn't exist.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
contact
Sales
Cloud
Contact
SDO
Response Payload
Name
Type
Description
result
{http://xm
lns.oracle.
com/app
s/crmC
ommon/s
alesPartie
s/contact
Service/
}Contact
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
99
Operations
Result
findContact
Finds a list of contacts based on matching the supplied criteria pertaining to the object.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
findCriteria
{http://xm
lns.oracle.
com/adf/
svc/type
s/}FindCrit
eria
findControl
{http://xm
lns.oracle.
com/adf/
svc/type
s/}FindCo
ntrol
Response Payload
Name
Type
Description
result
Sales
Cloud
Contact
SDO
processContact
Performs a create, update, delete, or merge operation on a list of contact rows. It
performs the specified operation on the contacts.
100
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Life Cycle
Active
Request Payload
Element
Name
Type
Description
changeOpera
tion
string
contact
Sales
Cloud
Contact
SDO
Properties
Unbounded
A list of contact to be processed.
processContro
l
{http://xm
lns.oracle.
com/adf/
svc/type
s/}Process
Control
Response Payload
Name
Type
Description
result
Sales
Cloud
Contact
SDO
processCSContact
Performs a create, update, or delete operation on a list of contact rows. The operation
and objects depend on the ChangeSummary object specified.
Life Cycle
Active
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
101
Request Payload
Element
Name
Type
Description
processData
{http://xm
lns.oracle.
com/adf/
svc/type
s/}Process
Data
processContro
l
{http://xm
lns.oracle.
com/adf/
svc/type
s/}Process
Control
Response Payload
Name
Type
Description
result
{http://xm
lns.oracle.
com/adf/
svc/type
s/}Process
Data
102
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Contact Simplified Web Services Interface Sales Cloud Contact SDO
Relationships
Type
Relationship To
Contains
Handled by
Type
Description
AcademicTitle
string
Properties
Creatable, Updateable
The part of the persons title that denotes the
academic qualification, such as Dr. Jane Smith.
AccountName
string
AccountPartyId
long
Properties
Creatable, Updateable
The unique identifier of sales account that this
contact belongs to. To specify the account for a
contact, you can provide an Account's party ID,
PartyNumber, SourceSystem, or
SourceSystemReference.
AccountPartyNu
mber
string
Properties
Creatable, Updateable
The party number of the sales account that this
contact belongs to. To specify the account for a
contact, you can provide an Account's party ID,
PartyNumber, SourceSystem, or
SourceSystemReference.
AccountSourceSy
stem
string
Properties
Creatable, Updateable
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
103
string
Properties
Creatable, Updateable
The source system reference value of the sales
account that this contact belongs to. To specify
the account for a contact, you can provide an
Account's party ID, PartyNumber, SourceSystem, or
SourceSystemReference.
AssignmentExcep
tionFlag
boolean
Properties
Creatable, Updateable
Indicates whether the sales account has the
required dimensions to allow assignment manager
to assign territories to the sales account. If the
value is True, then the sales account has the
required dimensions. The default is false.
CertificationLevel
string
Properties
Creatable, Updateable
The certification level of a contact. A list of
accepted values are defined in the lookup
HZ_PARTY_CERT_LEVEL. Review and update the
value for this attribute using the Setup and
Maintenance work area, Manage Trading
Community Common Lookups task.
CertificationReas
onCode
string
Properties
Creatable, Updateable
The reason for the contact's current certification
level assignment. A list of accepted values are
defined using the lookup HZ_PARTY_CERT_REASON.
Review and update the value for this attribute
104
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Contact Simplified Web Services Interface Sales Cloud Contact SDO
string
Properties
Creatable, Updateable
A valid classification category code for the
contact. This is defined by an admin and is marked
as primary.
ClassificationCod
e
string
Properties
Creatable, Updateable
A valid classification code corresponding to the
classification category, which is marked as
primary.
Comments
string
Properties
Creatable, Updateable
The textual comments about a contact.
ContactIsPrimaryF
orAccount
string
Properties
Creatable, Updateable
The preferred contact for the account.
ContactName
string
Properties
Creatable, Updateable
The derived name of the contact.
ContactUniqueN
ame
string
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
105
CorpCurrencyCo
de
string
CreatedBy
string
CreatedByModul
e
string
Properties
Creatable
The application module that created this contact
record. The default value for CreatedByModule is
HZ_WS for all Web service based creation.
A list of accepted values is defined in the lookup
type HZ_CREATED_BY_MODULES. Review and
update the value for this attribute using the Setup
and Maintenance task work area, Manage
Trading Community Common Lookups task.
106
CreationDate
timestamp
CurcyConvRateTy
pe
string
CurrencyCode
string
DataCloudStatus
string
Properties
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Contact Simplified Web Services Interface Sales Cloud Contact SDO
Creatable, Updateable
The enrichment status of the contact record from
Data cloud. A list of accepted values are defined
in the lookup DATA_CLOUD_STATUS. Review and
update the value for this attribute using the Setup
and Maintenance work area, Manage Standard
Lookups task.
DateOfBirth
date
Properties
Creatable, Updateable
The date when the person was born.
DateOfDeath
date
Properties
Creatable, Updateable
The date when the person died.
DeceasedFlag
boolean
Properties
Creatable, Updateable
Indicates whether the person is deceased or not. If
the value is True, then the person is deceased. The
default is False.
DeclaredEthnicity
string
Properties
Creatable, Updateable
The declared ethnicity of the person.
Department
string
Properties
Creatable, Updateable
The free form text used to name the department
for the contact.
DepartmentCode
string
Properties
Creatable, Updateable
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
107
boolean
Properties
Creatable, Updateable
Indicates if the user can call the person or not. If
the value is True, then the user must not call the
person. The default is False.
A list of accepted values is defined using the
lookup YES_NO. Review and update the value for
this attribute using the Setup and Maintenance
work area, Manage Common Lookups task.
DoNotContactFla
g
boolean
Properties
Creatable, Updateable
Indicates if the user can contact the person or not
by phone, e-mail, or mail. If the value is True, then
the user must not contact the person. The default
is False.
A list of accepted values is defined using the
lookup YES_NO. Review and update the value for
this attribute using the Setup and Maintenance
work area, Manage Common Lookups task.
DoNotEmailFlag
boolean
Properties
Creatable, Updateable
Indicates if the user can e-mail the person or not. If
the value is True, then the user must not contact
the person by e-mail. The default is False.
A list of accepted values is defined using the
lookup YES_NO. Review and update the value for
this attribute using the Setup and Maintenance
work area, Manage Common Lookups task.
108
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Contact Simplified Web Services Interface Sales Cloud Contact SDO
DoNotMailFlag
boolean
Properties
Creatable, Updateable
Indicates if the user can send mail to the person or
not. If the value is True, then the user must not
contact the person by mail. The default is False.
A list of accepted values is defined using the
lookup YES_NO. Review and update the value for
this attribute using the Setup and Maintenance
work area, Manage Common Lookups task.
EmailAddress
string
Properties
Creatable, Updateable
The e-mail address of the contact point.
EmailFormat
string
Properties
Creatable, Updateable
The preferred format for e-mail addressed to this
address such as HTML or ASCII. A list of accepted
values is defined using the lookup EMAIL_FORMAT.
Review and update the value for this attribute
using the Setup and Maintenance work area,
Manage Standard Lookups task.
ExistingCustomerFl
ag
boolean
Properties
Creatable, Updateable
Indicates whether there is an existing selling or
billing relationship with the sales account. If the
value is true, then there is an existing relationship
with the sales account. The default value is False.
Such relationships are defined by the existence of
a Sell_To or Bill_To address.
ExistingCustomerFl
agLastUpdateDat
e
boolean
Properties
Creatable, Updateable
The date when the ExistingCustomerFlag was last
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
109
boolean
Properties
Creatable, Updateable
Indicates whether the person is a key contact. If
the value is true, then person is a key contact. The
default value is False.
FaxAreaCode
string
Properties
Creatable, Updateable
The area code within a country code.
FaxCountryCode
string
Properties
Creatable, Updateable
The international country code for a telephone
number, such as 33 for France.
FaxExtension
string
Properties
Creatable, Updateable
The additional number addressed after initial
connection to an internal telephone system.
FaxNumber
string
Properties
Creatable, Updateable
A telephone number formatted in the local format
without the area code, country code, or
extension.
FirstName
string
Properties
Creatable, Updateable
First name of the person.
110
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Contact Simplified Web Services Interface Sales Cloud Contact SDO
FormattedFaxNu
mber
string
FormattedMobile
Number
string
FormattedWorkPh
oneNumber
string
Gender
string
Properties
Creatable, Updateable
The gender of the person, such as male, female,
and unknown. A list of accepted values are
defined in the lookup HZ_GENDER. Review and
update the value for this attribute using the Setup
and Maintenance work area, Manage Standard
Lookups task.
HeadOfHousehol
dFlag
boolean
Properties
Creatable, Updateable
Indicates if the person is the head of the
household. If the value is True, then the person is
the head of the household. The default value is
False.
HomePhoneArea
Code
string
Properties
Creatable, Updateable
The area code within a country code.
HomePhoneCoun
tryCode
string
Properties
Creatable, Updateable
The international country code for a telephone
number, such as 33 for France.
HomePhoneNum
ber
string
Properties
Creatable, Updateable
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
111
string
Properties
Creatable, Updateable
The income of the household that this person is a
part of.
HouseholdSize
bigdecimal
Properties
Creatable, Updateable
The size of the household this person is a part of.
Initials
string
Properties
Creatable, Updateable
The initials in the contacts name.
JobTitle
string
Properties
Creatable, Updateable
The free form text for job title.
JobTitleCode
string
Properties
Creatable, Updateable
The code given to the job title.
LastAssignmentD
ate
timestamp
Properties
Creatable, Updateable
The date when the Sales Account Territory
Assignment was last run by Assignment Manager.
LastAssignmentD
112
timestamp
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Contact Simplified Web Services Interface Sales Cloud Contact SDO
ateTime
LastContactDate
Manager.
timestamp
Properties
Creatable, Updateable
The date when the contact was last contacted.
LastEnrichmentDa
te
date
Properties
Creatable, Updateable
The date when the contact record was last
enriched with data from external sources by using
Data-as-a-Service.
LastName
string
Properties
Creatable, Updateable
The last name of the person.
LastNamePrefix
string
Properties
Creatable, Updateable
The prefix for the last name of a person, such as
fon, van. For example, if a persons name is Hans
Van, the last name of the person is captured using
this attribute.
LastUpdateDate
timestamp
LastUpdatedBy
string
LastUpdateLogin
string
MaritalStatus
string
Properties
Creatable, Updateable
The marital status of the person. A list of accepted
values is defined in the lookup MARITAL_STATUS.
Review and update the value for this attribute
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
113
date
Properties
Creatable, Updateable
The date when the person's marital status was
changed.
MiddleName
string
Properties
Creatable, Updateable
The middle name of the person.
MobileAreaCode
string
Properties
Creatable, Updateable
The area code for the contact's mobile phone.
MobileCountryCo
de
string
Properties
Creatable, Updateable
The international country code for a contacts
mobile phone number, such as 33 for France.
MobileExtension
string
Properties
Creatable, Updateable
The additional number addressed after initial
connection to an internal telephone system.
MobileNumber
string
Properties
Creatable, Updateable
The mobile phone number formatted in the local
format. The number should not include area code,
country code, or extension.
MyBusinessConta
114
boolean
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Contact Simplified Web Services Interface Sales Cloud Contact SDO
ct
NamedFlag
string
Properties
Creatable, Updateable
Indicates whether a sales account is a named
sales account. If the value is true, then the sales
account is a named sales account. The default
value is False.
NameSuffix
string
Properties
Creatable, Updateable
The place in a family structure. For example, in
"Tom Jones III", the "III".
Note
string
Properties
Creatable, Updateable
The note about the contact.
OwnerEmailAddr
ess
string
Properties
Creatable, Updateable
The e-mail address of a valid employee resource
who owns and manages the sales account. To
assign an owner to the sales account, user can
provide one of the following attributes pertaining
to the owner: PartyID, PartyNumber or E-mail
Address. This is provided if user wants to change
the owner of the contact or create contact with a
different owner than the login user. If provided,
then OwnerPartyID, OwnerPartyNumber, and
OwnerEmailAddress are honored in this order to
determine the owner for the contact.
OwnerName
string
OwnerPartyId
long
Properties
Creatable, Updateable
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
115
string
Properties
Creatable, Updateable
The party number of a valid employee resource
who owns and manages the sales account. To
assign an owner to the sales account, user can
provide one of the following attributes pertaining
to the owner: PartyID, PartyNumber, or E-mail
Address. This is provided if user wants to change
the owner of the contact or create contact with a
different owner than the login user. If provided,
then OwnerPartyID, OwnerPartyNumber, and
OwnerEmailAddress are honored in this order to
determine the owner for the contact.
PartyId
long
Keys
Primary Key
The unique internal identifier of a contact party.
One of PartyId, PartyNumber or PartySourceSystem
and PartySourceSystemReferenceValue keys is
required to uniquely identify the contact party.
PartyNumber
116
string
Keys
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Contact Simplified Web Services Interface Sales Cloud Contact SDO
Alternate Key
Label
Registry ID (this would show when UI hint is
specified)
Properties
Updateable, Creatable
The unique alternate identifier for the contact
party. The default value for PartyNumber is the
value specified in the profile option
HZ_GENERATE_PARTY_NUMBER. You can update
the PartyNumber depending on the profile option
HZ_GENERATE_PARTY_NUMBER. A list of accepted
values is defined in the profile option
HZ_GENERATE_PARTY_NUMBER. Review and
update the value for this attribute using the Setup
and Maintenance work area, Manage Trading
Community Common Profile Options task.
PartyStatus
string
PersonalIncomeA
mount
string
Properties
Creatable, Updateable
The estimated gross annual income of the person.
PlaceOfBirth
string
Properties
Creatable, Updateable
The place where the person was born, such as city
or country.
PreferredContact
Method
string
Properties
Creatable, Updateable
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
117
string
Properties
Creatable, Updateable
The default currency code for this contact. A list of
accepted values is defined using the Setup and
Maintenance work area, Manage Currencies task.
PreviousLastNam
e
string
Properties
Creatable, Updateable
The previous last name or surname of the person.
PrimaryAddress
string
Properties
Creatable, Updateable
The primary address of the contact.
RecordSet
string
Properties
Creatable, Updateable
The search results displayed under the selected
record set.
RentOrOwnIndica
tor
string
Properties
Creatable, Updateable
Indicates if this contact owns or rents his or her
residence. A list of valid values for rent, own, and
lease is defined in the lookup OWN_RENT_IND.
Review and update the value for this attribute
using the Setup and Maintenance work area,
Manage Standard Lookups task.
118
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Contact Simplified Web Services Interface Sales Cloud Contact SDO
SalesAffinityCode
string
Properties
Creatable, Updateable
The affinity of a contact to the deploying
organization. A list of accepted values are defined
in the lookup HZ_SLS_CNTCT_AFFINITY_CODE.
Review and update the value for this attribute
using the Setup and Maintenance work area,
Manage Contact Lookups task.
SalesBuyingRoleC
ode
string
Properties
Creatable, Updateable
The roles played by a contact in the buying
process, for example, decision maker or supporting
role. A list of accepted values is defined in the
lookup HZ_SLS_CNTCT_BUY_ROLE_CODE. Review
and update the values for this attribute using the
Setup and Maintenance work area, Manage
Contact Lookups task.
SalesProfileStatus
string
Properties
Creatable, Updateable
A valid user defined status of the sales account.
SalesTeamMemb
er
string
Properties
Creatable, Updateable
The unique alternate identifier of the sales team
member.
Salutation
string
Properties
Creatable, Updateable
The size of the household this person is a part of.
SalutoryIntroducti
on
string
Properties
Creatable, Updateable
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
119
string
Properties
Creatable, Updateable
The second last name for a person. A list of
accepted values is defined in the lookup
HZ_PERSON_PROFILES. Review and update the
value for this attribute using the Setup and
Maintenance work area, Manage Standard
Lookups task.
SourceSystem
string
Keys
Composite Alternate Key [SourceSystem and
SourceSystemReference]
Properties
Creatable
The name of external source system where the
contact party is imported from. The values are
configured in Setup and Maintenance work area,
Manage Trading Community Source Systems task.
SourceSystemRef
erenceValue
string
Keys
Composite Alternate Key [SourceSystem,
SourceSystemReference]
Properties
Creatable
The alternate unique identifier for the contact
party from the external source system specified in
the attribute SourceSystem.
120
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Contact Simplified Web Services Interface Sales Cloud Contact SDO
TaxpayerIdentific
ationNumber
string
Properties
Creatable, Updateable
The taxpayer identification number, which is often
a unique identifier of the contact. The typical
values are taxpayer Id in USA or fiscal code or NIF
in Europe.
Title
string
Properties
Creatable, Updateable
A professional or family title, such as Don or The
Right Honorable.
Type
string
Properties
Creatable, Updateable
The contact party type that defines whether the
contact is a sales account, a prospect, a contact
or any other user-defined party type. The default
value is ZCA_CUSTOMER. A list of accepted values
is defined in the lookup ZCA_CONTACT_TYPE.
Review and update the value for this attribute
using the Setup and Maintenance work area,
Manage Standard Lookups task.
UniqueNameSuffi
x
string
Properties
Creatable, Updateable
The system generated or manually overridden
suffix. The suffix is used to generate the
PartyUniqueName attribute and is concatenated
to the ContactName attribute to generate the
PartyUniqueName. The primary address is
defaulted as the suffix.
WorkPhoneAreaC
ode
string
Properties
Creatable, Updateable
The area code for the contact's work phone.
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
121
WorkPhoneCount
ryCode
string
Properties
Creatable, Updateable
The international country code for a contacts
work phone number, such as 33 for France.
WorkPhoneExtensi
on
string
Properties
Creatable, Updateable
The additional number addressed after initial
connection to an internal telephone system.
WorkPhoneNumb
er
string
Properties
Creatable, Updateable
The work phone number formatted in the local
format without the area code, country code, or
extension.
122
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Call the Sales Cloud Household service (HouseholdService) to create, update, find, and
delete the parties of type household. A household is a group that has accounts or
contacts as its members. This service covers attributes related to household profile, sales
profile, contact information (primary address, phone, and e-mail) and industry
classification. It does not support attributes for additional names and identifiers or
multiple sets of addresses, industry classifications, e-mail and phone numbers or
additional resources associated with the sales profile.
Related Services:
Sales Cloud Address: This service can be used to add additional address to an
existing household.
Sales Cloud Relationship: This service is used with the contact service to define
members or contacts for a household. It can be used with the account service to
define members for a household.
Trading Community Location Service and Trading Community Group Service: These
services are used to manage households and their addresses.
Life Cycle
Active
QName
{http://xmlns.oracle.com/apps/crmCommon/salesParties/householdService/}Household
Service
Relationships
Type
Relationship To
Handles
Handles
Operations
Available Operations:
getHousehold
createHousehold
updateHousehold
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
123
deleteHousehold
mergeHousehold
findHousehold
processHousehold
processCSHousehold
Operations
getHousehold
Retrieves the household based on the primary key identifier.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
PartyId
long
Response Payload
Name
Type
Description
Return
Sales
Cloud
Househol
d SDO
createHousehold
Creates a household and, optionally, its primary address.
Life Cycle
Active
Request Payload
124
Element
Name
Type
Description
household
Sales
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Cloud
Househol
d SDO
Response Payload
Name
Type
Description
result
{http://xmlns.o
racle.com/ap
ps/crmComm
on/salesPartie
s/householdSe
rvice/}Househ
oldResult
updateHousehold
Updates a household and its primary address. When updating the primary address
information it is not necessary to include the primary or alternate keys for the primary
address. There is a one-to-one correspondence between the account and primary
address. SourceSystem and SourceSystemReferenceValue are the alternate keys. If
SourceSystem and SourceSystemReferenceValue in the primary address are specified
and they dont match the values in the existing primary address, then a new
SourceSystem/SourceSystemReferenceValue gets created for the existing primary
address.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
household
Sales
Cloud
Househol
d SDO
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
125
Operations
Response Payload
Name
Type
Description
Result
{http://xmlns.or
acle.com/apps
/crmC
ommon/salesPa
rties/householdS
erv
ice/}Household
Result
deleteHousehold
Deletes a household and its relationship with the primary address. The address object
can't be deleted using this operation. You can use the Sales Cloud Address service to
delete an address.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
household
Sales
Cloud
Househol
d SDO
Response Payload
Name
Type
Description
Result
{http://xmlns.orac
le.com/adf/svc/ty
pe
Not applicable.
s/}MethodResult
126
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
mergeHousehold
Merges the household and updates the record. If the household doesnt exist, then the
operation inserts the household.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
household
Sales
Cloud
Househol
d SDO
Response Payload
Name
Type
Description
result
{http://xmlns.ora
cle.com/apps/cr
mC
ommon/salesPar
ties/householdSe
rv
ice/}HouseholdR
esult
findHousehold
Finds a list of households matching the supplied criteria pertaining to the object.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
127
findCriteria
{http://xmlns.
oracle.com/
adf/svc/type
Operations
s/}FindCriteria
findControl
{http://xmlns.
oracle.com/
adf/svc/type
s/}FindContro
l
Response Payload
Name
Type
Description
result
Sales
Cloud
Househol
d SDO
processHousehold
Performs bulk load operation for household.
Life Cycle
Active
Request Payload
128
Element Name
Type
Description
changeOperat
ion
String
household
Sales
Cloud
Househol
d SDO
processControl
{http://x
mlns.ora
cle.com/
adf/svc/t
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
ype
s/}Proces
sControl
Response Payload
Name
Type
Description
Result
Sales
Cloud
Househol
d SDO
processCSHousehold
Creates, updates, deletes, or merges a list of households. It performs the specified
operation on the households.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
processDat
a
{http://xmlns
.oracle.com
/adf/svc/typ
e
s/}ProcessDa
ta
processCon
trol
{http://xmlns
.oracle.com
/adf/svc/typ
e
s/}ProcessC
ontrol
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
129
Response Payload
Name
Type
Description
result
{http://xm
lns.oracle.
com/adf/
svc/type
s/}Process
Data
Relationship To
Contains
Handled By
Type
Description
PartyId
long
Keys
Primary Key
The unique internal identifier of a household party.
This attribute is generated internally by the
application.
PartyNumber
130
strin
g
Keys
Alternate Key
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Household Simplified Web Services Interface Sales Cloud Household SDO
Label
Registry ID (this would show when UI hint is
specified)
Properties
Updateable, Creatable
The unique alternate identifier for the household
party. The default value is the value specified in
the profile option ZCA_PUID_PREFIX concatenated
with a unique generated sequence number. The
value is updateable depending on the profile
option HZ_GENERATE_PARTY_NUMBER. A list of valid
values is defined in the profile option
HZ_GENERATE_PARTY_NUMBER. Review and
update the codes using the Setup and
Maintenance work area, Manage Trading
Community Common Profile Options task.
AnnualIncome
long
Properties
Creatable, Updateable
The annual income of the household. If not
provided, then the value is NULL.
AssignmentExcepti
onFlag
bool
ean
Properties
Read-only
Indicates whether the sales account had the
required dimensions to allow assignment manager
to assign territories to the sales account. Possible
values are True or False.
AverageAge
long
Properties
Creatable, Updateable
The average age of the members of the
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
131
household.
CertificationLevel
strin
g
Properties
Creatable, Updateable
The certification level of a household. A list of valid
certification level codes is defined in the lookup
HZ_PARTY_CERT_LEVEL. Review and update the
codes using the Setup and Maintenance task,
Manage Trading Community Common Lookups.
CertificationReason
Code
strin
g
Properties
Creatable, Updateable
The reason for the household current certification
level assignment. A list of valid certification reason
codes are defined using the lookup
HZ_PARTY_CERT_REASON. Review and update the
codes using the Setup and Maintenance task,
Manage Trading Community Common Lookups.
Child0to6Number
long
Properties
Creatable, Updateable
The number of children in the household less than
6 years of age.
Child13to18Number
long
Properties
Creatable, Updateable
The number of children in the household between
13 and 18 years of age.
Child7to12Number
long
Properties
Creatable, Updateable
The number of children in the household between
7 and 12 year of age
ClassificationCateg
132
strin
Properties
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Household Simplified Web Services Interface Sales Cloud Household SDO
ory
Creatable, Updateable
A valid classification category code for the
household which will be marked as primary and is
defined by an admin.
ClassificationCode
Strin
g
Properties
Creatable, Updateable
A valid classification code corresponding to the
classification category and which will be marked
as primary.
Comments
Strin
g
Properties
Creatable, Updateable
The textual comments about the household.
CorpCurrencyCod
e
strin
g
CreatedBy
strin
g
CreationDate
strin
g
CurcyConvRateTyp
e
strin
g
CurrencyCode
strin
g
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
133
long
Properties
Creatable, Updateable
The number of dependents in the household.
EmailAddress
Strin
g
Properties
Creatable, Updateable
The e-mail address of the contact point.
EmailFormat
Strin
g
Properties
Creatable, Updateable
Indicates the preferred format for e-mail, such as
HTML or ASCII.
ExistingCustomerFla
g
Bool
ean
Properties
Read-only
Indicates whether there is an existing selling or
billing relationship with the sales account. If the
value is true, then there is an existing relationship
with the sales account. The default value is False.
ExistingCustomerFla
gLastUpdateDate
Dat
e
Properties
Read-only
The date when the ExistingCustomerFlag was last
modified. It is internally populated by the
application.
FormattedPhoneNu
mber
strin
g
The formatted phone number information.
134
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Household Simplified Web Services Interface Sales Cloud Household SDO
HouseholdName
Strin
g
Properties
Creatable, Updateable
The unique identification number for this party.
Data stored in this attribute comes from
PARTY_NUMBER in HZ_PARTIES.
HouseholdSize
Long
Properties
Creatable, Updateable
The size of the household or group.
LastAssignmentDat
e
Dat
e
Properties
Read-only
The date when the Sales Account Territory
Assignment was last run by Assignment Manager.
LastUpdateDate
Time
stam
p
Properties
Required, Searchable
The date and time when the record was last
updated.
LastUpdatedBy
strin
g
Properties
Required, Searchable
The user who last updated the record.
LastUpdateLogin
strin
g
Properties
Searchable
The user who last updated the record.
MedianAge
Long
Properties
Creatable, Searchable, Updateable
The median age of the members of the
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
135
household.
NamedFlag
Bool
ean
Properties
Creatable, Updateable
Indicates whether a sales account is a named
sales account. Possible values are True or False. If
the value is True, then the sales account is a
named sales account.
OwnerEmailAddress
strin
g
Properties
Creatable, Updateable
The email address of valid employee resource that
owns and manages the sales account. To assign
an owner to the sales account, you can either
provide owner's party ID, PartyNumber, or Email
Address.
OwnerPartyId
Long
Properties
Creatable, Updateable
The unique identifier of a valid employee resource
who owns and manages the sales account. To
assign an owner to the sales account, you must
provide either owner's party identifier, party
number, or email address.
OwnerPartyNumber
Strin
g
Properties
Creatable, Updateable
Party Number of a valid employee resource who
owns and manages the sales account. To assign
an owner to the sales account, you can either
provide owner's party ID, PartyNumber, or Email
Address.
PartyStatus
136
Strin
g
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Household Simplified Web Services Interface Sales Cloud Household SDO
PartyUniqueName
strin
g
PhoneAreaCode
strin
g
Properties
Creatable, Updateable
The area code within a country code.
PhoneCountryCod
e
Strin
g
Properties
Creatable, Updateable
The International country code for a telephone
number, such as 33 for France.
PhoneExtension
Strin
g
Properties
Creatable, Updateable
The additional number addressed after initial
connection to an internal telephone system.
PhoneNumber
strin
g
Properties
Creatable, Updateable
A telephone number formatted in the local
format. The number should not include area code,
country code, or extension.
PreferredContactM
ethod
Strin
g
Properties
Creatable, Updateable
Indicates how a household prefers to be
contacted. Validated against lookup type
PREFERRED_CONTACT_METHOD. A list of valid
codes is defined in the lookup HZ_PREFERENCE.
Review and update the codes using the Setup
and Maintenance task, Manage Trading
Community Common Lookups.
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
137
PreferredFunctional
Currency
Strin
g
Properties
Creatable, Updateable
The households default currency code. A list of
valid currency codes are defined using the Setup
and Maintenance work area, Manage Currency
Profile Options task.
PrimaryAddress
SourceSystem
orac
le.a
pps.
crm
Co
mm
on.s
ales
Parti
es.c
om
mon
Servi
ce.P
rima
ryAd
dres
s
Properties
Strin
g
Properties
Creatable, Updateable
The primary address of the household. Address
attributes of the household are grouped under a
PrimaryAddress entity for clarity.
Creatable
The name of external source system, which is
defined by an admin as part of system setup. It is
part of Alternate Key (along with
SourceSystemReference), and is mandatory if
Primary Key or PartyNumberBusinessKey is not
passed in update.
SourceSystemRefer
enceValue
strin
g
Properties
Creatable
The unique identifier for the household party from
the external source system specified in the
attribute SourceSystem. It is part of Alternate Key
138
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Household Simplified Web Services Interface Sales Cloud Household SDO
strin
g
Properties
Creatable, Updateable
The household party type that defines whether the
household is a sales account or a prospect or any
other user-defined party type as specified using
the lookup type ZCA_ HOUSEHOLD _TYPE. It is
defaulted to ZCA_CUSTOMER if no value is
provided. Possible values are CUSTOMER or
PROSPECT. A list of valid values is defined in the
lookup ZCA_HOUSEHOLD_TYPE. Review and
update the codes using the Setup and
Maintenance work area, Manage Standard
Lookups task.
UniqueNameSuffix
Strin
g
Properties
Creatable, Updateable
The suffix used to generate the attribute
PartyUniqueName. The suffix is concatenated to
the householdName attribute to generate the
PartyUniqueName. The primary address is
defaulted as the suffix.
WealthAmount
{http
://x
mlns
.ora
cle.
com
/adf
/svc
/typ
e
Properties
Creatable, Updateable
The household's wealth amount or net worth. The
value is NULL if not given.
s/}A
mou
ntTy
pe
LastAssignmentDat
time
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
139
eTime
stam
p
Note
Strin
g
Properties
Creatable, Updateable
The note about the household.
OwnerName
Strin
g
PrimaryContactEm
ail
Strin
g
PrimaryContactNa
me
Strin
g
PrimaryContactPart
yId
Strin
g
Properties
Creatable, Updateable
The unique identifier of the primary contact. To
specify the contact for a household, you can
provide Contacts party ID, PartyNumber, or a
combination of SourceSystem and
SourceSystemReference.
PrimaryContactPart
yNumber
Strin
g
Properties
Creatable, Updateable
The party number of the primary contact. To
specify the contact for a household, you can
either provide Contact's party ID, PartyNumber, or
a combination of SourceSystem and
SourceSystemReference.
140
PrimaryContactPho
ne
Strin
g
PrimaryContactSou
rceSystem
Strin
g
Properties
Creatable, Updateable
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Household Simplified Web Services Interface Sales Cloud Household SDO
Strin
g
Properties
Creatable, Updateable
The SourceSystemReference of the primary
contact. To specify the contact for a household,
you can either provide Contact's party ID,
PartyNumber, or a combination of SourceSystem
and SourceSystemReference.
RecordSet
Strin
g
SalesProfileStatus
Strin
g
Properties
Creatable, Updateable
A valid user-defined status of the sales account
that this household belongs to.
SalesTeamMember
Strin
g
Properties
Creatable, Updateable
The sales team member who is associated to a
sales account.
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
141
Relationship To
Handles
Operations
Available Operations:
createRelationship
updateRelationship
deleteRelationship
mergeRelationship
findRelationship
processRelationship
processCSRelationship
getDfltObjAttrHints
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
143
Operations
getServiceLastUpdateTime
getEntityList
createRelationship
Creates a relationship.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
relationship
Sales
Cloud
Relationsh
ip SDO
Response Payload
Name
Type
Description
result
Sales
Cloud
Relationsh
ip SDO
updateRelationship
Updates a relationship.
Life Cycle
Active
144
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Request Payload
Element
Name
Type
Description
relationship
Sales
Cloud
Relationsh
ip SDO
Response Payload
Name
Type
Description
Result
Sales
Cloud
Relationsh
ip SDO
deleteRelationship
Deletes a relationship.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
relationship
Sales
Cloud
Relationsh
ip SDO
Response Payload
Name
Type
Description
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
145
Result
void
Operations
Not applicable
mergeRelationship
Merges a relationship. It will perform an update if the object exists or an insert if the
object doesn't already exist.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
Relationship
Sales
Cloud
Relationsh
ip SDO
Response Payload
Name
Type
Description
Result
Sales
Cloud
Relationsh
ip SDO
Merged Relationship
findRelationship
Finds a relationship.
Life Cycle
Active
Request Payload
Element
Name
146
Type
Description
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
findCriteria
{http://xm
lns.oracle.
com/adf/
svc/type
s/}FindCrit
eria
findControl
{http://xm
lns.oracle.
com/adf/
svc/type
s/}FindCo
ntrol
Response Payload
Name
Type
Description
result
Sales
Cloud
Relationsh
ip SDO
Properties
Unbounded
A list of Relationship that satisfy the
inbound criteria.
processRelationship
Performs a bulk load of relationship.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
changeOpera
tion
string
Relationship
Sales
Properties
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
147
processContro
l
Operations
Cloud
Relationsh
ip SDO
Unbounded
{http://xm
lns.oracle.
com/adf/
svc/type
s/}Process
Control
Response Payload
Name
Type
Description
Result
Sales
Cloud
Relationsh
ip SDO
Properties
Unbounded
A list of Relationship that are successfully
processed.
processCSRelationship
Applies the changes back to the data source for a relationship.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
processData
{http://xm
lns.oracle.
com/adf/
svc/type
s/}Process
Data
148
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Relationship Simplified Web Services Interface Sales Cloud Relationship SDO
processContro
l
{http://xm
lns.oracle.
com/adf/
svc/type
s/}Process
Control
Response Payload
Name
Type
Description
result
{http://xm
lns.oracle.
com/adf/
svc/type
s/}Process
Data
Relationship To
Handled by
Type
Description
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
149
ObjectPartyId
Long
Properties
Creatable, Required, Searchable
The primary key identifier of the object in this
relationship. Either one of ObjectPartyId,
ObjectPartyNumber and ObjectSourceSystem
along with ObjectSourceSystemReferenceValue
combination is used to identify the object party of
the relationship.
SubjectPartyId
Long
Properties
Creatable, Required, Searchable
The primary key identifier of the subject in this
relationship. Either one of SubjectPartyId,
SubjectPartyNumber and SubjectSourceSystem
along with SubjectSourceSystemReferenceValue
combination is used to identify the subject party of
the relationship.
RelationshipType
Strin
g
Properties
Creatable, Required, Searchable
The relationship type name. For example,
CUSTOMER_SUPPLIER. A list of valid relationship
types is defined in the lookup
HZ_RELATIONSHIP_TYPE. Review and update the
codes using the Setup and Maintenance task,
Manage Relationship Lookups.
RelationshipCode
strin
g
Properties
Creatable, Required, Searchable
Indicates if this is a forward or a backward
relationship code. A list of valid relationship codes
is defined in the lookup PARTY_RELATIONS_TYPE.
Review and update the codes using the Setup
and Maintenance task, Manage Relationship
Lookups.
StartDate
Dat
e
Properties
Creatable, Required, Searchable
The date when the relationship was established.
150
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Relationship Simplified Web Services Interface Sales Cloud Relationship SDO
Dat
e
Properties
Creatable, Required, Searchable,
Updateable
The date when the relationship ends.
CreatedByModule
strin
g
Properties
Creatable, Searchable
Application module that created this relationship
record. It is defaulted to value HZ_WS for all web
service based creation.
A list of valid certification level codes is defined in
the lookup HZ_CREATED_BY_MODULES. Review
and update the codes using the Setup and
Maintenance task, Manage Trading Community
Common Lookups.
Comments
strin
g
Properties
Creatable, Searchable, Updateable
The user comments for this relationship.
Status
strin
g
Properties
Read-only
Indicates whether this is an active or inactive
relationship. A for active, I for inactive. This is an
internal column and you are not expected to pass
in a value. A list of valid values is defined in the
lookup HZ_STATUS. Review and update the codes
using the Setup and Maintenance work area,
Manage Standard Lookups task.
CreatedBy
Strin
g
Properties
Required, Searchable
The user who created the record.
CreationDate
LastUpdateDate
Dat
eTim
e
Properties
Dat
Properties
Required, Searchable
The date and time when the record was created.
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
151
LastUpdateLogin
eTim
e
Required, Searchable
Strin
g
Properties
Searchable
The date and time when the record was last
updated.
LastUpdatedBy
Strin
g
Properties
Required, Searchable
The user who last updated the record.
SubjectPartyNumb
er
Strin
g
Properties
Creatable, Required, Searchable,
Updateable
The alternate key identifier for the subject party of
the relationship. One of SubjectPartyId,
SubjectPartyNumber, and a combination of
SubjectSourceSystem and
SubjectSourceSystemReferenceValue, is used to
identify the subject party of the relationship.
SubjectSourceSyste
m
Strin
g
Properties
Creatable, Searchable, Updateable
The name of external source system for the subject
party in the relationship, which are defined by an
admin as part of system setup. One of
SubjectPartyId, SubjectPartyNumber, and a
combination of SubjectSourceSystem and
SubjectSourceSystemReferenceValue, is used to
identify the subject party of the relationship. The
value for this attribute should be predefined in the
lookup type HZ_ORIG_SYSTEMS_VL using the setup
task Manage Trading Community Source Systems.
SubjectSourceSyste
mReferenceValue
strin
g
Properties
Creatable, Searchable, Updateable
The identifier for the subject party in the
relationship from external source system. One of
SubjectPartyId, SubjectPartyNumber, and a
combination of SubjectSourceSystem and
152
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Relationship Simplified Web Services Interface Sales Cloud Relationship SDO
SubjectSourceSystemReferenceValue, is used to
identify the subject party of the relationship.
ObjectSourceSyste
m
Strin
g
Properties
Creatable, Searchable, Updateable
The name of external source system for the object
party in the relationship, which are defined by an
admin as part of system setup. One of
ObjectPartyId, ObjectPartyNumber, and a
combination of ObjectSourceSystem and
ObjectSourceSystemReferenceValue, is used to
identify the object party of the relationship. The
value for this attribute should be predefined in the
lookup type HZ_ORIG_SYSTEMS_VL using the setup
task Manage Trading Community Source Systems.
ObjectSourceSyste
mReferenceValue
Strin
g
Properties
Creatable, Searchable, Updateable
The identifier for the object party in the relationship
from external source system. One of ObjectPartyId,
ObjectPartyNumber, and a combination of
ObjectSourceSystem and
ObjectSourceSystemReferenceValue, is used to
identify the object party of the relationship.
ObjectPartyNumbe
r
Strin
g
Properties
Creatable, Required, Searchable,
Updateable
The unique identification number for the object
party of the relationship. One of ObjectPartyId,
ObjectPartyNumber, and a combination of
ObjectSourceSystem and
ObjectSourceSystemReferenceValue, is used to
identify the object party of the relationship.
RelationshipSourceS
ystem
Strin
g
Properties
Creatable, Updateable
The name of external source system for the
relationship, which is defined by an admin as part
of the system setup.
RelationshipSourceS
ystemReferenceVal
Strin
g
Properties
Creatable, Updateable
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
153
ue
154
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Call the Sales Cloud Address service (AddressService) to provide a representation of the Address entity in
Oracle Sales Cloud. This service exposes the key attributes of an Address and provides
operations to define and manage addresses. This service should be used to mange
addresses in relation to a customer or prospect entity of type Account, Contact or
Household. It is also used to manage multiple address purposes for a given address.
While this service is independent and could be used to create an address for an existing
customer or prospect, it is often used in conjunction with the Account, Contact or
Household service to create the customer or prospect first before using this service
Related Services:
Trading Community Location Service is an alternate service used to manage addresses
and needs to be used in conjunction with either the Trading Community Organization
Service or Trading Community Person Service or Trading Community Group Service
depending upon the context used to manage relationships.
Life Cycle
Active
QName
{http://xmlns.oracle.com/apps/crmCommon/salesParties/addressService/}AddressServi
ce
Relationships
Type
Relationship To
Handles
Handles
Operations
Available Operations:
getAddress
createAddress
updateAddress
deleteAddress
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
155
mergeAddress
findAddress
processAddress
processCSAddress
Operations
getAddress
Retrieves the address based on the primary key identifier.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
addressId
Long
Response Payload
Name
Type
Description
result
Sales
Cloud
Address
SDO
createAddress
Creates an Address.
Life Cycle
Active
Request Payload
156
Element
Name
Type
Description
address
Sales
Cloud
Address to be created.
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Address
SDO
Response Payload
Name
Type
Description
result
{http://xm
lns.oracle.
com/app
s/crmCo
mmon/sal
esParties/
addressSe
rvice/}Ad
dressResul
t
updateAddress
Updates an address. The address is identified by either providing the primary or alternate
keys of the Address, such AddressId, AddressNumber, SourceSystem or
SourceSystemReferenceValue.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
address
Sales
Cloud
Address
SDO
Address to be updated.
Response Payload
Name
Type
Description
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
157
result
{http://xm
lns.oracle.
com/app
s/crmCo
mmon/sal
esParties/
addressSe
rvice/}Ad
dressResul
t
Operations
mergeAddress
Merges an address. It will perform an update if the object exists or an insert if the object
doesn't already exist.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
address
Sales
Cloud
Address
SDO
Address to be merged.
Response Payload
158
Name
Type
Description
result
{http://xm
lns.oracle.
com/app
s/crmCo
mmon/sal
esParties/
addressSe
rvice/}Ad
dressResul
Merged Address
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
deleteAddress
Deletes an address.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
address
Sales
Cloud
Address
SDO
Address to be deleted.
Response Payload
Name
Type
result
{http://xm
lns.oracle.
com/adf/
svc/types
/}Method
Result
Description
findAddress
Finds a list of addresses matching the supplied criteria pertaining to the object.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
159
findCriteria
findControl
Operations
{http://xm
lns.oracle.
com/adf/
svc/types
/}FindCrit
eria
{http://xm
lns.oracle.
com/adf/
svc/types
/}FindCon
trol
Response Payload
Name
Type
Description
result
Sales
Cloud
Address
SDO
processAddress
Bulk loads the Address. Performs a Create, Update, or Delete operation on a list of
Address rows. Different operations may be applied to different objects, depending on
what is specified in the ChangeSummary object.
Life Cycle
Active
Request Payload
Element Name
Type
Description
changeOperati
on
string
address
160
Sales
Cloud
Address
Properties
Unbounded
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
processControl
SDO
{http://x
mlns.ora
cle.com
/adf/sv
c/types
/}Proces
sControl
Response Payload
Name
Type
Description
result
Sales
Cloud
Address
SDO
Properties
Unbounded
A list of Address that are successfully processed.
processCSAddress
Applies the changes back to the data source for Address.
Life Cycle
Active
Request Payload
Element
Name
Type
Description
processData
{http://xml
ns.oracle.c
om/adf/sv
c/types/}Pr
ocessData
processContr
ol
{http://xml
ns.oracle.c
om/adf/sv
c/types/}Pr
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
161
ocessCont
rol
Response Payload
Name
Type
Description
result
{http://xm
lns.oracle.
com/adf/
svc/types
/}Process
Data
Relationship To
Contains
Handled by
Type
Description
PartyId
long
Properties
Creatable
Unique Identifier of the account, contact or
162
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Address Simplified Web Services Interface Sales Cloud Address SDO
string
Properties
Creatable
string
Properties
Creatable
Name of external source system of the account,
contact or household with which the address is
associated. Part of Alternate Key for the account,
contact or household record (along with
PartyourceSystemReferenceValue). One of
PartyId, PartyNumber or PartySourceSystem and
PartySourceSystemReferenceValue keys is required
to identify the account, contact or household
record with which the address is associated. The
value for this attribute should be predefined in the
lookup type HZ_ORIG_SYSTEMS_VL using the setup
task Manage Trading Community Source Systems.
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
163
PartySourceSyste
mReferenceValu
e
string
AddressId
long
Properties
Creatable
Identifier from external source system for the
account, contact or household with which the
address is associated. Part of Alternate Key (along
with PartySourceSystem). One of PartyId,
PartyNumber or PartySourceSystem and
PartySourceSystemReferenceValue keys is required
to identify the account, contact or household
record with which the address is associated.
Keys
Primary Key
The unique address identifier that is internally
generated during create. One of AddressId,
AddressNumber or SourceSystem and
SourceSystemReferenceValue keys is used to
identify the address record during update.
AddressNumber
string
Properties
Creatable
The alternate unique identifier for the address. One
of AddressId, AddressNumber or SourceSystem
and SourceSystemReferenceValue keys is used to
identify the address record during update. If not
specified, then it is automatically generated.
Prefix defined as in profile option ZCA_PUID_PREFIX
concatenated with an internally generated
unique sequence number.
Comments
string
Properties
Creatable, Updateable
The user comments for the address
DoNotMailFlag
boole
an
Properties
Creatable, Updateable
Indicates that this address should not be used for
mailing
CorpCurrencyCo
de
string
Properties
Creatable, Searchable, Updateable
The corporate currency code associated with the
164
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Address Simplified Web Services Interface Sales Cloud Address SDO
string
CreationDate
dateTi
me
CreatedByModul
e
string
CurcyConvRateTy
pe
string
CurrencyCode
string
EndDateActive
date
Properties
Creatable, Updateable
Date after which this address is rendered inactive.
FormattedAddres
s
string
FormattedMultilin
eAddress
string
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
165
LastUpdateDate
dateTi
me
LastUpdateLogin
string
LastUpdatedBy
string
LocationId
long
Properties
Read-only
The unique identifier for the location record for this
address.
Mailstop
string
Properties
Creatable, Updateable
A user-defined code to indicate a mail drop point
within their organization
PrimaryFlag
boole
an
Properties
Creatable, Updateable
Indicates if this is the primary address of the
associated object. Accepts values Y for primary
contact, N for all others.
StartDateActive
date
Properties
Creatable
Date from which this address is active. Defaulted
to the current system date if not provided during
create.
Status
string
AddrElementAttri
bute1
string
Properties
Creatable, Updateable
The additional address element to support flexible
address format.
AddrElementAttri
166
string
Properties
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Address Simplified Web Services Interface Sales Cloud Address SDO
bute2
Creatable, Updateable
The additional address element to support flexible
address format.
AddrElementAttri
bute3
string
Properties
Creatable, Updateable
The additional address element to support flexible
address format.
AddrElementAttri
bute4
string
Properties
Creatable, Updateable
The additional address element to support flexible
address format.
AddrElementAttri
bute5
string
Properties
Creatable, Updateable
The additional address element to support flexible
address format.
Address1
string
Properties
Creatable, Updateable
The first line for address.
Address2
string
Properties
Creatable, Updateable
The second line for address.
Address3
string
Properties
Creatable, Updateable
The third line for address.
Address4
string
Properties
Creatable, Updateable
The fourth line for address.
AddressLinesPhon
etic
string
Properties
Creatable, Updateable
The phonetic or Kana representation of the Kanji
address lines (used in Japan).
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
167
Building
string
Properties
Creatable, Updateable
The specific building name or number at a given
address.
City
string
Properties
Creatable, Updateable
The city element of Address.
ClliCode
string
Properties
Creatable, Updateable
The Common Language Location Identifier (CLLI)
code.
Country
string
Properties
Creatable, Updateable
The country code of the address.
County
string
Properties
Creatable, Updateable
The county element of the address.
DateValidated
date
Properties
Read-only
Date on which the address was last validated.
Description
string
Properties
Creatable, Updateable
An extensive description of the location.
FloorNumber
string
Properties
Creatable, Updateable
The specific floor number at a given address or in
a particular building when building number is
provided.
HouseType
string
Properties
Creatable, Updateable
Indicates the building type. A list of `valid values
168
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Address Simplified Web Services Interface Sales Cloud Address SDO
decim
al
Properties
Creatable, Updateable
Used to store latitude information for the location
for spatial proximity and containment purposes.
LocationDirection
s
string
Properties
Creatable, Updateable
The directions to the location.
Longitude
decim
al
Properties
Creatable, Updateable
Used to store longitude information for the location
for spatial proximity and containment purposes.
PostalCode
string
Properties
Creatable, Updateable
The postal code as defined by the formal
countrywide postal system.
PostalPlus4Code
string
Properties
Creatable, Updateable
The four digit extension to the United States Postal
ZIP code.
Province
string
Properties
Creatable, Updateable
The province element of Address.
State
string
Properties
Creatable, Updateable
The state element of Address.
ValidatedFlag
boole
an
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
169
ValidationStartDa
te
date
ValidationStatusC
ode
string
Properties
Creatable, Updateable
The standardized status code that describes the
results of the validation. Internally set by system
during address cleansing.
SourceSystem
string
Properties
Creatable
Composite alternate key: SourceSystem and
SourceSystemReference
Name of external source system for the address
denoted by a code, which is defined by an
administrator as part of system setup. The value for
this attribute should be predefined in the lookup
type HZ_ORIG_SYSTEMS_VL using the setup task
Manage Trading Community Source Systems.
SourceSystem and SourceSystemReference
combination is unique and is used as the foreign
key to identify an address.
SourceSystemRef
erenceValue
string
Properties
Creatable
Composite alternate key: SourceSystem and
SourceSystemReference
The unique identifier for the address from the
external source. SourceSystem and
SourceSystemReference combination is unique
and is used as the foreign key to identify an
address.
AddressPurpose
170
Sales
Cloud
Addre
ss
Purpos
e SDO
Properties
Creatable, Updateable
Reference to the address purpose child entity of
this address
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Address Simplified Web Services Interface Sales Cloud Address Purpose SDO
Relationship To
Contained by
Handled by
Type
Description
AddressPurposeId
long
Keys
Primary Key
Address purpose unique internal identifier used for
identifying the address purpose record in case of
update. The identifier is internally generated during
create.
Purpose
string
Properties
Creatable
Indicates the use or purpose of the address e.g.
billing, shipping etc. A list of valid values is defined
in the lookup PARTY_SITE_USE_CODE. Review and
update the codes using the Setup and
Maintenance work area, Manage Standard
Lookups task.
DeleteFlag
boole
an
Properties
Creatable, Updateable
Indicates if the address purpose is to be deleted.
Valid values are Y or N. Mention Y for delete,
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
171
considered N by default
Relationship To
Contained by
Contained by
Contained by
Handled by
Handled by
Handled by
Type
Description
AddressId
long
Keys
Primary Key
Address internal unique identifier that is internally
generated during create. One of AddressId,
AddressNumber or SourceSystem and
SourceSystemReferenceValue keys is used to
identify the address record during update.
AddressNumber
172
string
Properties
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Address Simplified Web Services Interface Sales Cloud Primary Address SDO
Creatable
Alternate unique identifier for the address. One of
AddressId, AddressNumber or SourceSystem and
SourceSystemReferenceValue keys is used to
identify the address record during update. If not
specified, then it is automatically generated.
Prefix defined as in profile option ZCA_PUID_PREFIX
concatenated with an internally generated
unique sequence number.
SourceSystem
string
SourceSystemRef
erenceValue
string
LocationId
long
Properties
Read-only
Unique identifier for the location record for this
address
PartyId
Long
Properties
Creatable
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
173
string
Properties
Creatable, Updateable
Additional address element to support flexible
address format
AddrElementAttri
bute2
string
Properties
Creatable, Updateable
Additional address element to support flexible
address format
AddrElementAttri
bute3
string
Properties
Creatable, Updateable
Additional address element to support flexible
address format
AddrElementAttri
bute4
string
Properties
Creatable, Updateable
Additional address element to support flexible
address format
AddrElementAttri
bute5
string
Properties
Creatable, Updateable
Additional address element to support flexible
address format
Address1
string
Properties
Creatable, Updateable
First line for address
Address2
string
Properties
Creatable, Updateable
Second line for address
174
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Address Simplified Web Services Interface Sales Cloud Primary Address SDO
Address3
string
Properties
Creatable, Updateable
Third line for address
Address4
string
Properties
Creatable, Updateable
Fourth line for address
Building
string
Properties
Creatable, Updateable
Specific building name or number at a given
address
City
string
Properties
Creatable, Updateable
City element of Address.
Country
string
Properties
Creatable, Updateable
Country code of the address.
County
string
Properties
Creatable, Updateable
County element of Address.
FloorNumber
string
Properties
Creatable, Updateable
Specific floor number at a given address or in a
particular building when building number is
provided
PostalCode
string
Properties
Creatable, Updateable
Postal code as defined by the formal countrywide
postal system
PostalPlus4Code
string
Properties
Creatable, Updateable
Four digit extension to the United States Postal ZIP
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
175
code.
Province
string
Properties
Creatable, Updateable
Province element of Address.
State
string
Properties
Creatable, Updateable
State element of Address.
Latitude
decim
al
Properties
Creatable, Updateable
Used to store Latitude Information for the Location
for spatial proximity and containment purposes.
Longitude
Decim
al
Properties
Creatable, Updateable
Used to store Longitude Information for the
Location for spatial proximity and containment
purposes
Mailstop
string
Properties
Creatable, Updateable
A user-defined code to indicate a mail drop point
within their organization
AddressLinesPhon
etic
string
Properties
Creatable, Updateable
Phonetic or Kana representation of the Kanji
address lines (used in Japan)
Comments
string
Properties
Creatable, Updateable
User comments for the address
Description
string
Properties
Creatable, Updateable
An extensive description of the location
DateValidated
176
date
Properties
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Sales Cloud Address Simplified Web Services Interface Sales Cloud Primary Address SDO
Read-only
Date the address was last validated.
HouseType
string
Properties
Creatable, Updateable
Indicates the building type. A list of valid values is
defined in the lookup HZ_HOUSE_TYPE. Review and
update the codes using the Setup and
Maintenance work area, Manage Standard
Lookups task.
LocationDirection
s
string
Properties
Creatable, Updateable
Directions to the location
ValidatedFlag
boole
an
ValidationStartDa
te
date
FormattedAddres
s
string
FormattedMultilin
eAddress
string
CreatedBy
string
CreationDate
dateTi
me
LastUpdateDate
dateTi
me
LastUpdateLogin
string
LastUpdatedBy
string
DeleteFlag
boole
Properties
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
177
an
Creatable, Updateable
Indicates if the primary address is to be deleted.
Valid values are Y or N. Mention Y for delete,
considered N by default
178
CorpCurrencyCo
de
string
CurcyConvRateTy
pe
string
CurrencyCode
string
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
You can use the Fusion Service Tester to easily test Oracle Sales Cloud Web services. It
can be invoked by clicking a bat file or by running a jar file. You must download Java on
your computer to run Fusion Service Tester:
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
179
Importing a New
Note: If you get a SSL handshake error related to invalid certificate path, then additional setup might
be needed to manually add the certificate in the truststore. To do that follow the below instruction
180
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
10
Note: The following code was developed using Oracle JDeveloper Studio 11.1.1.7. 1. This client is
created as a Servlet to avoid certificate checking.
package saaspaas_tester;
import accountservice.proxy.AccountService;
import accountservice.proxy.AccountService_Service;
import com.oracle.xmlns.adf.svc.types.DataObjectResult;
import com.oracle.xmlns.adf.svc.types.FindCriteria;
import com.oracle.xmlns.adf.svc.types.ProcessControl;
import com.oracle.xmlns.adf.svc.types.ReturnMode;
import com.oracle.xmlns.adf.svc.types.ViewCriteria;
import com.oracle.xmlns.adf.svc.types.ViewCriteriaItem;
import com.oracle.xmlns.adf.svc.types.ViewCriteriaRow;
import
com.oracle.xmlns.apps.crmcommon.salesparties.accountservice.Account;
import
com.oracle.xmlns.apps.crmcommon.salesparties.accountservice.ObjectFactory;
import
com.oracle.xmlns.apps.crmcommon.salesparties.accountservice.types.FindAcco
unt;
import com.sun.xml.ws.developer.WSBindingProvider;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.xml.ws.WebServiceRef;
import weblogic.wsee.jws.jaxws.owsm.SecurityPolicyFeature;
public class PaaSSaaSCRUDSample {
@WebServiceRef
private AccountService_Service accountService_Service;
private String osc_hostname = "server.domain_name.com:port_number";
private String endpoint = "https://" + this.osc_hostname +
"/crmCommonSalesParties/AccountService";
private String osc_username = "User_name";
private String osc_password = "Password";
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
181
Importing a New
182
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Appendix B: Sample Code: Static Web Service Proxy JAX-WS Style Importing a New
certificate in the keystore (for IE)
wsbp.getRequestContext().put(WSBindingProvider.ENDPOINT_ADDRESS_PROPERTY,
endpoint);
StringBuffer result = new StringBuffer();
// Always create an objectfactory and instantiate objects from
this.
// Only exception is when parameters are native java types
e.g. String or Long
// Make sure you use the right objectFactory for the
WebService, in this example the correct objectFactory is
//
com.oracle.xmlns.apps.crmcommon.salesparties.accountservice.ObjectFactory
ObjectFactory objectFactory = new ObjectFactory();
//
// Create ACCOUNT Object
//
// Other Account payload attributes can be created in a
similar manner
Account acc = objectFactory.createAccount();
acc.setOrganizationName("World Vision Inc - " +
time.getTime());
acc.setType(objectFactory.createAccountType("ZCA_CUSTOMER"));
acc.setCEOName(objectFactory.createAccountCEOName("John
Smith"));
// Call Service to create Object
DataObjectResult createResponse =
accountService.createAccount(acc);
// Response contains full result of created object
// Verify the result from create account service call
Long partyId = 0L;
if (createResponse != null && createResponse.getValue() !=
null &&
createResponse.getValue().size() > 0) {
Account createResult =
(Account)createResponse.getValue().get(0);
partyId = createResult.getPartyId();
out.println("Created a party with PartyId: " + partyId);
// we can get other attributes of the account from the
createResult object
// e.g. createResult.getPartyNumber(), etc.
}
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
183
Importing a New
//
// Get Account
//
// Need the partyId of the account for this operation
// partyId is either 0 or the partyId of the newly created
party in the previous create method
DataObjectResult getResult =
accountService.getAccount(partyId);
if (getResult != null && getResult.getValue() != null &&
getResult.getValue().size() > 0) {
Account getAccResult =
(Account)getResult.getValue().get(0);
String getorgName = getAccResult.getOrganizationName();
String getceoName = getAccResult.getCEOName().getValue();
out.println("Org name from get operation is +" +
getorgName +
" and ceo name is " + getceoName);
}
//
// Update Account
// We can update an account by creating an object with the
right partyId (ala QueryByExample) and then the added/modified fields
//
out.println("Updating Organization Name");
Account updateAcc = objectFactory.createAccount();
updateAcc.setPartyId(partyId);
updateAcc.setOrganizationName("Updated World Vision Inc " +
time.getTime());
accountService.updateAccount(updateAcc);
// we can verify the update result by doing a get operation
//
// Merge account
// merge either creates a new account or updates an exisitng
account
out.println("Merge : new Organization ");
Account mergeAcc = objectFactory.createAccount();
mergeAcc.setPartyNumber("DHQA_06052150_A1");
mergeAcc.setOrganizationName("Merge Organization Test 123");
DataObjectResult mergeResult =
accountService.mergeAccount(mergeAcc);
184
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Appendix B: Sample Code: Static Web Service Proxy JAX-WS Style Importing a New
certificate in the keystore (for IE)
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
185
Importing a New
186
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
Appendix B: Sample Code: Static Web Service Proxy JAX-WS Style Importing a New
certificate in the keystore (for IE)
//
</typ:findCriteria>
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
187
11
Appendix C: Extracting
Oracle Public Certificate from
Fusion WSDL
This is a sample certificate and the sections below illustrate how to extract the certificate
from a WSDL and add to a keystore. The actual Oracle public certificate should be
extracted from a Fusion WSDL.
In the Fusion WSDL, the encrypted certificate is stored in the following format:
<dsig:X509Certificate>MIICCzCCAXSgAwIBAgIETf8ZWjANBgkqhkiG9w0BAQUFADBKMRMw
EQYKCZImiZPyLGQBGRYDY29tMSEwHwYKCZImiZPyLGQBGRYRb3JhY2xlb3V0c291cmNpbmcxED
AOBgNVBAMTB3NlcnZpY2UwHhcNMTEwNjIwMDk1NjQyWhcNMTExMjE3MDk1NjQyWjBKMRMwEQYK
CZImiZPyLGQBGRYDY29tMSEwHwYKCZImiZPyLGQBGRYRb3JhY2xlb3V0c291cmNpbmcxEDAOBg
NVBAMTB3NlcnZpY2UwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAJJsUQQHiE9qlTlv3n1j
P3JhepkAwsxXsy5+DMifv2ZbB2haoCcJ319Nx06tg67QyS5E79iAs3rLE5W/2rEKXmWjJ74whX
0gJho+a+33EMLDuejehtx1d726CoYIvTpGl+6C+QH1R3N1MIEFWk0JuLod5YFgEXgXhNQuEFXz
3UIbAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAGYQX4MKfFlwO1TuKpjtABEwveZKpyIvkfdCcqv
ZVpdIb7rNyCeVWOuSlpldgEQ4lUYo29IrFf50z/Rbuz4tu3JT8uB2cpRpX9GDUKq5MTx6efVUV
H9EGK0sZZ8NbX2aeAlOq02Wau2T0og5IxID7KPcCU1qiRV0WA3ebd15vODk=</dsig:X509Cer
tificate>
Copy the encrypted text to a text editor and remove the
<dsig:X509Certificate> and </dsig:X509Certificate> tags. Add the
following lines before and after the encrypted text.
-----BEGIN CERTIFICATE---------END CERTIFICATE-----------BEGIN CERTIFICATE----MIICCzCCAXSgAwIBAgIETf8ZWjANBgkqhkiG9w0BAQUFADBKMRMwEQYKCZImiZPyLGQBGRYDY2
9tMSEwHwYKCZImiZPyLGQBGRYRb3JhY2xlb3V0c291cmNpbmcxEDAOBgNVBAMTB3NlcnZpY2Uw
HhcNMTEwNjIwMDk1NjQyWhcNMTExMjE3MDk1NjQyWjBKMRMwEQYKCZImiZPyLGQBGRYDY29tMS
EwHwYKCZImiZPyLGQBGRYRb3JhY2xlb3V0c291cmNpbmcxEDAOBgNVBAMTB3NlcnZpY2UwgZ8w
DQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAJJsUQQHiE9qlTlv3n1jP3JhepkAwsxXsy5+DMifv2
ZbB2haoCcJ319Nx06tg67QyS5E79iAs3rLE5W/2rEKXmWjJ74whX0gJho+a+33EMLDuejehtx1
d726CoYIvTpGl+6C+QH1R3N1MIEFWk0JuLod5YFgEXgXhNQuEFXz3UIbAgMBAAEwDQYJKoZIhv
cNAQEFBQADgYEAGYQX4MKfFlwO1TuKpjtABEwveZKpyIvkfdCcqvZVpdIb7rNyCeVWOuSlpldg
EQ4lUYo29IrFf50z/Rbuz4tu3JT8uB2cpRpX9GDUKq5MTx6efVUVH9EGK0sZZ8NbX2aeAlOq02
Wau2T0og5IxID7KPcCU1qiRV0WA3ebd15vODk=
-----END CERTIFICATE----
Save the file as yourcert.crt. The certificate can now be imported to the keystore under
the rcpt-key-alias. The Oracle certificate file can be imported to the keystore using the
keytool commands listed below.
Import Oracle certificate to a keystore file
keytool -importcert -alias nameoforaclekey -file oraclecertificatefile.cer
-keystore oracle-keystore.jks -storepass keystorepassword
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact
189
Importing a New
The client can save the keystore file to their local machine and reference the keystore
file in their client application to authenticate to the Fusion environment.
190
Oracle Sales Cloud Using Simplified SOAP Web Services for Account, Household, and Contact