Create or Update an Account with Multiple Phones and Email Addresses
In this use case, we'll create or update an organization account with multiple phones and email addresses.
Operation: createOrganization
Request Body
<soapenv:Body>
<typ:createOrganization>
<typ:organizationParty>
<org:CreatedByModule>HZ_WS</org:CreatedByModule>
<org:OrganizationProfile>
<org:OrganizationName>XXXXXXXXXX</org:OrganizationName>
<org:CreatedByModule>HZ_WS</org:CreatedByModule>
</org:OrganizationProfile>
<org:PartyUsageAssignment>
<par:PartyUsageCode>CUSTOMER</par:PartyUsageCode>
<par:CreatedByModule>HZ_WS</par:CreatedByModule>
</org:PartyUsageAssignment>
<org:Phone>
<!--con:PrimaryFlag>false</con:PrimaryFlag-->
<con:CreatedByModule>HZ_WS</con:CreatedByModule>
<con:ContactPointPurpose>BUSINESS</con:ContactPointPurpose>
<!--con:PrimaryByPurpose>N</con:PrimaryByPurpose-->
<con:PhoneLineType>GEN</con:PhoneLineType>
<con:PhoneAreaCode>999</con:PhoneAreaCode>
<con:PhoneCountryCode>9</con:PhoneCountryCode>
<con:PhoneNumber>999-9999</con:PhoneNumber>
<!--con:OverallPrimaryFlag>false</con:OverallPrimaryFlag-->
</org:Phone>
<org:Phone>
<!--con:PrimaryFlag>false</con:PrimaryFlag-->
<con:CreatedByModule>HZ_WS</con:CreatedByModule>
<con:ContactPointPurpose>BUSINESS</con:ContactPointPurpose>
<!--con:PrimaryByPurpose>N</con:PrimaryByPurpose-->
<con:PhoneLineType>FAX</con:PhoneLineType>
<con:PhoneAreaCode>999</con:PhoneAreaCode>
<con:PhoneCountryCode>9</con:PhoneCountryCode>
<con:PhoneNumber>999-9999</con:PhoneNumber>
<!--con:OverallPrimaryFlag>false</con:OverallPrimaryFlag-->
</org:Phone>
<org:Email>
<!--con:PrimaryFlag>false</con:PrimaryFlag-->
<con:CreatedByModule>HZ_WS</con:CreatedByModule>
<con:ContactPointPurpose>BUSINESS</con:ContactPointPurpose>
<!--con:PrimaryByPurpose>N</con:PrimaryByPurpose-->
<con:EmailAddress>XXXXXXXXXX@oracle.com</con:EmailAddress>
<!--con:OverallPrimaryFlag>false</con:OverallPrimaryFlag-->
</org:Email>
<org:Email>
<!--con:PrimaryFlag>false</con:PrimaryFlag-->
<con:CreatedByModule>HZ_WS</con:CreatedByModule>
<con:ContactPointPurpose>BUSINESS</con:ContactPointPurpose>
<!--con:PrimaryByPurpose>N</con:PrimaryByPurpose-->
<con:EmailAddress>XXXXXXXXXX@oracle.com</con:EmailAddress>
<!--con:OverallPrimaryFlag>false</con:OverallPrimaryFlag-->
</org:Email>
</typ:organizationParty>
</typ:createOrganization>
</soapenv:Body>
Response Body
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:typ="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule/types/">
<env:Header>
<wsa:Action>http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule//OrganizationService/mergeOrganizationResponse</wsa:Action>
<wsa:MessageID>urn:uuid:97d7fea1-bb7e-4a21-8d29-73288a59a1a8</wsa:MessageID>
</env:Header>
<env:Body>
<ns0:mergeOrganizationResponse xmlns:ns0="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule/types/">
<ns3:result xsi:type="ns2:OrganizationPartyResult" xmlns:ns2="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/" xmlns:ns1="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/" xmlns:ns3="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule/types/" xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" xmlns:ns0="http://xmlns.oracle.com/adf/svc/types/" xmlns:ns5="http://xmlns.oracle.com/apps/cdm/foundation/parties/contactPointService/" xmlns:ns8="http://xmlns.oracle.com/apps/cdm/foundation/parties/relationshipService/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns2:Value>
<ns2:PartyNumber>1003</ns2:PartyNumber>
<ns2:PartyId>1003</ns2:PartyId>
<ns2:PartyType>ORGANIZATION</ns2:PartyType>
<ns2:PartyName>UNITED PARCEL SERVICE, INC</ns2:PartyName>
<ns2:LastUpdatedBy>1318</ns2:LastUpdatedBy>
<ns2:ValidatedFlag xsi:nil="true"/>
<ns2:LastUpdateLogin>4081020</ns2:LastUpdateLogin>
<ns2:CreationDate>1997-02-23T12:47:25.0Z</ns2:CreationDate>
<ns2:RequestId>4350529</ns2:RequestId>
<ns2:LastUpdateDate>2007-04-12T21:13:29.0Z</ns2:LastUpdateDate>
<ns2:CreatedBy>1028</ns2:CreatedBy>
<ns2:OrigSystemReference>1003</ns2:OrigSystemReference>
<ns2:HQBranchIndicator>HQ</ns2:HQBranchIndicator>
<ns2:DUNSNumberC>006991681</ns2:DUNSNumberC>
<ns2:SICCode>4215</ns2:SICCode>
<ns2:JgzzFiscalCode>01-83937602</ns2:JgzzFiscalCode>
<ns2:Address1>93 Peachtree Parkway</ns2:Address1>
<ns2:Country>US</ns2:Country>
<ns2:Address3 xsi:nil="true"/>
<ns2:GroupType xsi:nil="true"/>
<ns2:Address2 xsi:nil="true"/>
<ns2:Address4 xsi:nil="true"/>
<ns2:Status>A</ns2:Status>
<ns2:City>Atlanta</ns2:City>
<ns2:PostalCode>30328</ns2:PostalCode>
<ns2:County>Fulton</ns2:County>
<ns2:YearEstablished>1969</ns2:YearEstablished>
<ns2:Province xsi:nil="true"/>
<ns2:State>GA</ns2:State>
<ns2:URL xsi:nil="true"/>
<ns2:AnalysisFy>1996</ns2:AnalysisFy>
<ns2:SICCodeType>1987 SIC</ns2:SICCodeType>
<ns2:EmailAddress xsi:nil="true"/>
<ns2:FiscalYearendMonth>12</ns2:FiscalYearendMonth>
<ns2:EmployeesTotal>25000</ns2:EmployeesTotal>
<ns2:CurrentFiscalYearPotentialRevenueAmount>800000000</ns2:CurrentFiscalYearPotentialRevenueAmount>
<ns2:NextFyPotentialRevenueAmount xsi:nil="true"/>
<ns2:GSAIndicatorFlag>false</ns2:GSAIndicatorFlag>
<ns2:CategoryCode>DISTRIBUTION</ns2:CategoryCode>
<ns2:LanguageName xsi:nil="true"/>
<ns2:MissionStatement xsi:nil="true"/>
<ns2:ThirdPartyFlag>false</ns2:ThirdPartyFlag>
<ns2:HomeCountry xsi:nil="true"/>
<ns2:CreatedByModule xsi:nil="true"/>
<ns2:ObjectVersionNumber>10</ns2:ObjectVersionNumber>
<ns2:CertificationLevel xsi:nil="true"/>
<ns2:CertReasonCode xsi:nil="true"/>
<ns2:PrimaryPhonePurpose xsi:nil="true"/>
<ns2:PrimaryPhoneContactPointId>3105</ns2:PrimaryPhoneContactPointId>
<ns2:PrimaryPhoneLineType>GEN</ns2:PrimaryPhoneLineType>
<ns2:PrimaryPhoneCountryCode>1</ns2:PrimaryPhoneCountryCode>
<ns2:PrimaryPhoneAreaCode>703</ns2:PrimaryPhoneAreaCode>
<ns2:PrimaryPhoneNumber>8441212</ns2:PrimaryPhoneNumber>
<ns2:PreferredContactMethod xsi:nil="true"/>
<ns2:PrimaryPhoneExtension xsi:nil="true"/>
<ns2:IdenAddrLocationId>944</ns2:IdenAddrLocationId>
<ns2:PrimaryURLContactPointId xsi:nil="true"/>
<ns2:PrimaryEmailContactPointId xsi:nil="true"/>
<ns2:IdenAddrPartySiteId>1097</ns2:IdenAddrPartySiteId>
<ns2:PreferredName xsi:nil="true"/>
<ns2:PersonSecondLastName xsi:nil="true"/>
<ns2:PreferredNameId xsi:nil="true"/>
<ns2:TradingPartnerIdentifier xsi:nil="true"/>
<ns2:PreferredContactPersonId xsi:nil="true"/>
<ns2:PreferredFunctionalCurrency xsi:nil="true"/>
<ns2:InternalFlag xsi:nil="true"/>
<ns2:Comments xsi:nil="true"/>
<ns2:CeoName xsi:nil="true"/>
<ns2:PrincipalName xsi:nil="true"/>
<ns2:OrganizationSize>LARGE</ns2:OrganizationSize>
<ns2:PartyUniqueName>UNITED PARCEL SERVICE, INC</ns2:PartyUniqueName>
<ns2:SourceSystem xsi:nil="true"/>
<ns2:SourceSystemReferenceValue xsi:nil="true"/>
<ns2:SourceSystemUpdateDate xsi:nil="true"/>
<ns2:PartySite xmlns:ns7="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/partySite/">
<ns1:PartySiteId>300100543382342</ns1:PartySiteId>
<ns1:PartyId>1003</ns1:PartyId>
<ns1:LocationId>970</ns1:LocationId>
<ns1:LastUpdateDate>2021-08-11T17:59:42.25Z</ns1:LastUpdateDate>
<ns1:PartySiteNumber>CDRM_768917</ns1:PartySiteNumber>
<ns1:LastUpdatedBy>APPLICATION_IMPLEMENTATION_CONSULTANT</ns1:LastUpdatedBy>
<ns1:CreationDate>2021-08-11T17:59:40.001Z</ns1:CreationDate>
<ns1:CreatedBy>APPLICATION_IMPLEMENTATION_CONSULTANT</ns1:CreatedBy>
<ns1:LastUpdateLogin>C8A8F4A7C1BECE68E053DA0CF10A44AE</ns1:LastUpdateLogin>
<ns1:RequestId xsi:nil="true"/>
<ns1:OrigSystem xsi:nil="true"/>
<ns1:OrigSystemReference>300100543382342</ns1:OrigSystemReference>
<ns1:StartDateActive>2021-08-11</ns1:StartDateActive>
<ns1:EndDateActive>4712-12-31</ns1:EndDateActive>
<ns1:Mailstop xsi:nil="true"/>
<ns1:IdentifyingAddressFlag>false</ns1:IdentifyingAddressFlag>
<ns1:Language xsi:nil="true"/>
<ns1:Status>A</ns1:Status>
<ns1:PartySiteName xsi:nil="true"/>
<ns1:Addressee xsi:nil="true"/>
<ns1:CreatedByModule>HZ_WS</ns1:CreatedByModule>
<ns1:GlobalLocationNumber xsi:nil="true"/>
<ns1:DUNSNumberC xsi:nil="true"/>
<ns1:Comments xsi:nil="true"/>
<ns1:PartySiteType xsi:nil="true"/>
<ns1:PartyNameDba xsi:nil="true"/>
<ns1:PartyNameDivision xsi:nil="true"/>
<ns1:PartyNameLegal xsi:nil="true"/>
<ns1:RelationshipId xsi:nil="true"/>
<ns1:PartyUsageCode xsi:nil="true"/>
<ns1:UsageCode>GEOGRAPHY</ns1:UsageCode>
<ns1:FormattedAddress>1800 Satellite Drive,Distribution Center,CHATTANOOGA, TN 37401</ns1:FormattedAddress>
<ns1:Country>US</ns1:Country>
<ns1:Address1>1800 Satellite Drive</ns1:Address1>
<ns1:Address2>Distribution Center</ns1:Address2>
<ns1:Address3>Warehouse B</ns1:Address3>
<ns1:Address4 xsi:nil="true"/>
<ns1:City>Chattanooga</ns1:City>
<ns1:PostalCode>37401</ns1:PostalCode>
<ns1:State>TN</ns1:State>
<ns1:Province xsi:nil="true"/>
<ns1:County>Hamilton</ns1:County>
<ns1:AddressStyle xsi:nil="true"/>
<ns1:ValidatedFlag xsi:nil="true"/>
<ns1:AddressLinesPhonetic xsi:nil="true"/>
<ns1:PostalPlus4Code xsi:nil="true"/>
<ns1:Position xsi:nil="true"/>
<ns1:LocationDirections xsi:nil="true"/>
<ns1:AddressExpirationDate xsi:nil="true"/>
<ns1:LocationLanguage xsi:nil="true"/>
<ns1:ValidationStatusCode xsi:nil="true"/>
<ns1:DateValidated xsi:nil="true"/>
<ns1:DoNotValidateFlag xsi:nil="true"/>
<ns1:HouseType xsi:nil="true"/>
<ns1:FormattedMultilineAddress>1800 Satellite Drive<BR>Distribution Center<BR>CHATTANOOGA, TN 37401</ns1:FormattedMultilineAddress>
<ns1:Country1>US</ns1:Country1>
<ns1:ObjectVersionNumber1>10</ns1:ObjectVersionNumber1>
<ns1:ContactPreferenceExistFlag>false</ns1:ContactPreferenceExistFlag>
<ns1:FormattedLocaleAddress xsi:nil="true"/>
<ns1:CurrencyCode>USD</ns1:CurrencyCode>
<ns1:CorpCurrencyCode>USD</ns1:CorpCurrencyCode>
<ns1:CurcyConvRateType>Corporate</ns1:CurcyConvRateType>
<ns1:InternalFlag>false</ns1:InternalFlag>
<ns1:OverallPrimaryFlag>false</ns1:OverallPrimaryFlag>
<ns1:EmailAddress xsi:nil="true"/>
<ns1:Latitude xsi:nil="true"/>
<ns1:Longitude xsi:nil="true"/>
<ns1:PartySiteUse>
<ns1:PartySiteUseId>300100543382343</ns1:PartySiteUseId>
<ns1:BeginDate>2021-08-11</ns1:BeginDate>
<ns1:Comments xsi:nil="true"/>
<ns1:EndDate>4712-12-31</ns1:EndDate>
<ns1:PartySiteId>300100543382342</ns1:PartySiteId>
<ns1:LastUpdateDate>2021-08-11T17:59:42.186Z</ns1:LastUpdateDate>
<ns1:RequestId xsi:nil="true"/>
<ns1:LastUpdatedBy>APPLICATION_IMPLEMENTATION_CONSULTANT</ns1:LastUpdatedBy>
<ns1:CreationDate>2021-08-11T17:59:40.055Z</ns1:CreationDate>
<ns1:CreatedBy>APPLICATION_IMPLEMENTATION_CONSULTANT</ns1:CreatedBy>
<ns1:LastUpdateLogin>C8A8F4A7C1BECE68E053DA0CF10A44AE</ns1:LastUpdateLogin>
<ns1:IntegrationKey>x</ns1:IntegrationKey>
<ns1:SiteUseType>BILL_TO</ns1:SiteUseType>
<ns1:PrimaryPerType>N</ns1:PrimaryPerType>
<ns1:Status>A</ns1:Status>
<ns1:ObjectVersionNumber>1</ns1:ObjectVersionNumber>
<ns1:CreatedByModule>HZ_WS</ns1:CreatedByModule>
</ns1:PartySiteUse>
</ns2:PartySite>
</ns2:Value>
</ns3:result>
</ns0:mergeOrganizationResponse>
</env:Body>
</env:Envelope>