Delete request - HxGN EAM - Version 12.0.1 - Customization & Programming - Hexagon

HxGN EAM Web Services Toolkit Help

Language
English
Product
HxGN EAM
Search by Category
Customization & Programming
HxGN EAM Version
12.0.1

A delete request will delete an existing business object.

Request example

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soapenv:Header>

<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext">

<UsernameToken Id="MyID">

<Username>Jones</Username>

<Password>password</Password>

</UsernameToken>

</wsse:Security>

<dstm:SessionScenario xmlns:dstm="http://schemas.datastream.net/MP_functions"> terminate

</dstm:SessionScenario>

<dstm:Organization xmlns:dstm="http://schemas.datastream.net/MP_functions">

ORG1

</dstm:Organization>

</soapenv:Header>

<soapenv:Body>

<MP0320_DeleteLocation_001
xmlns="http://schemas.datastream.net/MP_functions/MP0320_001"
xmlns:dsf="http://schemas.datastream.net/MP_fields"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" verb="Delete" noun="Location" version="001">

<dsf:LOCATIONID>

<dsf:LOCATIONCODE>LOCATION15</dsf:LOCATIONCODE>

<dsf:ORGANIZATIONID entity="User">

<dsf:ORGANIZATIONCODE>ORG1</dsf:ORGANIZATIONCODE>

<dsf:DESCRIPTION></dsf:DESCRIPTION>

</dsf:ORGANIZATIONID>

<dsf:DESCRIPTION></dsf:DESCRIPTION>

</dsf:LOCATIONID>

</MP0320_DeleteLocation_001>

</soapenv:Body>

</soapenv:Envelope

Response example

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope

xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<ns1:MP0320_DeleteLocation_001_Result x
mlns:ns1="http://schemas.datastream.net/MP_results/MP0320_001">

<ns1:ResultData multiorg="true">

<ns2:LOCATIONID xmlns:ns2="http://schemas.datastream.net/MP_fields">

<ns2:LOCATIONCODE> LOCATION15</ns2:LOCATIONCODE>

<ns2:ORGANIZATIONID>

<ns2:ORGANIZATIONCODE>ORG1</ns2:ORGANIZATIONCODE>

</ns2:ORGANIZATIONID>

</ns2:LOCATIONID>

</ns1:ResultData>

</ns1:MP0320_DeleteLocation_001_Result>

</soapenv:Body>

</soapenv:Envelope