Create a Party Site

In this use case, we'll create a party site.

Operation: mergeOrganization

Request Body

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
	<ns1:mergeOrganization xmlns:ns1="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule/types/">
	<ns1:organizationParty xmlns:ns2="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/">
		<ns2:PartyId>1003</ns2:PartyId>
		<ns2:PartySite xmlns:ns3="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/">
			<ns3:LocationId>970</ns3:LocationId>
			<ns3:CreatedByModule>HZ_WS</ns3:CreatedByModule>
			<ns3:PartySiteUse>
			<ns3:SiteUseType>BILL_TO</ns3:SiteUseType>
			<ns3:CreatedByModule>HZ_WS</ns3:CreatedByModule>
			</ns3:PartySiteUse>
		</ns2:PartySite>
	</ns1:organizationParty>
	</ns1:mergeOrganization>
</soap:Body>
</soap:Envelope>

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:dd0b4255-aee8-4b3a-88f3-f79d0ba1c87e</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>OrgTest01282013mnb</ns2:PartyName>
               <ns2:LastUpdatedBy>FUSION</ns2:LastUpdatedBy>
               <ns2:ValidatedFlag xsi:nil="true"/>
               <ns2:LastUpdateLogin>C980E4EBAC122F15E053D711F10A7C94</ns2:LastUpdateLogin>
               <ns2:CreationDate>1997-02-23T12:47:25.0Z</ns2:CreationDate>
               <ns2:RequestId>4350529</ns2:RequestId>
               <ns2:LastUpdateDate>2021-08-19T07:31:34.29Z</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 currencyCode="USD">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>11</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>USD</ns2:PreferredFunctionalCurrency>
               <ns2:InternalFlag>false</ns2:InternalFlag>
               <ns2:Comments xsi:nil="true"/>
               <ns2:CeoName xsi:nil="true"/>
               <ns2:PrincipalName xsi:nil="true"/>
               <ns2:OrganizationSize>LARGE</ns2:OrganizationSize>
               <ns2:PartyUniqueName>OrgTest01282013mnb</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>300100573317048</ns1:PartySiteId>
                  <ns1:PartyId>1003</ns1:PartyId>
                  <ns1:LocationId>970</ns1:LocationId>
                  <ns1:LastUpdateDate>2021-09-15T04:51:45.547Z</ns1:LastUpdateDate>
                  <ns1:PartySiteNumber>CDRM_815835</ns1:PartySiteNumber>
                  <ns1:LastUpdatedBy>SALES_ADMIN</ns1:LastUpdatedBy>
                  <ns1:CreationDate>2021-09-15T04:51:23.012Z</ns1:CreationDate>
                  <ns1:CreatedBy>SALES_ADMIN</ns1:CreatedBy>
                  <ns1:LastUpdateLogin>C9855F3A3E972F3AE053D711F10A146B</ns1:LastUpdateLogin>
                  <ns1:RequestId xsi:nil="true"/>
                  <ns1:OrigSystem xsi:nil="true"/>
                  <ns1:OrigSystemReference>300100573317048</ns1:OrigSystemReference>
                  <ns1:StartDateActive>2021-09-15</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&lt;BR>Distribution Center&lt;BR>CHATTANOOGA, TN 37401</ns1:FormattedMultilineAddress>
                  <ns1:Country1>US</ns1:Country1>
                  <ns1:ObjectVersionNumber1>11</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>300100573317049</ns1:PartySiteUseId>
                     <ns1:BeginDate>2021-09-15</ns1:BeginDate>
                     <ns1:Comments xsi:nil="true"/>
                     <ns1:EndDate>4712-12-31</ns1:EndDate>
                     <ns1:PartySiteId>300100573317048</ns1:PartySiteId>
                     <ns1:LastUpdateDate>2021-09-15T04:51:45.425Z</ns1:LastUpdateDate>
                     <ns1:RequestId xsi:nil="true"/>
                     <ns1:LastUpdatedBy>SALES_ADMIN</ns1:LastUpdatedBy>
                     <ns1:CreationDate>2021-09-15T04:51:37.758Z</ns1:CreationDate>
                     <ns1:CreatedBy>SALES_ADMIN</ns1:CreatedBy>
                     <ns1:LastUpdateLogin>C9855F3A3E972F3AE053D711F10A146B</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>
                  <ns1:R10_Addr_Text_c xsi:nil="true"/>
                  <ns1:R10_Addr_Curr_c currencyCode="USD">599</ns1:R10_Addr_Curr_c>
                  <ns1:R10_Addr_DateTime_c xsi:nil="true"/>
                  <ns1:AddressFCL_c xsi:nil="true"/>
               </ns2:PartySite>
            </ns2:Value>
         </ns3:result>
      </ns0:mergeOrganizationResponse>
   </env:Body>
</env:Envelope>