Delete a Location

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

Operation: deleteLocation

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:deleteLocation>
       <typ:location>
          <!--Optional:-->
          <loc:LocationId>300100598365517</loc:LocationId>
       </typ:location>
    </typ:deleteLocation>
 </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/deleteLocationResponse</wsa:Action>
      <wsa:MessageID>urn:uuid:6b63481b-5993-4efd-8a91-ca169ffcb702</wsa:MessageID>
   </env:Header>
   <env:Body>
      <ns0:deleteLocationResponse xmlns:ns0="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/">
         <ns2:result xsi:type="ns0:MethodResult" 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/"/>
      </ns0:deleteLocationResponse>
   </env:Body>
</env:Envelope>