Update a Location

In this use case, we'll update a location.

Operation: createLocation

Note: The CreatedByModule attribute is mandatory only for Create operation. It is not used in the request of Update operation.

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/">
	<soapenv:Header/>
	<soapenv:Body>
		<typ:updateLocation>
			<typ:location>
				<loc:LocationId>300100554877557</loc:LocationId>
				<loc:Country>US</loc:Country>
				<loc:Address1>1 Sample St</loc:Address1>
				<loc:City>Columbia</loc:City>
				<loc:PostalCode>29210</loc:PostalCode>
				<loc:State>South Carolina</loc:State>
			</typ:location>
		</typ:updateLocation>
	</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/updateLocationResponse</wsa:Action>
      <wsa:MessageID>urn:uuid:b27aab61-6260-4319-9f2c-3081764c8ac9</wsa:MessageID>
   </env:Header>
   <env:Body>
      <ns0:updateLocationResponse 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>300100554877557</ns1:LocationId>
               <ns1:LastUpdateDate>2022-03-16T04:59:28Z</ns1:LastUpdateDate>
               <ns1:LastUpdatedBy>FUSION</ns1:LastUpdatedBy>
               <ns1:CreationDate>2022-03-16T04:57:36.002Z</ns1:CreationDate>
               <ns1:CreatedBy>FUSION</ns1:CreatedBy>
               <ns1:LastUpdateLogin>D8A75426E57E783EE0531C5CF00A7DC3</ns1:LastUpdateLogin>
               <ns1:RequestId xsi:nil="true"/>
               <ns1:OrigSystem xsi:nil="true"/>
               <ns1:OrigSystemReference>300100554877557</ns1:OrigSystemReference>
               <ns1:Country>US</ns1:Country>
               <ns1:Address1>1 Sample St</ns1:Address1>
               <ns1:Address2 xsi:nil="true"/>
               <ns1:Address3 xsi:nil="true"/>
               <ns1:Address4 xsi:nil="true"/>
               <ns1:City>Columbia</ns1:City>
               <ns1:PostalCode>29210</ns1:PostalCode>
               <ns1:State>South Carolina</ns1:State>
               <ns1:Province xsi:nil="true"/>
               <ns1:County xsi:nil="true"/>
               <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>2</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>2022-03-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:updateLocationResponse>
   </env:Body>
</env:Envelope>