Create Multiple Locations

In this use case, we'll create multiple locations.

Operation: processLocation

Request Body

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/" xmlns:loc="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/" xmlns:par="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/" xmlns:sour="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/sourceSystemRef/" xmlns:loc1="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/location/" xmlns:typ1="http://xmlns.oracle.com/adf/svc/types/">
	<soapenv:Header/>
	<soapenv:Body>
		<typ:processLocation>
			<typ:changeOperation>Create</typ:changeOperation>
			<typ:location>
				<loc:Country>US</loc:Country>
				<loc:Address1>Ashburn</loc:Address1>
				<loc:City>Ashburn</loc:City>
				<loc:PostalCode>24370</loc:PostalCode>
				<loc:State>Virginia</loc:State>
				<loc:County>Ashburn</loc:County>
				<loc:CreatedByModule>HZ_WS</loc:CreatedByModule>
			</typ:location>
			<typ:location>
				<loc:Country>CA</loc:Country>
				<loc:Address1>MonteCarlo</loc:Address1>
				<loc:City>MonteCarlo</loc:City>
				<loc:PostalCode>50081</loc:PostalCode>
				<loc:State>Monteque</loc:State>
				<loc:County>CA</loc:County>
				<loc:CreatedByModule>HZ_WS</loc:CreatedByModule>
			</typ:location>
		</typ:processLocation>
	</soapenv:Body>
</soapenv:Envelope>

Response Body

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
   <env:Header>
      <wsa:Action>http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/processLocationResponse</wsa:Action>
      <wsa:MessageID>urn:uuid:b15c07e2-378d-4c47-82f0-497cb6900dae</wsa:MessageID>
   </env:Header>
   <env:Body>
      <ns0:processLocationResponse xmlns:ns0="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/">
         <ns2:result xsi:type="ns1:LocationResult" xmlns:ns3="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/" xmlns:ns4="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/location/" xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" xmlns:ns0="http://xmlns.oracle.com/adf/svc/types/" xmlns:ns1="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/">
            <ns1:Value>
               <ns1:LocationId>300100546884294</ns1:LocationId>
               <ns1:LastUpdateDate>2021-09-16T10:56:46.078Z</ns1:LastUpdateDate>
               <ns1:LastUpdatedBy>SALES_ADMIN</ns1:LastUpdatedBy>
               <ns1:CreationDate>2021-09-16T10:56:46.001Z</ns1:CreationDate>
               <ns1:CreatedBy>SALES_ADMIN</ns1:CreatedBy>
               <ns1:LastUpdateLogin>CC1851A940152C0BE053D711F10A722D</ns1:LastUpdateLogin>
               <ns1:RequestId xsi:nil="true"/>
               <ns1:OrigSystem xsi:nil="true"/>
               <ns1:OrigSystemReference>300100546884294</ns1:OrigSystemReference>
               <ns1:Country>US</ns1:Country>
               <ns1:Address1>Ashburn</ns1:Address1>
               <ns1:Address2 xsi:nil="true"/>
               <ns1:Address3 xsi:nil="true"/>
               <ns1:Address4 xsi:nil="true"/>
               <ns1:City>Ashburn</ns1:City>
               <ns1:PostalCode>24370</ns1:PostalCode>
               <ns1:State>Virginia</ns1:State>
               <ns1:Province xsi:nil="true"/>
               <ns1:County>Ashburn</ns1:County>
               <ns1:AddressStyle xsi:nil="true"/>
               <ns1:ValidatedFlag>false</ns1:ValidatedFlag>
               <ns1:AddressLinesPhonetic xsi:nil="true"/>
               <ns1:PostalPlus4Code xsi:nil="true"/>
               <ns1:Position xsi:nil="true"/>
               <ns1:LocationDirections xsi:nil="true"/>
               <ns1:AddressEffectiveDate xsi:nil="true"/>
               <ns1:AddressExpirationDate xsi:nil="true"/>
               <ns1:ClliCode xsi:nil="true"/>
               <ns1:Language xsi:nil="true"/>
               <ns1:ShortDescription xsi:nil="true"/>
               <ns1:Description xsi:nil="true"/>
               <ns1:SalesTaxGeocode xsi:nil="true"/>
               <ns1:SalesTaxInsideCityLimits>1</ns1:SalesTaxInsideCityLimits>
               <ns1:FaLocationId xsi:nil="true"/>
               <ns1:ObjectVersionNumber>1</ns1:ObjectVersionNumber>
               <ns1:CreatedByModule>HZ_WS</ns1:CreatedByModule>
               <ns1:GeometryStatusCode>DIRTY</ns1:GeometryStatusCode>
               <ns1:ValidationStatusCode xsi:nil="true"/>
               <ns1:DateValidated xsi:nil="true"/>
               <ns1:DoNotValidateFlag xsi:nil="true"/>
               <ns1:Comments xsi:nil="true"/>
               <ns1:HouseType xsi:nil="true"/>
               <ns1:EffectiveDate>2021-09-16</ns1:EffectiveDate>
               <ns1:AddrElementAttribute1 xsi:nil="true"/>
               <ns1:AddrElementAttribute2 xsi:nil="true"/>
               <ns1:AddrElementAttribute3 xsi:nil="true"/>
               <ns1:AddrElementAttribute4 xsi:nil="true"/>
               <ns1:AddrElementAttribute5 xsi:nil="true"/>
               <ns1:Building xsi:nil="true"/>
               <ns1:FloorNumber xsi:nil="true"/>
               <ns1:StatusFlag>true</ns1:StatusFlag>
               <ns1:InternalFlag>false</ns1:InternalFlag>
               <ns1:TimezoneCode xsi:nil="true"/>
               <ns1:Latitude xsi:nil="true"/>
               <ns1:Longitude xsi:nil="true"/>
               <ns1:Distance xsi:nil="true"/>
            </ns1:Value>
            <ns1:Value>
               <ns1:LocationId>300100546884295</ns1:LocationId>
               <ns1:LastUpdateDate>2021-09-16T10:56:46.09Z</ns1:LastUpdateDate>
               <ns1:LastUpdatedBy>SALES_ADMIN</ns1:LastUpdatedBy>
               <ns1:CreationDate>2021-09-16T10:56:46.026Z</ns1:CreationDate>
               <ns1:CreatedBy>SALES_ADMIN</ns1:CreatedBy>
               <ns1:LastUpdateLogin>CC1851A940152C0BE053D711F10A722D</ns1:LastUpdateLogin>
               <ns1:RequestId xsi:nil="true"/>
               <ns1:OrigSystem xsi:nil="true"/>
               <ns1:OrigSystemReference>300100546884295</ns1:OrigSystemReference>
               <ns1:Country>CA</ns1:Country>
               <ns1:Address1>MonteCarlo</ns1:Address1>
               <ns1:Address2 xsi:nil="true"/>
               <ns1:Address3 xsi:nil="true"/>
               <ns1:Address4 xsi:nil="true"/>
               <ns1:City>MonteCarlo</ns1:City>
               <ns1:PostalCode>50081</ns1:PostalCode>
               <ns1:State>Monteque</ns1:State>
               <ns1:Province xsi:nil="true"/>
               <ns1:County>CA</ns1:County>
               <ns1:AddressStyle xsi:nil="true"/>
               <ns1:ValidatedFlag>false</ns1:ValidatedFlag>
               <ns1:AddressLinesPhonetic xsi:nil="true"/>
               <ns1:PostalPlus4Code xsi:nil="true"/>
               <ns1:Position xsi:nil="true"/>
               <ns1:LocationDirections xsi:nil="true"/>
               <ns1:AddressEffectiveDate xsi:nil="true"/>
               <ns1:AddressExpirationDate xsi:nil="true"/>
               <ns1:ClliCode xsi:nil="true"/>
               <ns1:Language xsi:nil="true"/>
               <ns1:ShortDescription xsi:nil="true"/>
               <ns1:Description xsi:nil="true"/>
               <ns1:SalesTaxGeocode xsi:nil="true"/>
               <ns1:SalesTaxInsideCityLimits>1</ns1:SalesTaxInsideCityLimits>
               <ns1:FaLocationId xsi:nil="true"/>
               <ns1:ObjectVersionNumber>1</ns1:ObjectVersionNumber>
               <ns1:CreatedByModule>HZ_WS</ns1:CreatedByModule>
               <ns1:GeometryStatusCode>DIRTY</ns1:GeometryStatusCode>
               <ns1:ValidationStatusCode xsi:nil="true"/>
               <ns1:DateValidated xsi:nil="true"/>
               <ns1:DoNotValidateFlag xsi:nil="true"/>
               <ns1:Comments xsi:nil="true"/>
               <ns1:HouseType xsi:nil="true"/>
               <ns1:EffectiveDate>2021-09-16</ns1:EffectiveDate>
               <ns1:AddrElementAttribute1 xsi:nil="true"/>
               <ns1:AddrElementAttribute2 xsi:nil="true"/>
               <ns1:AddrElementAttribute3 xsi:nil="true"/>
               <ns1:AddrElementAttribute4 xsi:nil="true"/>
               <ns1:AddrElementAttribute5 xsi:nil="true"/>
               <ns1:Building xsi:nil="true"/>
               <ns1:FloorNumber xsi:nil="true"/>
               <ns1:StatusFlag>true</ns1:StatusFlag>
               <ns1:InternalFlag>false</ns1:InternalFlag>
               <ns1:TimezoneCode xsi:nil="true"/>
               <ns1:Latitude xsi:nil="true"/>
               <ns1:Longitude xsi:nil="true"/>
               <ns1:Distance xsi:nil="true"/>
            </ns1:Value>
         </ns2:result>
      </ns0:processLocationResponse>
   </env:Body>
</env:Envelope>